The blue Recovery screen says `A required device isn't connected or can't be accessed` with `0xc0000225` underneath. Nothing is broken in the way you fear. The loader read its configuration, then found nothing at the partition it names. A second drive, a clone onto a bigger SSD, or BitLocker sits behind most cases. Image the disk with a full backup before diskpart.
Quick steps
- Boot the installer USB and open Troubleshoot → Command Prompt
- Run diskpart, then list volume, and find EFI plus Windows
- Assign letters with assign letter=S and assign letter=W
- Run bcdedit /enum and read device and osdevice
- Rebuild with bcdboot C:\Windows /s S: /f UEFI
- Run bootrec /rebuildbcd if the entry is still wrong
Things you'll need
- A Windows 11 USB installer
- Your BitLocker recovery key if the disk is encrypted
- A second PC to write the USB
- An empty external drive if you need to image the disk first
Step-by-step
Method 1 of 3: Read the Loader Error Correctly
Download image
Step 1: Decode the 0xc0000225 Code
`0xc0000225` is STATUS_NOT_FOUND. The boot manager read a valid configuration, then followed it to a partition that was not there. The configuration is fine. The target is what went missing.
Download image
Step 2: Separate It From 0xc000000f
`0xc000000f` means the boot store itself could not be read. Yours means it was read successfully. That difference decides the whole repair, so do not rebuild anything before you know which one you have.
Download image
Step 3: Recall What Changed Last
A new drive, a clone onto a bigger SSD, a BitLocker recovery, or a BIOS update that disabled NVMe. Each breaks this code in a different place. Pick the one that actually happened.
Source: Microsoft Learn — UEFI firmware requirements · See also Microsoft Learn — bcdboot · Read next: Boot Windows 11 in Safe Mode
Download image
Step 4: Rule Out BitLocker First
A locked BitLocker volume produces the same screen. If you were asked for a recovery key and skipped it, the partition exists but cannot be read. Unlock it first and repair later.
Download image
Step 5: Enter the Recovery Environment
Boot the installer USB, then pick Repair your computer → Troubleshoot → Command Prompt. Everything below runs from here. You never need the broken installation to be bootable.
Download image
Step 6: List Every Volume
Run `diskpart`, then `list volume`. Find the FAT32 volume of 100 to 300 MB, which is your EFI partition. Find the large NTFS volume holding Windows. If the list is empty, the disk never mounted, so check `list disk` before going further.
Download image
Step 7: Write the Letters Down
In WinRE the letters are not the ones you know from Windows. C: may now be your EFI volume. D: may be your system. Assigning letters by guesswork is how people format the wrong disk.
Method 2 of 3: Point the Boot Store at the Right Disk
Download image
Step 8: Assign Explicit Letters
In `diskpart` run `select volume 2`, then `assign letter=S` for the EFI volume and `assign letter=W` for Windows. Explicit letters remove all guesswork. The next three commands depend on them.
Download image
Step 9: Read the Current Entries
Run `bcdedit /enum`. Look at device and osdevice on the Windows entry. A path like `partition=\Device\HarddiskVolume4` that no longer exists is your smoking gun in one line.
Source: Microsoft Learn — diskpart command · See also Microsoft Learn — gpresult · Read next: Boot Windows 11 in Safe Mode
Download image
Step 10: Rebuild the Store From Scratch
Run `bcdboot C:\Windows /s S: /f UEFI`, with C: replaced by wherever Windows sits. One command writes fresh boot files and a new store. It does not touch your programs or documents.
Download image
Step 11: Handle the BIOS-Only Case
For a Legacy install the flag is `/f BIOS` and the target is the small active partition. Using `/f UEFI` on an MBR disk writes a store the firmware will never load. You loop forever.
Download image
Step 12: Run the Automatic Scan
Run `bootrec /rebuildbcd`. It scans every disk for Windows installations. Answer Y to add the ones it finds. If it reports zero installations, your store is fine and the path is wrong.
Download image
Step 13: Confirm the New Entry
Run `bcdedit /enum` again. device and osdevice should point at a volume that exists in `list volume`. If they still name the old volume, nothing was actually written.
Download image
Step 14: Reboot Out of WinRE
Run `exit` twice and choose Continue to Windows 11. If it boots, you are done. If the same screen returns, the firmware is starting a different disk than the one you just repaired.
Method 3 of 3: When the Partition Itself Is Gone
Download image
Step 15: Unlock BitLocker From WinRE
Run `manage-bde -status` to see which volumes are locked, then `manage-bde -unlock C: -RecoveryPassword` with your key. The key also lives on your Microsoft account device page. Check there first.
Source: Microsoft Learn — reg commands · See also Microsoft Learn — chkdsk command · Read next: Boot Windows 11 in Safe Mode
Download image
Step 16: Check the Partition Table
In `diskpart`, run `list disk` and read the Gpt column. A disk that should be GPT but shows no asterisk has been converted. That conversion drops the boot entries. Third-party tools do it silently.
Download image
Step 17: Look for the EFI Partition
Run `list partition` on the system disk. No EFI partition of 100 MB or more means it was deleted or merged. `bcdboot` cannot write to a partition that does not exist yet.
Download image
Step 18: Recreate the EFI Partition
Only on a disk you have imaged. `create partition efi size=100`, then `format quick fs=fat32 label=System`, then `assign letter=S`. If that partition is empty, you are on the wrong disk. Stop and run `list disk` again.
Download image
Step 19: Rebuild After Recreating
Rerun `bcdboot C:\Windows /s S: /f UEFI` and then `bcdedit /enum`. If the entry points at the new volume, reboot and test it. Most rebuilds succeed at exactly this point.
Download image
Step 20: Restore the Firmware Order
Re-enter the BIOS and put Windows Boot Manager first in the UEFI order. A rebuilt store the firmware never reaches looks like a repair that failed. Save and exit cleanly.
Download image
Step 21: Stop Before You Reformat
If two rebuilds fail on a disk that keeps losing partitions, stop and image the drive. Replace it and reinstall. Reformatting now destroys the data you were trying to recover.
Source: Microsoft Learn — bcdedit command · See also Microsoft Learn — manage-bde · Read next: Boot Windows 11 in Safe Mode
Tips
- Drive letters inside WinRE are not the letters you see in Windows. Check with list volume every time.
- /f UEFI on an MBR disk writes a store the firmware will never load. Match the flag to the partition table.
- bcdedit /enum is read-only and free. Look before you write anything.
- If bcdboot succeeds but the machine still fails, the firmware boot order points at a different disk.
Warnings
- Do not run clean or format in diskpart on a disk holding data you want. There is no undo.
- Clearing a partition table destroys every partition on that disk in one command.
- Recreating an EFI partition on a disk you have not imaged will usually cost you the installation.
- A recovery key typed into a random support site is a key you have given away.
Frequently asked questions
How is this different from 0xc000000f?
0xc000000f means the boot configuration could not be read at all. 0xc0000225 means it was read and pointed somewhere that no longer exists.
Will bcdboot delete my programs?
No. It writes boot files and rebuilds the store. Your Windows installation, files and applications are untouched.
Can BitLocker cause this error?
Yes. A locked volume looks identical to a missing one. Run manage-bde -status before you rebuild anything.
Does a second drive really break booting?
It can. New disks change enumeration order, so a BCD entry that pointed at HarddiskVolume3 may now resolve to a different volume.
References
- Microsoft Learn — bcdboot command reference. https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/bcdboot
- Microsoft Learn — bcdedit command reference. https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/bcdedit
- Microsoft Learn — diskpart command reference. https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/diskpart
- Microsoft Learn — manage-bde command reference. https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/manage-bde
- Microsoft Learn — Windows Recovery Environment technical reference. https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-recovery-environment--windows-re--technical-reference
Every guide is reviewed against its sources. See our editorial policy.
Reader comments
0 so farFinished this guide? Tell other readers what worked, what didn't, and what you would change.