Original post : 0xc0000034 - Fix for Windows Vista, 7, 8, 10.
!! 0xc0000034 !!
Windows failed to start. A recent hardware or software change might be the cause. To fix the problem: 1. Insert your Windows installation disc and restart your computer. 2. Choose your language settings, and then click "Next." 3. Click "Repair your computer." If you do not have this disc, contact your system administrator or computer manufacturer for assistance. File: \Boot\BCD Status: 0xc0000034 Info: The Windows Boot Configuration Data file does not contain a valid OS entry.
Recovery Your PC needs to be repaired The Boot Configuration Data file is missing some required information. File: \BCD Error code: 0xc0000034 You'll need to use the recovery tools on your installation media. If you don't have any installation media (like a disc or USB device), contact your system administrator or PC manufacturer. Press ESC for UEFI Firmware settings.
You can prevent the 0xc0000034 error by installing KB 2533552 update.
If you don't have your original Windows Vista installation disc, go to Fix 0xc0000034 with Easy Recovery Essentials
chkdsk c: /r
c:
bootrec /rebuildbcd
If you don't have your original Windows 8 installation media, go to Fix 0xc0000034 with Easy Recovery Essentials
You need to have the original Windows 8/8.1 install media. If you don't have it, go to Fix 0xc0000034 Easy Recovery Essentials
bootrec /FixMbr bootrec /FixBoot bootrec /ScanOs bootrec /RebuildBcd
exit
If you don't have your original Windows 10 installation media, go to Fix 0xc0000034 with Easy Recovery Essentials
You need to have the original Windows 10 install media. If you don't have it, go to Fix 0xc0000034 Easy Recovery Essentials
!! 0xc0000034 !! 142/53007 (_0000000000000000.cdf-ms)
This method is recommended for advanced users. Go to Fix 0xc0000034 with Easy Recovery Essentials for a quick and easy way to fix this error.
Script.vbs
Dim xmlDoc, node, nodeList, fileName, backupFileName, numberOfPOQNodes Set xmlDoc = CreateObject("Microsoft.XMLDOM") If Wscript.Arguments.Count = 0 Then WScript.echo("Error! No XML file specified.") Wscript.quit End If fileName = WScript.Arguments(0) backupFileName = Left(fileName, InStrRev(fileName, ".") - 1) & "_backup.xml" If Not xmlDoc.load(fileName) Then WScript.echo("Failure loading XML file " & fileName & ".") Wscript.quit End If xmlDoc.save(backupFileName) Set nodeList = xmlDoc.documentElement.selectNodes("POQ") numberOfPOQNodes = nodeList.Length For Each node in nodeList xmlDoc.documentElement.removeChild(node) Next xmlDoc.save(fileName) Set xmlDoc = Nothing WScript.echo(numberOfPOQNodes & " POQ nodes removed. Script completed.")
Script.vs
F:
Cscript Script.vbs C:\Windows\winsxs\pending.xml
C:
2 POQ nodes removed. Script Completed