How to Fix a Corrupted USB or External Hard Drive
The Problem
You plug in a USB or external drive and Windows asks to format it—or says the file or directory is corrupted. Do not click Format yet if photos or backups live on that disk. The file system index is often damaged while the data may still be recoverable.
Why This Happens
- Plucking the USB out without safely ejecting it first.
- Sudden power outages while the drive was writing data.
- A failing USB port or bad bridging cable.
- File system corruption (the "index" of where files live gets garbled).
The Fix: Step-by-Step Restoration
Step 1: The Basics (Do This First!)
Before assuming the drive is dead:
- Try plugging the USB into a different port directly on the motherboard (rear of the PC case), avoiding front-panel ports or external hubs.
- Try plugging it into a completely different computer to isolate whether it's a PC issue or a drive issue.
Step 2: Use Windows Check Disk (CHKDSK) via Command Prompt
If Windows asks to format the drive, DO NOT CLICK YES. Formatting will erase the file system, making data significantly harder to recover. Instead, use the built-in repair tool.
- Press Windows Key + X, and select Terminal (Admin) or Command Prompt (Admin).
- Note the drive letter of your corrupted USB (e.g.,
E:orD:). - Type the following command (replace
X:with your actual drive letter) and press Enter:chkdsk X: /f /r /x/ffixes errors on the disk./rlocates bad sectors and recovers readable information./xforces the volume to dismount first if necessary.
- Let the scan run. It might take minutes to hours depending on the size and speed of the drive. If successful, your files will magically reappear in File Explorer!
Step 3: Check Drive Health in Disk Management
If the drive doesn't even show up in File Explorer with a drive letter, it might have lost its partition layout.
- Right-click the Start Menu and select Disk Management.
- Scroll through the list of disks at the bottom to find your USB drive (identifiable by its storage capacity, like
Disk 1orDisk 2). - If it says "Unallocated" or "RAW", the file system structure is entirely gone. The CHKDSK command won't work on RAW drives.
Step 4: Professional Data Extraction
If CHKDSK fails, or if the drive is marked as RAW in Disk Management, the files are still physically located on the memory chips or magnetic platters, but Windows doesn't know how to read them.
You need specialized software to bypass the broken file system and scrape the raw binary data.
Technician's Solution: When standard tools fail on RAW or suddenly formatted external drives, we rely on deep data carving. Use our specialized Data Recovery Pro software to scan the corrupted drive and securely extract your lost files to your computer's main hard drive safely.
Prevention Tip
Always use the "Safely Remove Hardware" icon in your system tray before yanking a USB out!
Related guides
How to Check SSD or Hard Drive Health in Windows 11
Read SMART status, use CrystalDiskInfo, and know when a drive is failing before you lose data — what Caution and reallocated sectors mean on Windows 11.
How to Fix Clipboard Not Working in Windows 11
Copy and paste broken, Clipboard History empty, or Win+V does nothing? Restart Clipboard, fix Remote Desktop conflicts, and reset clipboard services.
How to Fix Game Controller Not Working in Windows 11
Controller not detected or buttons dead in games? Fix Windows drivers, USB ports, Steam Input, and game controller settings.
How to Fix HDR Not Working in Windows 11
HDR toggle missing, colors look washed out, or games won't enable HDR? Fix display cable, GPU settings, Windows HDR calibration, and monitor compatibility.
How to Fix Mobile Hotspot Not Working in Windows 11
Can't turn on mobile hotspot, or devices won't connect? Fix adapter sharing, metered data, firewall, and driver issues for Windows 11 hotspot.