Wednesday, 9 March 2011

Windows 7 Service Pack 1 Error c0000034 Workaround

UPDATE: Please see this post FIRST:

While the methodology below works to bring the machine back, its state after the fact is questionable.

Original Post

This post is a direct copy and paste from here:

Answer was provided by thiswoot.

YEP I GOT IT WORKING!! I DONT KNOW IF MY METHOD IS THE BEST BUT IT WORKS!

This method works without Safe Mode, without backups, without System Restore, without DISM, and without a Windows 7 DVD repair disc.

INSTRUCTIONS:

01. Reboot your computer while it's starting up.

02. When your computer starts up again, choose the option "Launch Startup Repair" 

--> PIC: http://notebooks.com/wp-content/uploads/2011/01/Recov-1.jpg

03. When the Startup repair starts, click cancel.

04. After you click cancel it will show a box. Click "Don't Send" 

--> PIC: http://i52.tinypic.com/xgjriw.png

05. Click the link "View advanced options for recovery and support"

06. In the new window click Command Prompt at the bottom.

--> PIC: http://i51.tinypic.com/50imu8.png

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)

--> PIC: http://i51.tinypic.com/35nd74z.png

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):

<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"/>

--> PIC: http://i54.tinypic.com/adzpzp.png

image

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.

We are starting to see dead bodies as well and will use this method to restore the machines to working order.

Note that the Pending.XML file may change its permission state when edited and cause the revert to fail. Check the file attributes both before and after making the necessary changes.

Again, the answer was provided by thiswoot. Thank you! :)

UPDATE: An important link to start with when troubleshooting on Windows 7:

Philip Elder
MPECS Inc.
Microsoft Small Business Specialists
Co-Author: SBS 2008 Blueprint Book

*Our original iMac was stolen (previous blog post). We now have a new MacBook Pro courtesy of Vlad Mazek, owner of OWN.

Windows Live Writer

6 comments:

  1. Sean,

    I suppose so.

    There are some questions about whether this is ultimately a good thing to do.

    Though, for those needing to get systems back online, even if only temporarily, this method does work.

    Philip

    ReplyDelete
  2. Have used this method with no apparent downside on a number of Windows 7 computers.

    I have actually removed SP1 from WSUS approval lists on all my clients networks for the time being.

    Any advice as to what is actually causing the problem and how to get SP1 to install cleanly?

    ReplyDelete
  3. Troy,

    The best method is to edit the registry setting out. This will hopefully allow SP1 to be installed later.

    The problem seems to be focused around WSUS delivered SPs and not the standalone delivery. So, if SP1 is necessary then install it manually via the download file.

    Philip

    ReplyDelete
  4. Hey,
    I just trief it, everything Works fine until I have to find 0000000000000000.cdf-ms
    It Simple just doesnt find it.
    Can anyone help me with that?

    ReplyDelete
  5. Muy bueno me funciono perfectamente

    ReplyDelete
  6. Hi there,
    Many thanks to this windows service pack fix.My laptop broke(power unit & taking a few weeks to repair) and I was just about to use my friends laptop when they encountered this problem. I can now get on with my university final assignment & fast approaching exam, Panic over until exam :)

    ReplyDelete

NOTE: All comments are moderated.