Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Windows 7 update error C0000034 prevents bootup

Posted on 2011-03-18
Medium Priority
Last Modified: 2012-05-11
I trying booting in last known good configuration,safe mode with networking and directory restore mode and nothing works. This was after a windows update.
Question by:Jschnapp
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
  • 2
  • +4
LVL 79

Expert Comment

ID: 35166338
What about the startup repair and have the system restored to an earlier point in time.

Author Comment

ID: 35166357
I tried last known good! I beleive startup repair you need the media correct?
LVL 48

Expert Comment

by:Jackie Man
ID: 35166383
You need to use a Windows 7 Recovery Disk or use your Windows 7 Setup DVD to start your PC and launch system restore to go back to a restore point before the WIndows Update.


When a problem appears in Vista and Windows 7 and there are no clues from google, it seems to me the last resort is to use system restore as Vista is much better in system restore than the system restore in XP. System Restore in Vista is just like a time machine to go back to the exact state when the problem does not exist. But the drawback is that it consumes a lot of hard disk apace and it will restore the applications that you have removed and old version of document on desktop,

So, before your use System Restore, make sure all user data has been properly backup as it is just too powerful if Vista thinks that the path you stored your data is part of the system folders.

In a nutshell, System Restore can reduce the time of troubleshooting (except the problem is caused by hardware failure) but it must be used with due care.
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.


Author Comment

ID: 35166395
I will attempt. I ahve sony viao don't they have built in to  a partion?
LVL 12
ID: 35166408
From a mail I recieved today in the Patch Mailing List:

New information on error code 0xc0000034 - The Windows Servicing Guy - Site Home - TechNet Blogs:

We have updated the KB that deals with this error to include a new script to get users out of the 0xc0000034 condition and allows SP1 to install properly. This fix will only work for users who are currently in a
0xc0000034 state after applying Service Pack 1 for Windows 7 and Windows
2008 R2.

The KB is located here:
LVL 30

Expert Comment

ID: 35166412
Follow this kb article issue will be resolved

LVL 48

Expert Comment

by:Jackie Man
ID: 35166423
If you use the system recovery partition, all your data and applications will be removed.

If you still want to use the recovery partition to restore to factory staus, press F10 on powering up your laptop.

Author Comment

ID: 35166438
just hit f10 and recovery tools started.

Author Comment

ID: 35169388
Run the script (.vbs) file
Note The following steps assume that you copied the script (.vbs) file to a USB thumb drive. If you used a different type of removable media device the steps may be slightly different.

To do this, follow these steps:

Restart your computer and start pressing the F8 key on your keyboard. You have to press F8 before the Windows logo appears. If the Windows logo appears, you have to try again by waiting until the Windows logon prompt appears and then shutting down and restarting your computer.
Note: On a computer that is configured to boot to multiple operating systems, you can press the F8 key when the Boot Menu appears.

Use the arrow keys to select Repair your Computer in the Advanced Boot Options area, and then press Enter. If you are prompted, select the Windows 7 installation to be repaired, and then click Next.

Select the language and a keyboard input method, and then click Next.
Select a user name, type your password, and then click OK.
Under System Recovery Options, make a note of the Windows 7 drive letter listed on the line below Choose a recovery tool.

For example, you may see something similar to the following.

Operating system: Windows 7 on (C:) <VolumeName>

Note In this example, the drive letter for Windows 7 would be C.

Under System Recovery Options, click Command Prompt.
Insert the removable media with the script (.vbs) file that you previously created into the PC.
At the command prompt, navigate to the drive, and the directory, that contains the script (.vbs) file that you previously created.

For example, if you previously saved the script.vbs file that you created to the root of a USB thumb drive, and the drive letter associated with the USB thumb drive is the “E” drive, you would simply type the following at the command prompt, and then press Enter.


Note If you are not sure which drive contains the removable media you can use Diskpart to display a list of drives. To run Diskpart, follow these steps.

Type Diskpart, and then press Enter.
Type List volume, and then press Enter.
Make a note of the drive that contains the removable media with the script (.vbs) file that you previously created. Assuming you used a USB thumb drive, the drive type will be listed as “Removable”.
To exit Diskpart type Exit, and then press Enter.

At the command prompt, type the following command and press Enter:

Cscript Script.vbs <Windows _7_drive_letter>:\Windows\winsxs\pending.xml.

Where, <Windows _7_drive_letter> is the drive letter that the Windows 7 operating system is installed on.

This will run the script in the Script.vbs file. After the script completes, you may see a message similar to following.

2 POQ nodes removed. Script Completed

To exit the command prompt type Exit, and then press Enter.
Restart your computer. Service Pack 1 installation should now complete successfully.

If C: is where my os how would i type in the cmd prompt

Author Comment

ID: 35169398
I did everything and now when I type it out here is how I am doing in cmd

Cscript Script.vbs <Windows _7_drive_letter>:\Windows\winsxs\pending.xml.

Cscript Script.vbs <C:>:\Windows\winsxs\pending.xml.

or is it

Cscript Script.vbs <Windows _7_drive_C>:\Windows\winsxs\pending.xml.


LVL 30

Expert Comment

ID: 35170314
It should be


LVL 13

Expert Comment

ID: 35170397
this is the solution worked for others

thanks for everyones suggestions. This is the fix that worked for us following consultations with Microsoft -
Boot PC and Tap F8
Highlight Repair your computer, press enter
Select UK, then click on ok.  click on ok again for the user
Check the top line, it should say which drive the Windows installation is installed onto. In this example it displays it as D:  (amend the instructions below as necessary)
Click on Command Prompt
Type in D: press Enter
Type in ren D:\windows\winsxs\pending.xml pending.old    press enter
Type in ren D:\windows\winsxs\poqexec.log  poqexec.old    press enter
Type in cd D:\Windows\system32\config\regback    press enter
Type DIR, press enter
Check which folders are in there and date.  Need to ensure that default, sam, security, system and software are there.  Components might be there as well, make a note if so.  Usually not though.
Type in cd ..  press enter
Type in ren system system.old press enter
Repeat for sam, security, software and default (do components if folder was present before)
Type cd regback press enter
Type in copy system D:\windows\system32\config
Repeat for sam, security, software and default
Type exit
Restart PC
Log on as normal
Got to run – msconfig
Disable all non-Microsoft services from startup and services
Install sp1 manually after downloading it -

Author Comment

ID: 35171430
still did not work? help
LVL 30

Expert Comment

ID: 35171457
Are u still not able to boot

LVL 30

Expert Comment

ID: 35171458


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

02. When your computer starts up again, choose the option "Launch Setup Repair"
 --> PIC:

03. When the Startup repair starts, click cancel.

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

05. Click the link "View advanced options for recovery and support" (see pic from step 4)

06. In the new window click Command Prompt at the bottom.
 --> PIC:

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:

10. Now in Notepad, go to C:\Windows\winsxs\

11. Make a copy of pending.xml as a backup

12. Now open the original pending.xml (it will take 1-3 mins to open because the file is huge)

13. Turn off Word Wrap if it's on. Click Format->Word Wrap at the top and make sure it's not checked

14. Press CNTRL+F and search for the following exactly:

15. Delete the following text (the number after PendingRenames will be different):
<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"/>

16. Save the file, close notepad and click the button to restart your compter

Once your computer starts up, the Service pack will install some more stuff and restart a few times and then everything should be working!



Accepted Solution

gcsdadev earned 2000 total points
ID: 35232056
It appears Microsoft has automated the solution.  This link contains a VBS script and instructions on how to run it. 

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question