Your PC Needs To Be Repaired? Fix! 0xc000000f
You are staring at a blue or black screen telling you your PC needs to be repaired, and Windows simply refuses to load. This usually happens after a botched update, a sudden power loss, or a corrupted boot configuration file, and it is incredibly frustrating when you just need to get back to work.
Why this happens
This error occurs because the Windows Boot Configuration Data (BCD) is missing or corrupted, preventing the system from locating the necessary files to start. It effectively cuts the connection between your hardware and the operating system.
What you will need
You need access to a second working computer, an empty USB drive with at least 8GB of space, and the official Windows installation media tool from the Microsoft website.
Steps
-
01Create your installation media on the working computer using the Microsoft Media Creation Tool, then plug the USB into your broken PC.
-
02Power on your PC and immediately tap your BIOS key (usually
F2,F12,Del, orEsc) to enter the boot menu, then set your USB drive as the primary boot device. -
03Once the Windows installer loads, select your language, click 'Repair your computer', then navigate to Troubleshoot > Advanced options > Command Prompt.
-
04Type
diskpartthenlist volumeto identify the drive letter where Windows is installed (usually the largest NTFS volume), then typeexitto return to the command line. -
05Run the following commands one by one:
bootrec /scanos,bootrec /fixmbr, andbootrec /fixboot. -
06If
bootrec /fixbootreturns 'Access is Denied', runbootsect /nt60 sysfirst, then try thebootreccommands again. -
07Type
bootrec /rebuildbcdand when it asks to add the installation to the boot list, typeYto confirm. -
08Type
exit, remove your USB drive, and restart your computer to verify that Windows loads normally.
Still not working?
If the repair commands fail to find any Windows installations, your disk may be formatted as MBR while your BIOS is set to UEFI, or vice-versa. If bootrec /rebuildbcd shows '0 installations', you likely need to convert your drive from MBR to GPT. If that is not the case, run sfc /scannow and chkdsk C: /r (replacing C with your actual drive letter) to check for deeper filesystem corruption.
Frequently asked questions
Will I lose my personal files by doing this?
No, these commands only repair the boot configuration files and do not touch your personal data or installed programs.
What if my PC still shows the same error after these steps?
If you have completed these steps and the error persists, the physical hard drive may be failing, or the Windows partition itself is too corrupted to recover.
Can I use a USB drive that already has files on it?
The Windows Media Creation Tool will format the USB drive during the process, so ensure you have backed up any existing files on that drive before you begin.
Subscribe for fast, no-fluff fixes and best settings guides
For the games, phones, and apps you actually use - every common error, crash, and "how do I…" answered in under three minutes.