How to Repair a Corrupted USB Drive in Windows
In this article
A corrupted USB drive in Windows is usually fixable without buying a new one. The quickest first move is to open File Explorer, right-click the drive, choose Properties > Tools > Check, and let Windows scan and repair the file system. If the drive still will not open or shows as RAW, run the built-in chkdsk command or reformat it after copying off what you can. This guide walks through the safe order: check, repair, recover, and only then format.
What You'll Need
- A Windows 10 or Windows 11 PC with the USB drive plugged directly into a rear USB port (not a hub).
- Administrator rights on the PC, because chkdsk and Disk Management need elevation.
- A second USB drive or folder with enough free space if you want to back up files before repairing.
- Optional: a free file-recovery tool from a reputable vendor if the drive is RAW or files are missing.
Menu labels can differ slightly by Windows version and region, but the paths below are the standard ones in current Windows 10 and 11.
Step-by-Step
- Back up what you can first. Open File Explorer, double-click the USB drive, and copy any readable files to your PC. If the drive opens slowly or some folders error out, copy the folders that do open and skip the rest for now. Repair tools can occasionally make a failing drive harder to read, so grab the easy files first.
- Try the graphical check. In File Explorer, right-click the USB drive and choose Properties. Go to the Tools tab and click Check under Error checking. Click Scan and repair drive. Windows will scan the file system and attempt fixes. This is the safest first repair because it does not touch your files unless it finds errors.
- Run chkdsk from Command Prompt. If the graphical check fails or the drive is not accessible, press the Start button, type cmd, right-click Command Prompt, and choose Run as administrator. Type
chkdsk X: /f(replace X with your USB drive letter) and press Enter. The/fswitch fixes file-system errors. If Windows says the drive is in use, close File Explorer windows and try again. For deeper repair, usechkdsk X: /f /r, but note that/rscans for bad sectors and can take a long time on a large drive. - Check Disk Management for the drive's status. Right-click the Start button and choose Disk Management. Find your USB drive in the list. If it shows as RAW or Unallocated, the file system is damaged beyond a simple check. If it shows Healthy but has no drive letter, right-click the partition and choose Change Drive Letter and Paths to assign one.
- Recover files before formatting a RAW drive. If the drive is RAW and you need the data, do not format yet. Use a reputable recovery tool to scan the drive and save recovered files to your PC's internal drive, never back to the same USB stick. Only after recovery should you consider formatting.
- Format the drive as a last resort. In File Explorer, right-click the USB drive and choose Format. Pick exFAT if you need to move files between Windows and macOS, or NTFS if it is Windows-only. Leave Quick Format checked unless you suspect bad sectors, then click Start. Formatting erases everything on the drive, so only do this after backing up or recovering what you need.
- Test the drive. Copy a few files to the USB drive, eject it safely, reinsert it, and confirm the files open. If the drive fails again immediately, the problem is likely hardware rather than the file system.
Common Mistakes
- Formatting before recovering files. Formatting wipes the file table and makes recovery harder. Always try recovery first on a RAW or unreadable drive.
- Running chkdsk on the wrong drive letter. Double-check the letter in File Explorer before typing the command. Running
chkdsk /fon your system drive by mistake can trigger a reboot scan you did not intend. - Using a USB hub or front-panel port. Flaky power from a hub can cause write errors that look like corruption. Plug directly into a rear port on a desktop.
- Pulling the drive without ejecting. Removing a USB drive mid-write is one of the most common causes of corruption. Always use Safely Remove Hardware or eject from File Explorer.
- Ignoring hardware warnings. If chkdsk reports bad sectors repeatedly, the flash memory may be failing. No software repair fixes worn-out NAND.
Tips
- Run
chkdskfrom an elevated Command Prompt; a normal window may refuse to fix errors. - If the drive letter keeps changing between plugs, assign a permanent letter in Disk Management.
- Keep the drive formatted as exFAT for cross-platform use, but be aware exFAT has weaker journaling than NTFS, so always eject safely.
- For drives that show as RAW, a free recovery scan first, then format, is the standard order.
- Test a repaired drive with a large file copy (several GB) to confirm it can sustain writes without dropping.
Troubleshooting
chkdsk says the drive is write-protected. Check for a physical write-protect switch on the side of the drive or SD adapter. If there is none, the drive may have failed into a read-only state, which usually means the controller is dying.
The drive does not appear in File Explorer at all. Open Disk Management and check whether it shows there. If it appears as Unallocated, create a new simple volume. If it does not appear anywhere, try another cable, another port, and another PC before concluding the drive is dead.
chkdsk freezes or takes hours. On a failing drive, chkdsk can hang. Stop it, copy off any readable files, and consider replacing the drive rather than repairing it.
Files are there but open as garbage or zero bytes. This is classic corruption. Run recovery software to a different drive, then format the USB stick and copy the recovered files back.
Windows asks to format the drive every time you plug it in. That message means Windows cannot read the file system. Do not click Format if you need the data; run recovery first, then format.
Frequently Asked Questions
Can a corrupted USB drive be repaired without losing data?
Often yes. The graphical Check tool and chkdsk /f are designed to fix file-system errors while keeping files. Formatting is the step that erases data, so avoid it until you have backed up or recovered what you need.
What does it mean when my USB drive shows as RAW?
RAW means Windows cannot recognise the file system. The data may still be on the drive, but you need recovery software to extract it before formatting the drive to exFAT or NTFS.
Is chkdsk safe to run on a USB drive?
Yes, chkdsk /f is safe for file-system repair. The /r switch is more intensive and can take a long time, but it is not destructive. Back up readable files first as a precaution.
Why does my USB drive keep getting corrupted?
The usual causes are removing the drive without ejecting, power loss during a write, a failing USB port or hub, or worn flash memory. If it happens repeatedly with safe ejecting, the drive itself is likely failing.
Should I format as exFAT or NTFS?
Use exFAT if you move files between Windows and macOS. Use NTFS if the drive is Windows-only and you want better journaling and permissions support.
Can I repair a USB drive with free tools?
Yes. Windows includes Check and chkdsk at no cost. For RAW drives, free versions of reputable recovery tools can scan and recover files, though some limit how much they restore without a paid licence.