Kirbtech Blog

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.

Microsoft Support Tech Recommended Fix:

  1. Boot into Windows Recovery and choose command prompt then run the following commands:
  2. Reg load HKLMBaseSystem C:WindowsSystem32configSYSTEM
  3. Reg Delete "HKLMBaseSystemCurrentControlSetControlSession Manager" /v SetupExecute
  4. Reg add "HKLMBaseSystemCurrentControlSetControlSession Manager" /v SetupExecute /t REG_MULTI_SZ
  5. Reg unload HKLMBaseSystem
  6. Restart the Computer.


If the above recommended fix doesn’t work try this:

  1. Reboot your computer while it’s starting up.
  2. When your computer starts up again, choose the option “Launch Startup Repair”When the Startup repair starts, click cancel.
  3. After you click cancel it will show a box. Click “Don’t Send” Click the link “View advanced options for recovery and support”
  4. In the new window click Command Prompt at the bottom.
  5. In Command Prompt type this and press enter: %windir%system32notepad.exe
  6. Notepad will open. In notepad go to File–>Open.
  7. Change the type of files notepad views from .txt to All Files
  8. Now in Notepad, go to C:Windowswinsxs (or whichever drive Windows is installed on)
  9. In that folder, find pending.xml and make a copy of it
  10. Now open the original pending.xml (it will load really slow because the file is huge)
  11. Press CNTRL+F and search for the following exactly: 0000000000000000.cdf-ms
  12. Delete the following text (yours may be a little different):
    <DeleteFile path="SystemRootWinSxSFileMaps_0000000000000000.cdf-ms"/>
    <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.
  13. Save the file, close notepad, close command prompt, restart your computer.
  14. 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.

Tags: , , , , , ,