Fatal Error C0000034 Applying Update Operation
You may encounter the following error message when installing Service Pack 1 on Windows 7 or Windows Server 2008 R2.
Fatal error C0000034 applying update operation 282 of ……..
Unfortunately, we’ve had
two three four machines so far that have experienced the problem. Its been causing some real headaches for us today. And it appears like this glitch deletes the restore points and thus you are unable to restore to a earlier time.
Warning: Some advanced steps follow. The fix isn’t exactly simple, but it may get you out of a pinch. Your results may vary. Make sure you know what you are doing.
UPDATE: Warning: This fix will get you back into Windows, but the Service Pack will still not be installed properly. As a result, Windows will show that SP1 is installed, when in fact it is not. Or at least not properly.
UPDATE 2: Microsoft has confirmed that there is problem, but they are still investigating.
- Boot into Windows Recovery and choose command prompt then run the following commands:
Reg load HKLMBaseSystem C:WindowsSystem32configSYSTEM
Reg Delete "HKLMBaseSystemCurrentControlSetControlSession Manager" /v SetupExecute
Reg add "HKLMBaseSystemCurrentControlSetControlSession Manager" /v SetupExecute /t REG_MULTI_SZ
Reg unload HKLMBaseSystem
- Restart the Computer.
If the above recommended fix doesn’t work try this:
- Reboot your computer while it’s starting up.
- When your computer starts up again, choose the option “Launch Startup Repair”When the Startup repair starts, click cancel.
- After you click cancel it will show a box. 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%system32notepad.exe
- Notepad will open. In notepad go to File–>Open.
- Change the type of files notepad views from .txt to All Files
- Now in Notepad, go to C:Windowswinsxs (or whichever drive Windows is installed on)
- In that folder, find pending.xml and make a copy of it
- Now open the original pending.xml (it will load really slow because the file is huge)
- Press CNTRL+F and search for the following exactly: 0000000000000000.cdf-ms
- Delete the following text (yours may be a little different):
<MoveFile source="SystemRootWinSxSTempPendingRenamese56db1db48d4cb0199440000b01de419._0000000000000000.cdf-ms" destination="SystemRootWinSxSFileMa_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.
- 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.
If anyone has a better solution, please post it in the comments.
Thanks thiswoot for this solution.