Windows error code 0xc0000185 typically appears as a blue screen (BSOD) or a black screen during startup, often with a message like “Your PC/Device needs to be repaired.” It points to a problem with the boot configuration or the system’s ability to read critical boot files, frequently caused by corrupted data, failing hardware (especially the hard drive or its cable), or a recent update that went wrong. This guide walks you through the most effective fixes, from simple startup repairs to deeper hardware checks, so you can get back into Windows.
What You’ll Need
- A Windows installation media (USB or DVD) or access to the Windows Recovery Environment (WinRE). If you don’t have installation media, you can create one on another working PC using Microsoft’s Media Creation Tool.
- A second working computer (optional, for creating bootable media or downloading tools).
- A Phillips-head screwdriver (only if you plan to reseat internal cables).
Step-by-Step
- Force a restart into Windows Recovery Environment (WinRE). If you can’t boot normally, turn the PC on and immediately hold the power button for 10 seconds to force a shutdown. Do this twice. On the third boot, Windows should enter the recovery screen. If you have installation media, insert it, boot from it (you may need to press a key like F12, F2, or Esc to choose the boot device), and select “Repair your computer” on the first screen.
- Run Startup Repair. In WinRE, go to Troubleshoot > Advanced options > Startup Repair. This tool automatically scans for and attempts to fix common boot problems, including corrupted boot files. Let it run; it may take 10-20 minutes. If it asks for a user account, select one and enter the password.
- If Startup Repair fails, try Bootrec (Boot Configuration Data rebuild). From the same Advanced options menu, choose Command Prompt. Type the following commands one at a time, pressing Enter after each, and wait for each to finish before the next:
bootrec /fixmbr bootrec /fixboot bootrec /scanos bootrec /rebuildbcd
When prompted by
rebuildbcd, typeYto add the Windows installation to the boot list. Close the Command Prompt and restart. - Check disk for errors. Back in the Command Prompt (from Step 3), run
chkdsk /r C:(replaceC:with your Windows drive letter if it’s different). This scans the hard drive for bad sectors and file system corruption. It can take a long time (30 minutes to several hours) and may appear to hang at a percentage; be patient. When it finishes, restart. - Run System File Checker and DISM. In the same Command Prompt, run
sfc /scannow. If it reports errors it couldn’t fix, runDISM /Online /Cleanup-Image /RestoreHealth. These commands repair Windows system files. Note: DISM requires internet access to download replacement files; if you’re offline, it may fail, but it’s still worth trying after SFC. - Disable Automatic Startup Repair loop (if stuck). If the PC keeps restarting into the repair screen, in Command Prompt, type
bcdedit /set recoveryenabled Noandbcdedit /set {default} recoveryenabled No. This stops the automatic repair loop, allowing you to boot to the desktop (if the underlying issue is not severe) or at least to a stable error screen where you can try other fixes. - Check hardware connections. Power off the PC, unplug it, and open the case. Reseat the SATA or NVMe cable connecting your hard drive/SSD to the motherboard, and also reseat the power cable to the drive. If you have multiple drives, try disconnecting all but the one with Windows. Restart and see if it boots.
- Test your RAM. Faulty RAM can cause this error. In WinRE, go to Troubleshoot > Advanced options > Windows Memory Diagnostic and run it. It will restart and test memory; allow it to complete (may take 30+ minutes). If errors are found, replace the faulty stick.
- Use System Restore (if available). In Advanced options, select System Restore. Choose a restore point from before the problem started. This undoes recent system changes (like updates or driver installs) without touching your personal files.
- As a last resort, reset or reinstall Windows. From Advanced options, choose Reset this PC. You can choose to keep your files or remove everything. This reinstalls Windows and often fixes the error, but it will remove installed programs. If you have installation media, you can also do a clean install from there.
Common Mistakes
- Skipping the disk check. Many users try software fixes first, but a failing hard drive is a leading cause of 0xc0000185. Always run
chkdsk /rearly. - Running commands in the wrong order. The
bootreccommands must be run in the order listed. Skippingfixmbrorfixbootcan leave the boot record in an inconsistent state. - Assuming the drive letter is C:. In WinRE, the Windows drive might be D: or E:. Check by typing
dir C:\Windowsand seeing if it lists files; if not, try other letters. - Forgetting to remove the installation media. After repairing, if you booted from a USB, remove it before restarting, or the PC may boot back into the installer.
- Not backing up data before a reset. If you choose “Reset this PC” and select “Remove everything,” all files are lost. Always try to back up important data first, if possible, by booting from a Linux live USB or connecting the drive to another PC.
Tips
- Create a restore point regularly. After you get Windows working again, create a manual restore point (search “Create a restore point” in Control Panel). This gives you a quick rollback option for future issues.
- Keep your drivers updated. Outdated or faulty storage controller drivers (like Intel RST or AMD RAID) can trigger boot errors. Update them from the manufacturer’s website once you’re back in Windows.
- Monitor drive health. Use tools like CrystalDiskInfo (on a working PC) to check the SMART status of your hard drive. If it shows “Caution” or “Bad,” replace the drive before it fails completely.
- Disconnect unnecessary peripherals. USB drives, external hard drives, and even some printers can interfere with boot. Unplug everything except keyboard and mouse while troubleshooting.
- If you have a laptop, remove the battery (if removable) and hold the power button for 30 seconds to drain residual charge, then reconnect and try booting. This can clear a stuck hardware state.
Troubleshooting
If you’ve tried all the above and still see 0xc0000185, consider these additional steps:
- Try a different SATA port. On desktop PCs, move the drive’s SATA cable to a different port on the motherboard. This can rule out a faulty port.
- Test the drive in another computer. Connect the problematic drive to a working PC as a secondary drive. If it’s detected and you can read files, the drive itself may be fine, pointing to a motherboard or cable issue. If not detected, the drive is likely dead.
- Check the BIOS/UEFI settings. Enter BIOS (usually by pressing Del, F2, or F10 during startup). Ensure the boot mode (UEFI vs Legacy) matches how Windows was installed. Also, check if the drive is detected in the BIOS. If not, it’s a hardware connection or drive failure.
- Update the BIOS/UEFI. A buggy BIOS can cause boot issues. Check your motherboard manufacturer’s website for a newer version and update it (follow their instructions carefully).
- If the error appears after a Windows update, try uninstalling the latest update from WinRE. Go to Troubleshoot > Advanced options > Uninstall Updates and choose “Uninstall latest quality update” or “Uninstall latest feature update.”
Frequently Asked Questions
Will I lose my files by fixing this error?
Most fixes (Startup Repair, bootrec, chkdsk, SFC) do not touch your personal files. Only “Reset this PC” with the “Remove everything” option will erase them. Always back up if you can before attempting any fix.
What causes error 0xc0000185?
The most common causes are corrupted boot configuration data (BCD), a failing hard drive with bad sectors, loose or damaged data cables, faulty RAM, or a recent Windows update that interrupted the boot process.
Can I fix this without a Windows installation disc?
Yes, if you can reach the Windows Recovery Environment by forcing a shutdown twice (power off, power on, power off again). If that doesn’t work, you’ll need installation media on a USB drive, which you can create on any working Windows PC.
How long does chkdsk take?
It depends on the drive size and health. A healthy 1TB drive might take 30-60 minutes; a failing drive with many bad sectors can take several hours. Let it run uninterrupted overnight if needed.
Is this error a sign my hard drive is dying?
It can be. Error 0xc0000185 is frequently linked to disk read failures. If chkdsk finds many bad sectors or if the drive makes clicking noises, back up your data immediately and replace the drive.
What if I can’t even get to the Command Prompt?
If you can’t reach WinRE or any repair option, the issue is likely severe hardware failure. Try reseating the RAM and drive cables. If it still won’t boot, you likely need a new drive or a professional repair service.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Text Cursor Turning White in Windows 11
- Force Quit Non-Responding Apps on Mac: 6 Ways
- Chromebook Not Charging? Fix It Fast
- iPhone Won’t Make Calls but Texts Work? Fixes
- Android to iPhone Hotspot: Connect & Fix Issues
- Fix d3dx9 38.dll Missing or Not Designed to Run on Windows