I ran the 'disk cleanup' utility in Windows, and it found 80GB of temp files. This was fishy, since my disk is only 128GB and definitely did not have 80GB worth of temp files, but I let it run anyways because I figured the tool couldn't possibly be that stupid.
Lo-and-behold, my PC no longer boots into Windows. It now goes to Startup Repair (where my main drive is D:\
for some reason, instead of C:\
), and it tells me
Boot manager failed to find OS loader. Repair action: File repair Result: Failed. Error code = 0xa Time taken = 4056 ms Repair action: Boot configuration data store repair Result: Failed. Error code = 0x2 Time taken = 0ms
I ran chkdsk /R /X D:
, but it found 0 errors.
I tried sfc /scannow
, but it always gives me the error
There is a system repair pending which requires reboot to complete. Restart Windows and run sfc again`
even after following the steps here.
I also tried the follow commands, with no luck.
bootrec /fixmbr bootrec /fixboot bootrec /rebuildbcd bootsect /nt60 ALL /mbr bcdboot d:/Windows
bootrec
can't find my Windows drive, and bcdboot
gives me the meaningless error
BFSVC: Unable to load MUI file for BCD strings (2).
I also tried doing a system restore, but it tells me "no restore points have been created". Apparently the disk cleanup utility deleted those too (even though it said it would save the most recent one!)
I cannot afford to backup everything, reformat, and reinstall all of my software. Has anyone seen this before and been able to fix it?
[Edit] I finally got sfc
to run using these commands
del d:\windows\winsxs\pending.xml del x:\windows\winsxs\pending.xml sfc /scannow /offbootdir=D:\ offwindir=D:\Windows
However, it told me
Windows Resource Protection found corrupt files but was unable to fix some of them.
Opening D:\Windows\logs\cbs\cbs.log
, I only see two errors:
Doqe: Failed uninstalling driver updates [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
Shtd: Failed while processing non-critical driver operations queue. [ HRESULT = 0x8007049 - ERROR_NOT_FOUND]
I'm now completely out of ideas.
I just encountered the exact same problem, tried everything, didn't find a way to fix this either, had to restore from yesterday's backup, which does allow me to get the system back up and running.
I suspect this problem may be related to the fact that I'm using Dynamic Disk partitions on the disk Windows is installed. The problem has nothing to do with disk error, it's pretty clear Disk Cleanup deleted something important from Windows installation.
Ok I reinstalled Windows, there was no other way. No hard disk error was ever reported, so it's definitely not that.
User contributions licensed under CC BY-SA 3.0