Fix 0XC0000182: Hard Drive Not Detected on Boot
Your PC stops with this error when Windows can't talk to your hard drive. We'll start with a quick cable check and move to deeper fixes if needed.
What’s happening here?
You turn on your PC and instead of Windows, you see a black screen with STATUS_DEVICE_CONFIGURATION_ERROR. The code 0XC0000182 means Windows can't read your hard drive's configuration. I've seen this on Dell OptiPlex models, HP ProDesks, and custom builds with SSDs that were working fine yesterday.
The trigger is usually one of three things: a loose cable, a BIOS setting that got reset, or a corrupted partition table. We'll fix it in that order — start with the 30-second check, then move up.
Fix 1: The 30-second cable check
This is the one that saves most people. Over 60% of the time, the SATA cable just wiggled loose. I know it sounds too simple, but I've seen IT pros spend an hour with software before checking this.
- Shut down your PC completely. Unplug the power cord.
- Open the case. Locate your hard drive (3.5-inch or 2.5-inch).
- Find the thin data cable (SATA cable) connecting the drive to the motherboard. Press it firmly into both ends — drive side and motherboard side.
- Also check the power cable coming from the power supply. Push it in until it clicks.
- Close the case, plug everything back in, and boot up.
If the error's gone, you're done. If not, move to Fix 2.
Fix 2: The 5-minute BIOS reset
Sometimes your motherboard's BIOS forgets which drive to boot from. This happens after a power surge, a dead CMOS battery, or even a Windows update that tweaked things.
- Restart your PC. As soon as the screen lights up, press the BIOS key — usually F2, Del, or F10 (check your manufacturer's logo on screen).
- Look for a section called Boot or Boot Order. It might be under Advanced on older boards.
- You should see your hard drive listed. If it says Not Detected, your SATA controller might be disabled. Find SATA Configuration and set it to AHCI (or IDE if you're using an old Windows 7 install — but AHCI is better for SSDs).
- If the drive isn't listed at all, your cable is probably bad, or the drive is dead. But try this first: toggle the SATA port. If you're plugged into port 0, move the cable to port 1 and see if it shows up.
- Save and exit (usually F10). The PC will restart.
Still getting the error? Let's go deeper.
Fix 3: The 15-minute diskpart repair
This one needs Windows recovery tools. If you don't have a Windows installation USB, grab one from another computer — Microsoft's Media Creation Tool is free. You'll need to boot from that USB.
- Insert the USB and boot from it (you might need to change boot order in BIOS).
- On the setup screen, click Repair your computer (bottom-left corner).
- Go to Troubleshoot > Advanced options > Command Prompt.
- Type
diskpartand press Enter. - Type
list disk. You should see your hard drive in the list. If it's not there, skip to the next fix — this software thing won't help. - If the drive is listed, type
select disk 0(replace 0 with your drive number). - Type
clean. Warning: this deletes everything on the drive. Only do this if you've backed up your files or if the drive is empty. - Type
convert gpt(orconvert mbrif you're on a very old system). - Type
exit, close the Command Prompt, and restart.
If the error is gone, you'll need to reinstall Windows. If not, the drive might be physically damaged.
When to give up and replace the drive
If none of these fixes worked, your hard drive is probably dead. I've seen this error with Seagate Barracuda drives that had bad sectors and Samsung EVO SSDs with failed controllers. Run a hardware diagnostic — most BIOS have one built-in (look for Diagnostics or HDD Test). If the test fails, replace the drive. It's cheaper than your time.
A quick word: if you're using an M.2 SSD (like a Samsung 970 EVO), the cable fix doesn't apply — it's a slot-based drive. Check that the M.2 slot isn't dusty and that the screw is tight. Also, some motherboards disable M.2 slots when using certain SATA ports. Check your motherboard manual.
That's it. Start with the cable, move to BIOS, then diskpart. You'll save yourself a lot of frustration. Good luck.
Was this solution helpful?