BCD is missing and can't be rebuilt?
BCD is missing and can't be rebuilt?
Earlier this morning, I discovered that my Dell laptop attempted an update while it was off and displayed a green screen. I don’t recall the exact error message since I was half-asleep, but I remember it mentioned "boot." Over the past few months, my device repeatedly failed to install a Windows 11 update, often restarting the process multiple times until I stopped noticing. Originally running Windows 10, I upgraded to Windows 11 last year, though the installation encountered issues due to incompatible graphics drivers (Intel Iris Xe). I had to uninstall and reinstall them afterward.
The Dell SupportAssist OS Recovery hardware scan went smoothly, but the repair scan indicated problems with my partition table and boot files. I’ve run this test multiple times, sometimes seeing the table as fine and other times reporting errors.
I managed to boot into Debian via USB, and all my files appear intact. If I needed a full backup, I’d have to buy a 1TB drive to store everything securely.
I also have a Windows 11 installation USB that I used to access the "Repair your computer" option. However, any BCD commands in the RE remain unresponsive.
When using DiskPart, I see just one disk, partition, and volume—my 16GB USB drive (D:\). The bootrec commands produced varied results: /fixmbr succeeded but did nothing; /scanos and /rebuildbcd reported "Total identified Windows installations: 0"; /fixboot returned "Access is denied"; bcdboot failed with "Failure when attempting to copy boot files"; bcdedit showed "The boot configuration data could not be opened."
I’ve attempted to access D:\EFI\Microsoft\Boot and used bootrec, but I’m unsure if this will help. I’ve heard that some users experience registry corruption after updates, which might explain my situation. Unfortunately, I don’t have any backup of the registry.
It’s now nearly 3 a.m., and I’d appreciate any assistance, though I won’t be able to respond promptly until tomorrow afternoon. Thank you.
Welcome to the forums, newcomer!
To give you a clearer picture, my computer was initially using Windows 10, but I upgraded to Windows 11 last year. The installation process wasn’t smooth because of the graphics drivers included with my laptop (Intel Iris Xe). I had to completely remove them before proceeding and then reinstall them afterward.
It’s recommended to format and reinstall Windows 11 manually after upgrading via the internal upgrade method from Windows 10. This helps identify and fix any problems during the transition.
After booting into Debian using a USB drive, everything appears to be intact. If I were to create a full backup, I’d need a 1TB storage device to ensure all data is safe.
I’d suggest backing up your files first, then reinstalling the OS. After that, rebuild your bootable USB for Windows 11 and install it in offline mode.
Also, download the required drivers from your laptop’s support site, run them with administrative privileges, and connect to the internet once all relevant drivers are installed.
Show a screenshot displaying the error when attempting to boot into Windows. Include the image link.
Request detailed error screenshots for better understanding.
Descriptions need more clarity and specifics about the issue.
Indicate possible causes clearly: OS drive not detected, missing drivers, or hardware issues.
Ask for full hardware specifications of your laptop.
Explain why commands are ineffective if the drive isn’t recognized.
Mention that the bootrec tool is unreliable in UEFI mode.
Inquire about the age of the Windows 11 installation media.
Suggest creating a fresh Windows installation media with the latest version.
I'm currently copying my files. Your guidance was helpful. I'll also reformat it.
When I turn on, it immediately shows me the RE. I only saw the green screen once and haven't seen it again after the first restart.
https://imgur.com/a/oxw6fdD
This should match what the Dell repair scan indicates.
I own a 2020 Dell Inspiron 7506 2-in-1 with an i7 processor and 16GB RAM.
The installation media was made yesterday using the media creation tool. My laptop is running on 10.0.26100.1, and the USB drive is set to 10.0.22621.2861.
Code:
DISKPART> show disks
No fixed disks available.
DISKPART> show partitions
No disk is currently selected for listing partitions.
Please choose a disk and retry.
DISKPART> list volumes
No volumes detected.
I removed any USB drives I was using.
The RE environment isn't recognizing your drive. Check if the OS drive is appearing in the BIOS. If Intel RST is enabled, turn it off.
I switched off RAID and chose the alternative storage method (AHCI/NVMe), then tried to boot up. It displayed messages like "Undoing changes made to your computer" and "Preparing Automatic Repair," and kept me in RE, which repeatedly looped through the same steps when I clicked "Continue."
An alternative was to turn off all integrated storage devices. After that, I reverted to RST mode and could now see my OS drive in the recovery environment, although more options appeared in RE. Now, selecting "list disk" correctly shows my OS drive…!
You have an Intel Optane H10 1TB storage device.
This is quite different from what I expected.
If asked to handle this issue, I would simply discard it and use a standard NVMe drive instead.
Anyway ...
To configure the bootloader, follow these steps:
diskpart
list disk
select disk 0
select 1TB drive
list partition
select partition 1
(select 150MB system partition)
assign letter=H
exit
bcdboot C:\windows /s H:
C: - 936GB Windows OS partition, H: - 150MB bootloader partition
Double-check the drive letters, as they might change in the recovery environment.