So the Microsoft team released SP1 for Windows 7, alle should go well installing it but unfortunately this is not the case on all computers. In our domain Windows 7 SP1 is approved bij WSUS and will be installed according to that.
On 10 machines this resulted in a Windows that won’t boot hanging on ERROR: C0000034 or Installing x from x 0000000000000000.cdf-ms
Luckely we were not the only one. Philip Elber created a blog post to solve this issue.
01. Reboot your computer while it’s starting up.
02. When your computer starts up again, choose the option “Launch Startup Repair”
03. When the Startup repair starts, click cancel.
04. After you click cancel it will show a box. Click “Don’t Send”
05. Click the link “View advanced options for recovery and support”
06. In the new window click Command Prompt at the bottom.
07. In Command Prompt type this and press enter: %windir%\system32\notepad.exe
08. Notepad will open. In notepad go to File–>Open.
09. Change the type of files notepad views from .txt to All Files (see 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):
<MoveFile source=”\SystemRoot\WinSxS\Temp\PendingRenames\e56db1db48d4cb0199440000b01de419._0000000000000000.cdf-ms” destination=”\SystemRoot\WinSxS\FileMaps\_0000000000000000.cdf-ms”/>
Your PC might not have all 3 sections of code (<Checkpoint>, <DeleteFile>, <MoveFile>). Just make sure you delete section “Checkpoint” and whatever other sections have “000000000000000.cdf-ms”. They will be right next to eachother.
15. 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.