Just came across a Windows 7 desktop that had installed (or at least attempted to) Service Pack 1 via Windows Update. Upon it’s reboot phases Windows 7 just craps out with Fatal Error c000034 on the black loading screen.

Trying the usual Startup Repair, System Restore, Safe Mode and Last Known Good all failed but found the below steps which worked a treat. The quick and dirty would appear to be renaming the pending.xml to then reboot normally, however I used the below and it booted up happily with the Service Pack installed as expected.

Credit to thiswoot and original post is HERE

This method works without Safe Mode, without backups, without System Restore, without DISM, and without a Windows 7 DVD repair disc.


  1. Reboot your computer while it’s starting up.
  2. When your computer starts up again, choose the option “Launch Startup Repair” – PIC
  3. When the Startup repair starts, click cancel.
  4. After you click cancel it will show a box. Click “Don’t Send” – PIC
  5. Click the link “View advanced options for recovery and support”
  6. In the new window click Command Prompt at the bottom. – PIC
  7. In Command Prompt type this and press enter: %windir%\system32\notepad.exe
  8. Notepad will open. In notepad go to File–>Open.
  9. Change the type of files notepad views from .txt to All Files – PIC
  10. Now in Notepad, go to C:\Windows\winsxs\ (or whichever drive Windows is installed on)
  11. In that folder, find pending.xml and make a copy of it
  12. Now open the original pending.xml (it will load really slow because the file is huge)
  13. Press CNTRL+F and search for the following exactly: 0000000000000000.cdf-ms
  14. Delete the following text (yours will be a little different) – PIC
    <DeleteFile path=”\SystemRoot\WinSxS\FileMaps\_0000000000000000.cdf-ms”/>
    <MoveFile source=”\SystemRoot\WinSxS\Temp\PendingRenames\
  15. Your PC might not have all 3 sections of code . Just make sure you delete section “Checkpoint” and whatever other sections have “000000000000000.cdf-ms”. They will be right next to eachother.
  16. Save the file, close notepad, close command prompt, restart your computer.

Once your computer starts up, do a normal startup (it may stall for 5-10 minutes at the “starting windows” screen, but leave it going) and the Service Pack will install some more stuff and restart a few times and then everything should be working! For some people, it reverts everything and cancels the service pack installation. For other people, the service pack installation completes. Either result is fine.


  1. 11/03/2011 at 5:13 PM Serge

    Thanks a lot for your article!

    It was usefull for me and 5 computers blocked today.

    But I have no idea how to install this @”#+ç service pack. I realy hope the probleme isn’t from my installation of Windows it’s self. Because the service pack installation worked on many pc’s.

    So thanks a lot one more time!

    Serge Müller

  2. 28/03/2011 at 1:17 PM Jonathan Brauer

    It appears Microsoft has already automated our solution. This link contains a VBS script and instructions on how to run it. http://support.microsoft.com/kb/975484

  3. 14/05/2013 at 4:48 PM Alex Mcvitie

    Thank you for posting this, i will be putting this little script on my tech tool thumb for sure 🙂