Windows Recovery Environment went missing / BCD error

Akmal Rahman 20 Reputation points
2025-08-19T06:22:13.43+00:00

I faced a problem with my laptop, as it couldn’t reach the Windows Recovery Environment menu when I attempted to select advanced startup. The only choice accessible to me is UEFI Firmware Settings, which leads to the BIOS Menu. It can boot into Windows and function normally (I think?) but I can't access troubleshooting options like safe mode. I worry that if my laptop gets into serious trouble later on, I may have to do a full reinstall because of this.

I've tried looking up solutions online and here are things that I tried:

  1. Running common repair commands through Command Prompt (with admin), like: sfc /scannow DISM /Online /Cleanup-Image /RestoreHealth
  2. Tried to enable reagentc.exe through Command Prompt It gave me the error bcdedit: The boot configuration data store could not be opened

I think my problem is similar to this thread: https://answers.microsoft.com/en-us/windows/forum/all/reagentcexe-operation-failed-2/c08a3df3-0243-4cda-984e-86e9f84e01c1
But it seems too complicated for me to follow along, hence why I am asking a separate question.

Windows for home | Windows 10 | Recovery and backup
0 comments No comments
{count} votes

Accepted answer
  1. Ramesh Srinivasan 166.6K Reputation points Volunteer Moderator
    2025-08-20T03:01:22.82+00:00

    Run:

    diskpart
    
    select vol S
    
    remove
    
    set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
    
    gpt attributes=0x8000000000000001
    
    exit
    
    reagentc /enable
    
    reagentc /info
    

    Post the output.

    1 person found this answer helpful.

5 additional answers

Sort by: Most helpful
  1. Ramesh Srinivasan 166.6K Reputation points Volunteer Moderator
    2025-08-19T06:30:14.97+00:00

    Hi Akmal,

    1] Please open Disk Management and maximize it. Adjust the column widths in the top pane to make all the entries visible. Post a screenshot.


    2] Open the admin Command Prompt and run these commands:

    reagentc /info
    dir c:\windows\system32\recovery /a
    dir c:\recovery\WindowsRE /a
    diskpart
    list disk
    select disk 0
    list part
    list vol
    exit
    

    Post the output.

    0 comments No comments

  2. Akmal Rahman 20 Reputation points
    2025-08-19T07:19:50.1066667+00:00

    Here is my Disk Management of my laptopDisk Management 19_08_2025 14.13.16

    Here is the result from Command Prompt

    Microsoft Windows [Version 10.0.19045.6216]
    (c) Microsoft Corporation. All rights reserved.
    
    C:\Windows\system32>reagentc /info
    Windows Recovery Environment (Windows RE) and system reset configuration
    Information:
    
        Windows RE status:         Disabled
        Windows RE location:
        Boot Configuration Data (BCD) identifier: 00000000-0000-0000-0000-000000000000
        Recovery image location:
        Recovery image index:      0
        Custom image location:
        Custom image index:        0
    
    REAGENTC.EXE: Operation Successful.
    
    
    C:\Windows\system32>dir c:\windows\system32\recovery /a
     Volume in drive C has no label.
     Volume Serial Number is CEC6-3422
    
     Directory of c:\windows\system32\recovery
    
    19/08/2025  12.13    <DIR>          .
    19/08/2025  12.13    <DIR>          ..
    19/08/2025  12.19             1.070 ReAgent.xml
    04/12/2023  09.36       466.404.365 winre.wim
                   2 File(s)    466.405.435 bytes
                   2 Dir(s)  45.583.953.920 bytes free
    
    C:\Windows\system32>dir c:\recovery\WindowsRE /a
     Volume in drive C has no label.
     Volume Serial Number is CEC6-3422
    
     Directory of c:\recovery
    
    File Not Found
    
    C:\Windows\system32>diskpart
    
    Microsoft DiskPart version 10.0.19041.3636
    
    Copyright (C) Microsoft Corporation.
    On computer: DESKTOP-TTJBP09
    
    DISKPART> list disk
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
      Disk 0    Online          931 GB  1024 KB        *
      Disk 1    Online          476 GB  1024 KB        *
    
    DISKPART> select disk 0
    
    Disk 0 is now the selected disk.
    
    DISKPART> list vol
    
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
      Volume 0     D   HDD 1        NTFS   Partition    492 GB  Healthy
      Volume 1     E   HDD 2        NTFS   Partition    439 GB  Healthy
      Volume 2     C                NTFS   Partition    476 GB  Healthy    Boot
      Volume 3                      FAT32  Partition    100 MB  Healthy    System
      Volume 4                      NTFS   Partition    509 MB  Healthy    Hidden
    
    DISKPART> exit
    
    Leaving DiskPart...
    
    C:\Windows\system32>
    
    

  3. Ramesh Srinivasan 166.6K Reputation points Volunteer Moderator
    2025-08-19T07:42:51.1066667+00:00

    Please boot from the USB setup disk. To do so, you may need to change the boot order in the BIOS/UEFI settings. Consult your system or motherboard manual to learn how to access the UEFI settings for your model.

    On the Windows Setup language selection screen, press Shift + F10 to enter Windows RE Command Prompt.


    In Windows RE, click Troubleshoot, Advanced Options, Command Prompt.


    In the WinRE Command Prompt, type the following commands:

    diskpart
    
    select disk 1
    
    list part
    
    select part 1
    
    assign letter=Y
    
    list vol
    
    exit
    

    Take photos of the output screen using your phone and share the images here. Don't quit WinRE yet. Two more commands need to be run.


  4. Ramesh Srinivasan 166.6K Reputation points Volunteer Moderator
    2025-08-19T13:46:26.41+00:00

    Now, run these commands:

    xcopy /h Y:\EFI\Microsoft\Boot\BCD F:\
    
    format Y: /fs:FAT32 /q
    
    bcdboot  F:\Windows /s Y: /f UEFI
    

    Post the output.


    Note:

    When you run the format command, you'll be prompted to enter volume label. Type EFI and press Enter.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.