I have a virtual Windows 7 machine running in VMWare Workstation. Every time I reboot, Windows updates are configured and installed, the boot process fails, and finally the system attempts and fails to automatically repair itself. None of the manual "advanced" repair options seems to get past the initial stages, either.
I've tried deleting C:\Windows\winsxs\pending.xml
and C:\Windows\winsxs\reboot.xml
, but the updates still get installed on reboot. This appears to mean that the files are already installed, so I've tried uninstalling the last several installed updates. Specifically, I uninstalled the top 4 non-.NET updates in the list shown below (in the picture). I suppose I could keep randomly uninstalling these one-at-a-time until my computer successfully reboots, but that's a very slow process.
I don't see any option to cancel or hide pending updates in the Windows Update settings window; when I right-click on an update (whether pending, successful, or failed) the only options are to view details or copy details.
I'm not sure what is causing Windows to fail to boot and attempt the auto-repair process, but it may have something to do with the Windows Embedded Standard 2009 toolkit and its associated updates (all the December roll-ups released thus far, plus the IE8 components). Or it may not; I'm not really sure how to tell, but that's just about the only thing I even have installed on the machine. I suppose it could also be a VMWare Workstation problem.
I tried running the auto-fixer here, but it said no problems were detected.
I also tried the suggestions from Itai and Moab here, to no avail; the gpedit
fix didn't change the reboot behavior, and as noted previously, I don't see any option to "hide" these updates (and in any case I believe the guilty files are already installed).
....any ideas? Can pending updates be rolled back? Is there a way to figure out which update is causing the boot process to fail, assuming it's even an update?
This is preventing me from cloning the VM, which would be EXTREMELY helpful for my team at the moment.
I've found that I can "imitate" cloning by simply copying all the files for the machine. This is probably not as robust, and it's not as convenient, but the immediate needs of my team are met.
Answer
Before anything, you should try sfc /scannow
when you're in WinPE. This will likely not work if windows updates are causing the issue, so continue below to see alternative steps for windows repair.
Find your Windows 7 disc, and boot into it. Get to the WinPE console within the Windows Installation menus to search for the pending.xml file in your C:\Windows\WinSxS
folder. If it exists, try renaming this file. Don't delete it or else your computer may be unusable.
Then type in sfc /scannow
at the command line. If this still fails, you may need to use the following syntax instead: SFC /SCANNOW /OFFBOOTDIR=C:\ /OFFWINDIR=C:\Windows
This command may run for a long time, and will spit out a CBS.log file. You may need to stop the scan if it lasts more than 12 hours by using CTRL+C, but this should not harm your Windows installation.
If bootup fails, boot back into WinPE and rename the pending.xml file back to its original file name. If rebooting doesn't work after all of this, then an in-place windows upgrade is likely required. See below for more info:
No comments:
Post a Comment