How to Fix a Corrupted Flash Drive

A corrupted flash drive may have a damaged file system, the structure that tracks its files. Copy anything that still opens before running a repair. Windows has CHKDSK for file-system errors; a Mac has Disk Utility's First Aid.

A message asking you to format the drive needs a different response. Cancel it if the stick holds files you need. Formatting can make the drive usable again, but it won't recover the old files.

1. Save the readable files before attempting repairs

Connect the stick directly, without a hub, and try opening it. A loose connection or faulty adapter can interrupt transfers and make it appear damaged. Try another port, then another computer if available.

If the files open, copy them to your computer or another drive. Open a few of the copied documents and photos from their new location. A folder that appears to copy successfully can still contain files that won't open.

Diagram showing the recovery route for needed files and the reuse route for a disposable USB drive

I'd protect the files before repairing the stick. Repair tools change the file system and can't recreate every damaged document. If an important file's only copy is unreadable, ask a data-recovery service about recovering it.

If the drive works on the second computer, save its contents there. The first computer's port, adapter, or software needs attention. If both computers lose the connection or fail to read the same files, continue with the drive checks.

2. Read the disk state in Windows

In Windows 10 and 11, open Disk Management by right-clicking Start. Connect the stick and watch for a new volume, then check its capacity. Keep the Windows system disk out of every repair or format operation.

A volume with a recognized file system and an assigned drive letter can be checked for errors. RAW means Windows doesn't recognize a usable file system there. Unallocated means it isn't showing a usable partition in that space.

Neither state means your old files are safely backed up. Leave unallocated space unchanged if you still need the missing files. Recover those files before preparing the stick for reuse.

If Disk Management lists your drive but File Explorer doesn't, try the missing-drive checks. A missing letter needs a different fix from corruption.

If the USB device doesn't appear in Disk Management on either computer, a Windows file-system command has nothing to repair. Ask the drive maker about replacement, or ask a recovery specialist what can be retrieved.

3. Repair a recognized Windows volume with CHKDSK

With readable files saved, type Command Prompt into Start search. Open its Run as administrator option. Close any documents opened from the stick, along with Explorer windows displaying its contents, so the repair can access it.

Use the drive letter shown for your USB volume. In this example, replace X: with that letter before running the command:

chkdsk X: /f

The /f option corrects file-system errors. Without it, the command reports errors but doesn't repair them. Microsoft's CHKDSK reference explains the options.

Drawing of an administrator Command Prompt with the CHKDSK repair command and a placeholder drive letter

Read the drive letter again before pressing Enter. If the command says it can't lock the volume, close anything still using the stick and retry. Don't approve unrelated disk operations simply to get past a message.

Let the check finish, then read its final report. If it reports corrections, reopen the drive and check the files you need. A successful file-system repair doesn't mean every file's contents survived intact.

If CHKDSK reports a RAW file system or can't open the volume, stop that route. More switches won't turn it into a recovery program. Choose recovery for needed files, or formatting for a drive you're ready to erase.

4. Use First Aid when the drive is connected to a Mac

Open Applications > Utilities > Disk Utility. Choose View > Show All Devices to show the USB device and its volumes. This applies to Intel-based and Apple silicon Macs; external USB work doesn't need macOS Recovery.

Select the USB device's last volume, click First Aid, then Run. Continue with its other volumes, then any containers, and finish with the device itself. Skip an item when First Aid is unavailable.

Drawing of Disk Utility with the First Aid control highlighted

Watch the result for each item. If First Aid repairs the errors, quit Disk Utility and try the files in Finder. For errors First Aid can't repair, use your backup or get recovery advice before erasing the drive.

If Disk Utility doesn't list your stick, try a direct connection, another port or adapter, and another computer. The Mac needs to detect the stick through a working connection before it can repair a volume.

5. Format only when the old contents can go

Format the stick once you've recovered your files or decided you don't need them. Formatting replaces the file system and can remove the damaged structure that prevented normal use. It also removes access to the old contents.

In Windows Disk Management, right-click the USB volume and choose Format. Review the volume before accepting the dialog and confirmation. On a disposable stick with unallocated space, use New Simple Volume instead.

On a Mac, the USB formatting steps explain selecting the device, choosing a format for its intended computers, and using Erase. Pick the format for where the stick will actually be used.

Copy a few nonessential files onto the formatted stick, eject it, reconnect it, and open them. If errors or disconnections return on another computer, replace the stick rather than trusting it with your only copy.

If a drive won't format and you don't need its files, ask the manufacturer's support team how to get a warranty replacement. For valuable files that won't open, ask a recovery service for a drive assessment before writing more data to it.

The Short Version

Save what opens, then use CHKDSK on a recognized Windows volume or First Aid on a Mac. Decide about recovery before formatting a RAW or unreadable drive. Replace a stick whose errors return.

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