Plagued throughout the internet are the users of Windows 7 whom had attempted to install the service pack 1. However, the installation fails with error code c0000034 and the inability to use the computer. There are many different solutions that seem to exist, however, one has been more successful than the others by a user named thiswoot.
Basically,the goal is to boot the computer, bypass the operating system, edit a file called pending.xml, and restart the computer. This can be achieved using a startup CD/DVD like BartPE, Ultimate Boot CD (UBCD), or some other, but most of us don’t have on handy or don’t have the time to build the BartPE. However, if you happen to have such a disk, it may save a few steps.
The steps provided here are those proposed by thiswoot. This method works without Safe Mode, backups, System Restore, Deployment Image Servicing and Management (DISM), and without a Windows 7 DVD repair disc.
- Reboot the computer.
- When your computer starts up, choose option “Launch Startup Repair”
- When the Startup repair starts, click Cancel.
- Another box will appear, Click “Don’t Send”
- Click the link “View advanced options for recovery and support”
- In the new window click Command Prompt at the bottom.
- In Command Prompt type this and press enter: %windir%\system32\notepad.exe
- Notepad will open. In notepad go to File–>Open.
- Change the type of files notepad views from .txt to All Files.
- In Notepad, go to C:\Windows\winsxs\ (or where Windows is installed)
- Find pending.xml and make a copy of it. (If there is no pending.xml, search for a pending.xml with random alpha-numeric characters appened to the end, like for example pending.xml.02cb7d8fb91898697. Copy the file to pending.xml and continue.)
- Now open the original pending.xml (it will take time load as it is very large)
- Press CNTRL+F and search for the following exactly: 0000000000000000.cdf-ms
- Delete the following text (this text will likely vary):
<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 each other.
- Save the file, close notepad, close command prompt, restart your computer.
Do a normal startup. Wait patiently, as it may hang for 5-10 minutes at the “starting windows” screen. The Service Pack install will resume. The computer will reboot a few more times and then everything should be working. For some, it reverts everything and cancels the service pack installation. For others, the service pack installation completes. Either result is fine.