Tuesday, July 28, 2015

Repairing a Windows 7 installation that won't boot:

1. Insert Windows 7 installation disk, boot from the disk, and choose "Repair Windows" at the bottom left of the second screen

2. Try to run the following command:

sfc /scannow /offbootdir=[DRIVELETTER]:\ /offwindir=[DRIVELETTER]:\windows


------------------------
If you get a message saying "There is a system repair pending which requires reboot to complete", try this command:

cd c:\windows\winsxs
find "pending" /i 

Then:

rename [FILENAME].xml [FILENAME].xml.bak

If you get an error message at any point, run this command (while still in the winsxs folder) and then retry the above rename operation:

icacls * /T /Q /C /RESET

Now repeat step 2 to check for errors.

No comments: