[SOLVED] Windows 7 fails after patch installation, hangs, cannot boot in safe mode

Windows 7 won’t boot up, Safe Mode hangs (typically at CLASSPNP.SYS), the System Recovery can’t fix (Bad Patch and AutoFailover errors) and there are no recovery points to revert back to. Sound familiar? There’s a working solution!Don’t reformat right away and reinstall — try this first:

From either the Windows 7 DVD or using the Recovery Environment (choose the link to see other options to repair the problem, and a selection of buttons appears), choose the command prompt.

Typically, your C: drive is your main Windows System partition. Just to be sure, check on the drive letter. In the command prompt, type “diskpart” and then, once you have a prompt (may take some time), type “list vol” to list the volumes on your machine. If you only see your optical drive, reboot, and retry. You should see partitions listed. Once you’ve found your Windows 7 partition letter, note it down, and type “exit“.

Now, switch to the System32 directory on the Windows partition (replace C with your drive letter should yours be different) by typing “cd /d c:\windows\system32

And now the revertion and rollback of pending actions and patches causing the problem: “dism /image:c:\ /cleanup-image /revertpendingactionsto use the Deployment Image Servicing and Management Tool.

It may take a while. On restart, you should be up and running. Other possible problems include a loose harddrive cable and badly seated or faulty RAM. If you’ve ruled all that out, the above should sort you out!

Worked for me! But you knew that already…

2 comments on «[SOLVED] Windows 7 fails after patch installation, hangs, cannot boot in safe mode»

  1. Jayvo17 says:

    Sven,
    I had the same problem as you described in this post. Yesterday, my computer failed to shut down properly following some system updates. After that, I wasn’t able to boot properly or restore a saved image. I followed the process in you post and it fixed the issue for me. Thank you for posting this information! It was a great help!

  2. John Foust says:

    Wow, thank you! This cured a problem I saw on Win 7 Pro laptop, too. I’d tried zapping the WinSXS\reboot.xml and pending.xml files, but that didn’t work. DISM did.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>