Tuesday, August 22, 2017

Restore Windows 10 EFI boot entry


I used my computer to install W7 on a HDD (from a laptop, that didn't have a DVD drive) and it worked flawlessly. Except that when I removed that HDD (that I had just plugged there the time of the installation) and rebooted, I wasn't able to boot on my regular HDD. I went in the BIOS and saw that the Windows boot manager entry had disappeared.


I tried repairing it using bootrec but it didn't change anything. I also tried resetting the uefi firmware to factory settings, still nothing.


How can I get the entry back?


Edit: to be more clear, I am not using W7, I just used my computer to install W7 on another hard drive (it wasn't supposed to touch my main HDD) and somehow it managed to remove the UEFI entries of the W10 that was installed on another drive


Answer



Stupid me.


This fixed the problem:


bcdboot C:\Windows /s E: /f UEFI

I had already tried this some hours ago from a W10 live CD but it didn't work so I thought it wasn't worth trying again. But I tried again this time from a fresh W10 install USB and it worked.


How to delete an administrator account (Windows 8)?

I use Windows 8 with Windows 7-like GUI, classic shell


I have two administrative accounts: user and Administrator.


I am currently user


Control Panel\All Control Panel Items\User Accounts\Manage Accounts\Change an Account does not show "Delete" button:


enter image description here


I run cmd with administrative privileges and executed


net user Administrator /active:no


net user Administrator [/DELETE]


Both times I got "The command has completed successfully" message, but Administrator is still visible under Manage Accounts menu.


When I execute these commands again, I get the same message.

Can't delete directory under Windows 7

I want to delete a directory under Windows 7 from Explorer, but every time I do so I get an error window with the message "Could not find this item" and "This is no longer located in ...".


The file is not in use, I can change into the directory (it's empty), reboot doesn't help, clicking "Try again" doesn't help, deleting from CMD.EXE doesn't work. I cannot rename it as well.


What can I do to delete the directory?

windows 7 - How to delete $RECYCLE.BIN folder on external hard disk?



I have a $RECYCLE.BIN folder on my external hard disk that takes up space and contains files that should be deleted permanently. I know that I am allowed to delete this folder, but how do I do that?





  • I see the $RECYCLE.BIN folder and its files in Defraggler while it is defragmenting these useless (big) files.

  • However, the Windows recycle bin appears to be empty.

  • Doing a disk cleanup from the Properties-dialog of the disk shows the recycle bin as containing 0 bytes of data and doesn't remove those files.

  • I cannot see (and therefore not delete) this folder in Windows Explorer, not even when I can view hidden files.

  • I can't format the external hard disk as it contains lots of files I want to keep.

  • It is an NTFS-formatted external platter hard disk of a bit less than 1 TB.


Answer




In Windows Explorer's Folder Options dialog, along with ensuring Show hidden files, folders, and drives is selected, you need to ensure the Hide protected operating system files option is not selected.



1



This should show you all the Recycle Bin folders/files marked with +H and +S attributes.



You can get rid of the entire $Recycle.Bin folder if you're an admin user or via a Linux LiveCD, but Windows will recreate it once you delete some more files on the same drive.


Monday, August 21, 2017

hard drive - how can I restore deleted boot files of my HDD?

Few weeks back I tried turning on my old PC. After turning it on, I realized it was having blue screen problem, so I tried re-installing windows XP but installing in previous windows XP drive(C) failed as a result I installed windows in F drive.


After successful installation I booted my new windows from dual boot and started wiping data from C drive, at first I tried formatting C drive which failed then I started deleting individual files from C drive. During wiping I turned on visibility of system and hidden files and wiped everything from C drive (Including any files used for booting in C drive). Then after some minutes I restarted my windows.


From that moment on whenever I try to boot my windows it shows the following error:


"Boot failed: system halted"


After that I tried reinstalling windows XP via same USB boot stick but boot screen gets stuck at message:


press any key to boot from cd . . . (or something like that)


I also tried accessing my IDE HDD by inserting it as a slave in master slave formation in another PC; when I tried opening old HDD most of the drive won't open except one drive which opens but after several minutes of opening it and most of the times it either doesn't responds or responds too slowly.


How can I make this HDD to successfully boot up? Is there anyway I can restore those boot files?

command line - Windows 7 equivalent for ntrights.exe


What is an equivalent for ntrights.exe on Windows 7?


I need it to be able to be run from the command line.


Answer



You can still use ntrights from the Windows Server 2003 Resource Kit Tools. Although not supported naturally, many of the tools performs flawlessly (including ntrights.exe).


Proof: Microsoft TechNet (scroll down until you find the Tool table, including NTRights.exe as one of the tools that can be used).


Chart format corrupted or size is wrong when I copy from Excel 2013 to Word 2013

When I copy charts from Excel 2003 or Excel 2013 to Word 2013 the charts are corrupted:



  1. the fonts are too big so the titles and legend text is a mess.


  2. If I don't want the chart to update in Word when I change the Excel spreadsheet I have to copy as a picture. Then it comes across as much too large (off the page) and I have to scale every chart every time. It's time consuming and difficult to get all chart to be the same size.



How can I get around these problems?

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...