Windows 11 boot repair

Just Get Good 40 Reputation points
2026-11-11T05:41:51.55+00:00

After changing my battery laptop the windows boot option disappeared and after I add the boot option back using bios setup this shows up1000031201

so I need to repair the boot option right?

I have tried to go to windows recovery environment using windows installation media and turning on and off 4 times and both doesn't work.

so is there a way I can fix the boot configuratin,

I have another hdd that I can install windows 11 on it and I want to fix the boot configuration without losing the data on the first disk,

can I fix the boot configuration using the second hdd?

Windows for home | Windows 11 | Performance and system failures
0 comments No comments

1 answer

Sort by: Most helpful
  1. Kai-H 30,915 Reputation points Microsoft External Staff Moderator
    2026-11-11T10:57:49.2966667+00:00

    Hi, @Just Get Good

    Yes, you've got it right. The error on your screen (File: \EFI\Microsoft\Boot\BCD, 0xc000000f) means the small hidden EFI partition that tells the firmware where Windows lives is damaged or empty, while your Windows files and data are most likely still fine on the first disk. Installing Windows on the second HDD will work as a workaround, and you can then repair the first disk from there, but there is a simpler route that doesn't need a second install at all.

    Here are some suggestions you can try:

    Boot from the Windows 11 USB again, but don't click "Repair your computer." On the very first screen (language selection) press Shift + F10. This opens a Command Prompt directly and skips the recovery environment that was failing for you.

    Find your drives. Type these one at a time: diskpart list volume Note the letter of the big NTFS volume that holds Windows (it may not be C: here), and the number of the small 100-500 MB FAT32 volume with no letter. That small one is the EFI partition.

    Give the EFI partition a letter: select volume X (replace X with that number) assign letter=S exit

    Rebuild the boot files from your existing Windows: bcdboot D:\Windows /s S: /f UEFI (replace D: with the letter you found in step 2). You should see "Boot files successfully created."

    Remove the USB, restart, and go into BIOS to make sure Windows Boot Manager is at the top of the boot order.

    bcdboot copies fresh boot files from your Windows folder onto the EFI partition and recreates the BCD, so nothing on your data partition is touched. If you do go ahead and install Windows on the second HDD, you can run the same bcdboot command from inside that new Windows (admin Command Prompt) pointing at the first disk's Windows folder, and it works the same way.

    One thing to check first: if BitLocker is on, have your recovery key ready, since changing boot files can trigger the recovery prompt.

    Was this answer helpful?


Your answer

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