Fix a Corrupted Hard Drive: Save Your Files First

A corrupted hard drive can have file-system errors, a damaged partition, or failing hardware. Save readable files first.

Use CHKDSK when Windows recognizes the file system and the drive stays connected. For RAW, unallocated, or disconnecting storage, choose how you'll recover the files before attempting repair.

Formatting isn't the starting point for storage that contains files you need. It creates a usable file system, but you can lose the files already on the drive.

1. Secure readable data before attempting repair

If File Explorer can still read the drive, copy your important files onto another physical disk. Open several copies from their new location to check them. Another folder on the damaged disk isn't a backup.

If the drive clicks, drops its connection, or repeatedly freezes the computer during reads, stop repair attempts. Ask a recovery specialist to retrieve the files. Repair software can't replace damaged physical parts.

Diagram comparing a stable readable drive with a clicking or disconnecting drive before repair

For an external drive without those symptoms, connect it directly by USB with a known-good cable. Keep its correct power adapter connected if it uses one. A connection fault can make a healthy disk disappear before a scan finishes.

If the connection becomes stable, copy the files before scanning. If it remains unreliable, don't keep running a repair that loses access halfway through; ask a repair shop or the drive manufacturer to check the enclosure, cable, and disk.

I'd protect the only copy of a document before trying to make its drive look healthy again. The repair method depends on what Windows can still recognize, which is the next check.

2. Read the drive's status in Disk Management

Right-click Start > Disk Management. Find the disk by its capacity and the volumes it contains, then compare its drive letter with File Explorer. Disk numbers and letters can differ between computers.

A volume showing NTFS, FAT32, or exFAT has a recognized file system. If it has a letter and stays connected, continue to the scan in section 3 after protecting its files.

RAW means Windows can't recognize that volume's file system. Unallocated means space isn't assigned to a volume, a section of the disk used to store files. Not Initialized is a separate state; it doesn't mean a used disk is empty.

When those labels appear on a previously used drive, cancel any prompt to initialize or format it. Microsoft describes empty-disk setup separately from recovery in its Disk Management troubleshooting.

These repair commands can't reach a disk that Windows doesn't detect at all. Check its power and connection, then ask the manufacturer for help getting it detected. A laptop's missing internal disk needs the hard-drive-not-installed checks.

3. Check a recognized volume before choosing repair

Find Command Prompt through Start. Right-click the result and select Run as administrator. Approve the permission prompt. Use the affected volume's actual letter in every command.

For an NTFS volume assigned D:, an online file-system scan is:

chkdsk D: /scan

The /scan option is for NTFS. It checks how NTFS organizes the files while the volume stays available. It isn't an option for an exFAT or FAT32 external drive.

Drawing of an administrator Command Prompt showing the CHKDSK online scan command

For a general status check without requesting repairs, use chkdsk D:. On an active volume, a read-only check can report misleading errors because it can't lock the disk, so keep that in mind when reading its result.

Read the final report. A clean result means this check didn't find file-system errors; it doesn't explain every unreadable file or intermittent connection. If errors remain or Windows requests an offline repair, go to section 4.

Do not run these commands against a drive showing RAW and expect them to rebuild its missing file system. Choose file recovery when the volume can't be checked normally.

4. Repair file-system errors with the right option

Close programs and File Explorer windows using the affected drive. After your files are protected, run:

chkdsk D: /f

The /f option fixes errors in how the file system organizes your data. CHKDSK needs to lock the volume so other programs can't change it during that repair.

For the Windows volume, usually C:, use chkdsk C: /f. When the system volume can't be locked, accept the offered startup check by typing Y and pressing Enter. Restart once you can leave the PC working.

Let the scheduled check finish. A large drive or many files can make the process take a long time. Keep the charger attached throughout the laptop's check. Avoid interrupting it just because the percentage seems slow.

The /r option also checks sectors, the small storage areas on the disk, for damage and tries to retrieve readable data. It includes /f. Use it when that deeper check is appropriate, rather than automatically adding it to every command.

On a large mechanical hard drive, reading every sector can take hours. A drive with physical failure symptoms belongs with a recovery specialist before a lengthy surface scan, especially when it holds irreplaceable files with no backup.

5. Verify the result and choose recovery or replacement

After repair, reopen the folders that failed and try copying the affected files. Then read the CHKDSK result in Event Viewer if the startup report disappeared too quickly.

A repaired directory doesn't necessarily restore the contents of an already damaged file. If a document still won't open, restore another copy from its application history or backup rather than repeat the same disk repair indefinitely.

If errors return, arrange drive diagnostics with the manufacturer and plan replacement. A disk that repeatedly loses readable data isn't a dependable place for your only backup, even when one scan finishes successfully.

For needed files on RAW or unallocated storage, discuss recovery before rebuilding partitions. Recover onto another disk. Installing software on the affected storage can overwrite the data you need to retrieve.

After your files are safe, you can repartition or format a drive that passes hardware checks if you need to reuse it. Select the correct disk and make sure you no longer need its existing contents before doing that.

For irreplaceable files, contact the drive maker's recovery service or a specialist. Say if Windows detects it, what sounds it makes, and whether it stays connected. Ask for a recovery assessment before approving erasure or replacement.

The Short Version

Save readable files, check the disk's status, and use CHKDSK only on a stable recognized volume. Choose recovery before formatting a used RAW or unallocated drive, and replace hardware when errors keep returning.

Checked December 2, 2026.

If you have any business, I can build it online

Hi, I’m Hamza. I’ve been building websites and online shops for business owners since 2019, and I also built this site you’re reading.

Tell me what business you have or what you’re working on. I’ll look into how much it can grow online, and then we talk. You don’t have to buy anything or hire me first.

Chat with me on my site and I’ll show you proof of businesses I’ve helped and how they’ve grown.

Written by Isaac Smith

Isaac Smith is the founder and editor of PC Glance, a website that covers computers, laptops, and technology. He is a tech enthusiast and a computer geek who loves to share his insights and help his readers make smart choices when buying tech gadgets or laptops. He is always curious and updated about the latest tech trends.

More from Isaac Smith

Leave a Comment