logo elektroda
logo elektroda
X
logo elektroda

Windows 10 UEFI GPT Failure Post Disk Copy - Bluescreen Error 0xc0000034

Michalo_007 8424 15
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16684523
    Michalo_007
    Level 14  
    Posts: 203
    Rate: 66
    Hello,
    I have a problem running Windows 10 UEFI GPT. Everything worked until the disk was removed, a copy of the disk was made in the "receipt hard disk manager" program, then a restored copy to disk, from that moment instead of starting windows appears Bluescreen 0xc0000034 (photo). I tried Win 10 automatic recovery from usb and CD (however both started in LEGACY BOOT mode because I couldn't boot in UEFI.) I tried to force booting from specific partitions in this recovery - also to no avail. Using Gparted, I changed the partition flags to active with different settings - no effect. I started the console at Win 10 startup with usb and tried Bootrec / fixmbr || Bootrec / fixboot || Bootrec / rebuildbcd found Windows at the last command but when trying to add it, the error "could not find the requested system device"
    I also tried this: LINK didn't help either.
    I have no more ideas what more I can try. Help me because the matter is quite urgent :(
    Picture below of the Gparted disk view.

    Windows 10 UEFI GPT Failure Post Disk Copy - Bluescreen Error 0xc0000034 Windows 10 UEFI GPT Failure Post Disk Copy - Bluescreen Error 0xc0000034

    Windows 10 UEFI GPT Failure Post Disk Copy - Bluescreen Error 0xc0000034
  • ADVERTISEMENT
  • #2 16684582
    mati211p
    HDD and data recovery specialist
    Posts: 16915
    Help: 2584
    Rate: 1129
    Copy uploaded to new disk or the same?
  • Helpful post
    #3 16684591
    lufex
    Level 14  
    Posts: 169
    Help: 2
    Rate: 18
    Maybe try another program. I use "Aomei disk partition"
  • ADVERTISEMENT
  • #4 16684897
    Michalo_007
    Level 14  
    Posts: 203
    Rate: 66
    mati211p wrote:
    Copy uploaded to new disk or the same?


    The problem is that the same disk: /
    Therefore, at this point I have to somehow force the disk to boot the current system or, as a last resort, start the Recovery partition, but this is the last resort.
  • #5 16685184
    Robert B
    Level 43  
    Posts: 22594
    Help: 2027
    Rate: 1412
    Michalo_007 wrote:
    the disk has been removed, a copy of the disk has been made in the "receipt hard disk manager" program, then a disk copy was restored

    For what purpose and for what reason did you perform such a bizarre procedure?
  • #6 16685242
    Michalo_007
    Level 14  
    Posts: 203
    Rate: 66
    For carelessness, I wanted to return to the state of the entire disk with some changes. With Windows 7 such operations were not a problem and were successful: / The whole system partition looks complete, I don't think Paragon lost anything, did not report any errors. If I left only the recovery and system partition and the boot partition and the additional one somehow prepared (500 mb MB and 128 mb MB).
    Will Windows be able to rebuild it? Or maybe some other idea? I have to solve it somehow and I don't know what else to try: /
  • Helpful post
    #7 16685466
    WojtasJD
    Level 43  
    Posts: 13764
    Help: 2908
    Rate: 1573
    0xC0000034 % UserProfile% \ Desktop \ BCD.txt

    and attach (after checking the content) BCD.txt from the desktop.
  • #8 16685502
    Michalo_007
    Level 14  
    Posts: 203
    Rate: 66
    This effect, probably not what we expected? The disk is still as HardDisk2 and the first partition is the 500 partition mb MB that I can't preview or mount.

    
    The boot configuration data store could not be opened.
    Nie moľna odnale«† okre˜lonego pliku.
    
  • Helpful post
    #9 16685532
    WojtasJD
    Level 43  
    Posts: 13764
    Help: 2908
    Rate: 1573
    Michalo_007 wrote:
    The disk is still as HardDisk2 and the first partition is the 500mb partition

    (echo sel disk 2 & echo sel part 1 & echo assign letter = S) | diskpart
    tree / a S:
  • ADVERTISEMENT
  • #10 16685547
    Michalo_007
    Level 14  
    Posts: 203
    Rate: 66
    The result of the operation in the .txt file

    While the BCD file turned out to be called BCD.old (probably the result of previous resuscitation attempts), the txt file with the generated content of this file is also attached
    BCD.txt (3.35 kB)You must be logged in to download this attachment. lista kata..gów.txt (2.65 kB)You must be logged in to download this attachment.
  • Helpful post
    #11 16685574
    WojtasJD
    Level 43  
    Posts: 13764
    Help: 2908
    Rate: 1573
    BCD entries are missing; try to regenerate:
    bcdboot \\? \ GLOBALROOT \ Device \ HardDisk2 \ Partition5 \ Windows / s S: / f UEFI
  • #12 16685967
    Michalo_007
    Level 14  
    Posts: 203
    Rate: 66
    A message pops up
    Failure when attempting to copy boot files.

    Correction, the problem was with the drive letter. Today, after connecting the disk, the partition actually got the letter S again, but it could not be accessed.
    I followed the previous instructions again and assigned a different letter to this partition, then restarted the BCD regeneration attempt and this time cmd reported nicely "Boot files successfully created."
    I'll check if it helped :)

    managed to!!!
    Buddy WojtasJD, you're great! Still just a question because the system loads nicely but I am not able to call Recovery or tap the f8 at startup or run advanced startup settings from the system level, then in the Advanced tab, where it should be restoring to the initial state, I have the option to change the uefi settings and run in a mode that allows you to turn on safe mode, etc.
  • ADVERTISEMENT
  • #13 16686499
    WojtasJD
    Level 43  
    Posts: 13764
    Help: 2908
    Rate: 1573
    Let's see the result from:
    REAgentC / info
    bcdedit / enum all>% UserProfile% \ Desktop \ BCD.txt && notepad% UserProfile% \ Desktop \ BCD.txt


    Added after 1 [minutes]:

    but this is from this target computer with Windows working on it
  • #14 16686569
    Michalo_007
    Level 14  
    Posts: 203
    Rate: 66
    Attachments
    1 (2).txt (569 bytes)You must be logged in to download this attachment. BCD.txt (3.92 kB)You must be logged in to download this attachment.

    Edited.
    Do not cite all previous posts in full. RADU23
  • #15 16687079
    WojtasJD
    Level 43  
    Posts: 13764
    Help: 2908
    Rate: 1573
    Modified / resized / moved partitions (or this disk copy program)?
    What exactly (model) DELL and what was the factory OS it came with? (currently is W10)

    for% a IN (bootmgr memdiag current 5ef1d021-93a8-11e7-9eb5-485ab6501530) DO @bcdedit / set {% a} locale pl-PL

    dism / Get-WimInfo /WimFile:\\?\GLOBALROOT\Device\HardDisk0\Partition4\Recovery\WindowsRE\Winre.wim / index: 1>% UserProfile% \ Desktop \ Recovery.txt
    dism / Get-WimInfo /WimFile:\\?\GLOBALROOT\Device\HardDisk0\Partition6\Recovery\WindowsRE\Winre.wim / index: 1 >>% UserProfile% \ Desktop \ Recovery.txt
    dism / Get-WimInfo /WimFile:\\?\GLOBALROOT\Device\HardDisk0\Partition7\DELL\Image\install.wim >>% UserProfile% \ Desktop \ Recovery.txt
    dism / Get-WimInfo /WimFile:\\?\GLOBALROOT\Device\HardDisk0\Partition7\DELL\Image\install.wim / index: 1 >>% UserProfile% \ Desktop \ Recovery.txt


    paste the contents of Recovery.txt from the above (I wrote a bit in the dark so errors may come out).
  • #16 16688015
    Michalo_007
    Level 14  
    Posts: 203
    Rate: 66
    I did not change or move the partition, unfortunately I do not know if the program to copy the disk did it, but I do not think it changed. This is Dell Inspiron Win10 factory and nothing has been changed.
    Unfortunately, I will not do these operations at the moment because the laptop is already at friends' abroad. If they come back and it comes to me I will return to the topic. In case I need to contact PW :) Thanks again for your help.

Topic summary

✨ The discussion revolves around a user experiencing a Bluescreen error (0xc0000034) after copying a disk containing Windows 10 UEFI GPT. The user attempted various recovery methods, including using USB and CD recovery tools, changing partition flags with Gparted, and executing Bootrec commands, but faced persistent issues booting the system. Suggestions included trying different disk management software like Aomei, regenerating the Boot Configuration Data (BCD), and ensuring correct drive letter assignments. Ultimately, the user managed to create boot files successfully but encountered difficulties accessing recovery options and advanced startup settings. The laptop in question is a Dell Inspiron running Windows 10.
Generated by the language model.

FAQ

TL;DR: After a disk clone, Windows 10 UEFI showed error 0xc0000034; one bcdboot command fixed it. “BCD entries are missing; try to regenerate.” [Elektroda, WojtasJD, post #16685574]

Why it matters: If your GPT/UEFI system won’t boot after imaging, this FAQ shows the exact steps to rebuild BCD and restore startup. It’s for Windows 10 users hitting 0xc0000034 or lost UEFI boot.

Quick Facts

How do I fix Windows 10 UEFI error 0xc0000034 after cloning?

Assign a letter to the EFI System Partition, then rebuild BCD with bcdboot and reboot. Quote: “BCD entries are missing; try to regenerate.” Use: bcdboot \?\GLOBALROOT\Device\HardDisk2\Partition5\Windows /s S: /f UEFI. This single run recreated boot files and restored startup. [Elektroda, WojtasJD, post #16685574]

Why did Startup Repair fail from my USB/DVD?

Your media likely booted in Legacy mode while Windows is UEFI on GPT. That mismatch blocks automatic repair of the EFI bootloader. Ensure the installer boots in UEFI mode before attempting repairs. [Elektroda, Michalo_007, post #16684523]

What exact command rebuilt the boot files?

bcdboot \?\GLOBALROOT\Device\HardDisk2\Partition5\Windows /s S: /f UEFI. It copies UEFI boot files and rebuilds BCD on the ESP. The user confirmed "Boot files successfully created" and normal startup after running it. [Elektroda, Michalo_007, post #16685967]

I get “Failure when attempting to copy boot files.” What causes it?

The EFI partition had an incorrect or inaccessible drive letter. Reassign a valid letter to the ESP, rerun bcdboot, and it completes. After changing the letter, the copy succeeded and Windows booted. [Elektroda, Michalo_007, post #16685967]

How do I assign a drive letter to the EFI System Partition (ESP)?

Use DiskPart: select the disk, select the ESP, and assign a letter. Example shared: select disk 2, select partition 1, assign letter=S. Then verify with a directory tree and proceed to bcdboot. [Elektroda, WojtasJD, post #16685532]

Quick 3-step repair for 0xc0000034 on UEFI/GPT?

  1. Assign a letter to the EFI partition.
  2. Run bcdboot … /s /f UEFI.
  3. Reboot and test Recovery options. This sequence rebuilt boot files and solved the blue screen in the case discussed. [Elektroda, Michalo_007, post #16685967]

What is BCD and why does 0xc0000034 appear?

BCD is the Boot Configuration Data store that UEFI uses to locate Windows. 0xc0000034 indicates missing or corrupted BCD entries. Rebuilding with bcdboot restores the required entries so UEFI can start Windows again. [Elektroda, WojtasJD, post #16685574]

Did partition sizes matter here (e.g., 500 MB ESP, 128 MB MSR)?

The system showed a 500 MB EFI partition and a 128 MB Microsoft Reserved partition. The boot fix did not require resizing; it required rebuilding BCD and ensuring the ESP had a valid letter. [Elektroda, Michalo_007, post #16685242]

How can I check if Windows Recovery Environment (WinRE) still works?

From the repaired system, run REAgentC /info and export BCDEdit listings to confirm entries and WinRE status. This approach was requested to validate recovery and locale settings post-fix. [Elektroda, WojtasJD, post #16686499]

Edge case: What if the disk number or partition index changed?

Cloning tools can alter numbering. Verify the correct Windows and EFI partitions before running bcdboot. In the case, Windows was on HardDisk2 Partition5, and the ESP was first. Misidentifying them can break boot again. [Elektroda, WojtasJD, post #16685574]

Can I use another cloning or partition tool next time?

Yes. A responder suggested trying AOMEI Partition Assistant for future operations. Regardless of tool, ensure UEFI/GPT integrity and test boot in UEFI mode after cloning. [Elektroda, mati211p, post #16684591]

Was the copy restored to a new disk or the same disk?

It was restored to the same disk. That context explains why repairing the existing EFI partition and BCD was the fastest route rather than reimaging. [Elektroda, Michalo_007, post #16684897]

What is UEFI vs. Legacy boot in simple terms?

UEFI is the modern firmware interface that uses GPT disks and an EFI System Partition. Legacy BIOS boots from MBR. Mixing a Legacy-booted installer with a UEFI Windows install prevents automated bootloader repair. [Elektroda, Michalo_007, post #16684523]

What if I still cannot access Recovery or F8 options after the fix?

Post-repair, Windows loaded but advanced recovery shortcuts were limited. Validate WinRE with REAgentC and confirm BCD locale and recovery entries per helper guidance. Then re-enable WinRE if disabled. [Elektroda, Michalo_007, post #16685967]

Should I wipe everything and start from factory image on a Dell Inspiron?

Not necessarily. The discussed Dell Inspiron shipped with Windows 10, and the boot issue was fixed without wiping. Use the UEFI bcdboot repair first, then assess factory image only if WinRE is unusable. [Elektroda, Michalo_007, post #16688015]

Was the original procedure (clone then restore) advisable?

A participant called it a “bizarre procedure,” highlighting risk. Prefer verified imaging workflows and test UEFI boot immediately after cloning to avoid BCD loss. [Elektroda, Robert B, post #16685184]
Generated by the language model.
ADVERTISEMENT