Forum Discussion
Thanodore
Dec 02, 2026Copper Contributor
How to fix error code 0xc000000f in windows 11 without disc?
My Windows 11 PC suddenly stopped booting and now displays a blue recovery screen with error code 0xc000000f. The error message says: Your PC/Device needs to be repaired. Error code: 0xc000000f ...
Jinish
Dec 02, 2026Tin Contributor
Because you can still boot into Safe Mode, you do not need a Windows installation disc or USB. Most supported Windows 11 installations use UEFI/GPT, where bootrec /fixboot often fails with "Access is denied" in modern WinRE builds—so the cleanest approach is to rule out Safe Mode quick fixes first, verify your disk's partition style, and then apply the exact boot repair that matches it.
Rule Out Fast Startup & System File Corruption (From Safe Mode)
Since Safe Mode already works, try these two non-destructive checks first from an elevated Command Prompt (Run as Administrator):
Purge a corrupted Fast Startup state (Safe Mode skips hiberfil.sys, which is why Safe Mode can boot while normal mode hits 0xc000000f):
powercfg /h off
Repair core system files:
sfc /scannow
Note: DISM /Online /Cleanup-Image /RestoreHealth is worth running once Windows boots normally, but it typically fails in Safe Mode because Windows Update is disabled and you do not have offline installation media for /Source:.
Reboot normally. If 0xc000000f returns, rebuild the bootloader from WinRE below.
Enter WinRE Command Prompt (No Disc Required)
From Safe Mode (easiest): Open Command Prompt as Administrator and run:
shutdown /r /o /f /t 0
If locked out on the blue recovery screen: Power on the PC, and as soon as the manufacturer logo appears, hold the power button for 10 seconds to force-shutdown. Repeat 2–3 times until "Preparing Automatic Repair" appears.
Navigate to Troubleshoot -> Advanced options -> Command Prompt.
Check Your Partition Style First (GPT vs. MBR)
Run:
diskpart
list disk
Look at the Gpt column on the far right for your OS drive:
Asterisk (*) present -> UEFI/GPT (most Windows 11 PCs) — follow Path A.
Blank -> Legacy BIOS/MBR (older upgrades or custom installs) — type exit and follow Path B.
Path A: UEFI / GPT Boot Rebuild (Non-Destructive)
Still inside diskpart, run:
list vol Identify two volumes (drive letters often shift inside WinRE—Windows is not always C:):
Your Windows OS partition (largest NTFS volume — note its letter).
Your EFI System Partition (ESP) (FAT32, typically 100 MB–500 MB, labeled System or ESP, usually without a drive letter).
Assign temporary letter S: to the EFI partition and exit diskpart:
select vol X
assign letter=S
exit
(Replace X with your EFI volume number.)
Verify your Windows drive letter before writing boot files (adjust C: if list vol showed a different letter):
dir C:\Windows Back up the existing BCD store (preserving dual-boot or OEM entries instead of wiping the partition), then regenerate the UEFI boot files:
cd /d S:\EFI\Microsoft\Boot\
ren BCD BCD.bak
bcdboot C:\Windows /s S: /f UEFI
If S:\EFI\Microsoft\Boot\ does not exist: Skip the ren line and run bcdboot C:\Windows /s S: /f UEFI directly.
If bcdboot reports a file-system or copy error: Run chkdsk S: /f first, then retry bcdboot. Avoid formatting the EFI partition unless you have no dual-boot OS or OEM recovery tools and all non-destructive repairs fail.
You should see: Boot files successfully created.
Verify before rebooting:
bcdedit /store S:\EFI\Microsoft\Boot\BCD /enum
Confirm Windows Boot Loader points to your Windows partition (not unknown) with path \Windows\system32\winload.efi. Close Command Prompt and click Continue.
Path B: Legacy BIOS / MBR Boot Rebuild
If list disk showed no * under Gpt, run the standard MBR recovery sequence in WinRE Command Prompt:
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
Press Y if prompted to add the Windows installation to the boot list, then reboot.
If Boot Repair Succeeds but 0xc000000f Still Appears
Check UEFI Storage Controller Mode: A BIOS update or CMOS reset can silently flip storage mode between AHCI and RAID / Intel VMD, triggering 0xc000000f on normal boot. Enter BIOS/UEFI and toggle it back to the original setting.
Run Offline SFC from WinRE (if Safe Mode stops working):
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
(Replace C: with your verified OS volume letter from diskpart.)
Run Startup Repair: In WinRE, select Troubleshoot -> Advanced options -> Startup Repair to let Windows automatically detect and resolve remaining boot configuration conflicts.