Windows 7 x64 – Service Pack 1 – Fatal Error C0000034

2011-03-10 – Windows 7 x64 fails to reboot after installing Service Pack 1 from Windows Updates.

You will get something similar to this:

Fatal Error C0000034 applying update operation (Update 282 of 103814)

Which details from the Windows Log are:

MessageId: STATUS_OBJECT_NAME_NOT_FOUND

MessageText:

Object Name not found.

#define STATUS_OBJECT_NAME_NOT_FOUND     ((NTSTATUS)0xC0000034 L)

 

Option 1 – Manually Edit the Pending.xml To Continue SP1 Installation/Revert

1 – Reboot your PC while it is trying to start up.

 2 – Select “Launch Start-Up Repair (Recommended)”

3 – Click Cancel

4 – At the prompt screen displaying “Startup Repair cannot repair this computer automatically”, click “Don’t Send” button

5 – Click “View advanced options for recovery and support”

6 – A new window opens. Select “Command Prompt” at the bottom of the list

7 – A Command Prompt window opens. Enter %windir%\system32\notepad.exe (notepad.exe should also work)

8 – Notepad opens. Select: File > Open

Note: Change your view from “Text Documents (*.txt)” to “All Files (*.*)”

9 – Navigate to: C:\Windows\winsxs\

Note: If you have Windows installed on a different drive letter, browse to that letter instead of (C:).

10 – Find the file called “Pending.xml”. Duplicate the file (Copy/Paste)

11 – Open the original Pending.xml with Notepad.

Note: This will take a while. The document is very large.

12 – We will now search for a specific string. Press CTRL +F, and search for:

0000000000000000.cdf-ms

13 – Delete the following:

<Checkpoint/>
<DeleteFile path=”\SystemRoot\WinSxS\FileMaps\_0000000000000000.cdf-ms”/>
<MoveFile source=”\SystemRoot\WinSxS\Temp\PendingRenames\e56db1db48d4cb0199440000b01de419._0000000000000000.cdf-ms” destination=”\SystemRoot\WinSxS\FileMaps\_0000000000000000.cdf-ms”/>

Note: You may or may not have all of these sections. Delete what does appear from the text above.

15 – Save the changes to Pending.xml. Exit Notepad

16 – Exit the Startup Repair and reboot the PC. Depending on how far the installation was along during the Service Pack, it will either complete the installation or revert back to pre-SP1.

Option 2 – Revert The System back to RTM instead of Installing SP1:

1 – Reboot your PC while it is trying to start up.

 2 – Select “Launch Start-Up Repair (Recommended)”

3 – Click Cancel

4 – At the prompt screen displaying “Startup Repair cannot repair this computer automatically”, click “Don’t Send” button

5 – Click “View advanced options for recovery and support”

6 – A new window opens. Select “Command Prompt” at the bottom of the list

7 – A Command Prompt window opens. Enter:
DISM /image:C:\ /cleanup-image /revertpendingactions

This wipes out any pending changes that the Service Pack was applying to the Windows 7 image on the disk.

 

Props to the Internet:

(A) http://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/608ecca8-b815-4ff6-8f3c-a828518434a7

(B) http://social.technet.microsoft.com/Forums/en/w7itproinstall/thread/1c9a7151-b48c-4a98-aae7-a4b82682ea8e#bcabda57-7338-499f-aee2-d708e76df315

(C) http://blogs.webguild.com/gary/archive/2011/02/23/fatal-error-c0000034-installing-windows-7-sp1.aspx