A drive asks to be formatted
My flash drive says you need to format the disk before you can use it. Are my files lost?
Written by The CommonFixes team · fact checked by CommonFixes review desk
Last updated
Short answer
The index that lists your files is damaged, usually from unplugging the drive while it was writing. The files themselves are often untouched. The quickest thing to try first: do not click format — Formatting wipes the index for good. Close that window and keep the drive connected. Most people are done in about 20 minutes.
Full walkthrough below: 5 steps for Windows and Mac, rated careful.
Sounds like this
- •Format prompt on connection
- •Drive shows as RAW
- •Size shows as zero bytes
Why it happens
The index that lists your files is damaged, usually from unplugging the drive while it was writing. The files themselves are often untouched.
Work through these in order
0% done- 1
Do not click Format
Formatting wipes the index for good. Close that window and keep the drive connected.
- 2
Try the error check tool
Open Terminal as administrator and run chkdsk X: /f, replacing X with the drive letter. This repairs the index without touching your files in many cases.
- 3
Try another computer and port
A different machine sometimes reads a drive that yours cannot, and a rear port supplies steadier power than a hub.
- 4
Recover the files first
Use PhotoRec or Recuva to pull the files off to another drive before you attempt any repair that writes to the disk.
- 5
Only then format the drive
Once the files are safely copied elsewhere, format the drive to make it usable again, and always use Eject before unplugging in future.
If none of that worked
If the drive makes no sound and shows zero bytes on several computers, the controller chip has failed and only a data recovery lab can help.
Did this fix work for you?
A quick thumbs up helps other readers find the guides that actually work.
Share this fix
Related fixes worth reading
Chosen automatically from the 157 guides on CommonFixes, based on how closely they match this problem.
USB drive shows 0 bytes and will not format
How do I fix a USB flash drive that shows 0 bytes, RAW format and cannot be formatted?
USB stick does not show up
I plugged in my USB drive and nothing happens. How do I get my files?
'The parameter is incorrect' when opening a drive or copying files
How do I fix 'the parameter is incorrect' error?
The drive is full but you cannot see what is using it
Windows says my disk is full but my files are small. Where did the space go?
Your disk is almost full
Windows keeps warning me that my disk is full. What can I safely delete?
You do not have permission to open this folder
Why does my laptop say 'you don't currently have permission to access this folder'?
Still not it? Browse every fix or see more in files and storage.
Who wrote this and how we checked it
The CommonFixes team
Writer and researcher
We are a small group of people who spend our days repairing laptops and desktops for family, friends and small offices. Every guide here starts with a problem someone actually brought to us, and we only write down the steps that put the machine right.
- Everyday repairs
- Windows and Mac
- Plain language
CommonFixes review desk
Technical editor
Before a guide goes live, a second person walks through it on a real machine and checks each instruction against the maker's own support pages. Anything we cannot confirm is removed rather than guessed at.
- Fact checking
- Safety warnings
- Source links
This guide was last updated on 10 August 2026. If a step no longer matches what you see on screen, tell us on the contact page and we will test it again.
A gentle reminder: back up anything you cannot afford to lose before major repairs. If a step ever feels risky, stop and ask a technician. There is no shame in that.