Fix HDD Suddenly Unknown & Not Initialized
In this article
If your hard drive suddenly shows as "Unknown" and "Not Initialized" in Disk Management, the drive's partition table or boot sector is likely corrupted, or the drive has a connection or driver issue. This guide walks you through safe fixes, from checking cables to rebuilding the partition table, without losing your data unless absolutely necessary.
What You'll Need
- A Windows PC (the steps are for Windows 10/11)
- Administrator account access
- A USB-to-SATA adapter or another PC (if the drive is internal and you need to test it externally)
- Optional: a different SATA cable and power connector
Step-by-Step
- Check physical connections. Power down your PC, unplug it, and open the case. Reseat the SATA data cable and power cable on both the drive and motherboard. If possible, try a different SATA port and a different power connector. Close the case, power on, and check Disk Management again.
- Open Disk Management. Press Win + X and select Disk Management. Look for your drive—it may show as "Unknown" and "Not Initialized" in the lower panel.
- Initialize the disk (if it shows as offline). Right-click the disk's left box (where it says "Unknown" or "Offline") and choose Initialize Disk. Select the partition style: GPT for modern systems (UEFI) or MBR for older BIOS systems. If you're unsure, GPT is safer for drives over 2TB. Click OK. If the option is grayed out, skip to step 5.
- If initialization fails with "The device is not ready" or "Incorrect function", the drive may have a driver or firmware issue. Go to Device Manager (Win + X > Device Manager), expand Disk drives, right-click your drive, and select Uninstall device. Restart your PC—Windows will reinstall the driver. Then check Disk Management again.
- Use Command Prompt to check the drive. Open Command Prompt as Administrator (search "cmd", right-click, Run as administrator). Type
diskpartand press Enter. Then typelist disk. Look for your drive's number (e.g., Disk 1). If it's not listed, the drive isn't being detected at all—skip to Troubleshooting. If it is listed, typeselect disk X(replace X with the number). Then typecleanonly if you don't need the data—this wipes the entire drive. If you need data recovery, stop here and use recovery software or a professional service. - If the drive is clean but still not initialized, create a new partition. In Disk Management, right-click the unallocated space and choose New Simple Volume. Follow the wizard, assign a drive letter, and format with NTFS (default). This will make the drive usable again.
- If the drive was previously used and you need data, do not initialize or clean it. Instead, use data recovery software like Recuva, TestDisk, or EaseUS Data Recovery Wizard. These tools can often rebuild the partition table or recover files directly. Run the software from another drive (not the failing one) and scan the unknown disk.
Common Mistakes
- Initializing a drive that has data. Initialization creates a new partition table, which can overwrite the old one and make data recovery much harder. Always attempt data recovery first if you have files you need.
- Using the wrong partition style. If you choose MBR on a drive that was previously GPT (or vice versa), Windows may not recognize the drive after initialization. Stick with the style that matches your system (UEFI = GPT, BIOS = MBR).
- Skipping the cable check. A loose or faulty SATA cable is the most common cause of a drive showing as unknown. Always reseat or replace cables before assuming the drive is dead.
- Running diskpart clean on the wrong disk. Double-check the disk number in
list diskbefore selecting. Cleaning the wrong disk will erase all data on it.
Tips
- Back up regularly. If a drive fails once, it's more likely to fail again. After fixing it, copy important data to another drive or cloud storage.
- Check the drive's health. Use tools like CrystalDiskInfo or Western Digital's Data Lifeguard to check SMART status. If the drive reports reallocated sectors or pending errors, replace it soon.
- Try a different USB enclosure. If the drive is external, the enclosure's controller may be failing. Remove the drive and connect it directly to the motherboard via SATA, or use a different enclosure.
- Update motherboard chipset drivers. Outdated storage controllers can cause detection issues. Visit your motherboard manufacturer's site and install the latest chipset drivers.
Troubleshooting
If the steps above didn't work, try these in order:
- Drive not detected at all in diskpart. Power off, reseat the drive, and try a different SATA port and cable. If still not detected, try the drive in another PC or via a USB adapter. If it's not detected there either, the drive is likely dead—consider professional data recovery if the data is critical.
- Initialization fails with "The device is not ready." This often indicates a firmware or hardware issue. Update the drive's firmware from the manufacturer's website (if available). If that doesn't help, the drive may be failing.
- Drive shows as "Unknown" but not "Not Initialized" (shows as "No Media"). This usually means the drive is not spinning up. Check power connections, and listen for a clicking sound—if you hear clicking, the drive has a mechanical failure and needs professional recovery.
- Disk Management freezes or crashes when you open it. This can happen with a failing drive. Boot into Safe Mode and try again, or use a Linux live USB to check the drive (e.g., GParted).
Frequently Asked Questions
Will initializing a disk erase my data?
Yes, initializing a disk creates a new partition table, which overwrites the old one. If you have data you need, do not initialize—use data recovery software first.
Can I recover data from an unknown, not initialized drive?
Often yes. Data recovery tools like TestDisk can rebuild the partition table, or file recovery tools like Recuva can scan for files directly. The sooner you try, the better the chances.
Why did my HDD suddenly become unknown?
Common causes include a loose or faulty SATA cable, power supply issues, driver corruption, or a failing drive. It can also happen after a power surge or improper shutdown.
Is GPT or MBR better for initialization?
GPT is better for modern systems—it supports drives over 2TB and is required for UEFI boot. MBR is older and limited to 2TB. If you're unsure, use GPT.
What does "The device is not ready" mean?
This error usually means the drive isn't responding properly, often due to a hardware issue, driver problem, or the drive is not spinning up. Try reseating cables and updating drivers first.
Should I use diskpart clean on a not initialized drive?
Only if you don't need the data. clean wipes the entire drive, including partition tables. If you need data, avoid it and use recovery software instead.