USB Drive Says ‘You Need to Format the Disk’? 10 Safe Fixes Before You Format


You plug in a USB drive and Windows shows a box. It says you need to format the disk before you can use it. Your photos, documents or backups were on that drive. Now Windows wants to erase it.
Do not click Format disk. Formatting wipes the file list on the drive. Often the data is still there, and the fault is small. This article shows you how to find the cause and get your files out first. It covers 10 checks, from the safest to the last resort.
Your drive may not show up at all, or Windows may not recognize it when you plug it in. If so, read our guide on fixing ‘USB device not recognized’ in Windows first. This article is about a drive that Windows sees but will not open. The same message can appear on an SD card, and our guide on SD card not showing up in Windows 11 covers that case.
Why Windows Says You Need to Format the Disk
Windows shows this message when it cannot read the drive's file system. The file system is the index that tells Windows where each file sits. These are the common causes:
- Unsafe removal. The drive was unplugged while Windows was writing to it, so the index is damaged.
- A different system formatted it. A drive set up on a Mac (APFS or HFS+) or on Linux (ext4) is not readable in Windows. Windows treats it as blank.
- A bad port, cable or hub. Weak power or a poor connection can give Windows a half-read drive.
- A driver or power-saving fault. Windows may switch the port off at the wrong moment.
- A failing drive. Bad areas on the drive can make the index unreadable.
- Malware or a crash during a file transfer.
Only some of these damage the drive. Most of the time the files are still on it.
Is It the Device, the Cable, the Port, the Driver or Windows?
Spend five minutes on this before you change anything. Move one part at a time:
- Move the drive to another port. Use a port on the back of a desktop if you can.
- Swap the cable. This only applies to external drives that have a removable cable.
- Try another PC. This is the most useful test.
The table shows what each result usually means.
| What you see | Most likely cause | Start with |
|---|---|---|
| Same message on every PC and port | Damaged file system or a drive from a Mac or Linux PC | Checks 4 and 9 |
| Works in another port or on another PC | Port, hub, driver or power setting on your PC | Checks 2, 6, 7 and 8 |
| Works with another cable | Faulty cable | Check 2 |
| Drive is in Disk Management, but not File Explorer | Missing drive letter | Check 5 |
| Disk Management shows RAW, Not Initialized or Unallocated | Lost or damaged file system | Checks 4 and 9, and do not format |
| Drive clicks, drops out or gets very hot | Failing drive | Stop, then see the professional help section |
| Not in Disk Management on any PC | Dead drive, cable or port | Check 2, then the professional help section |
10 Safe Checks for the “You Need to Format the Disk” Error
Checks 1 to 8 do not change the data on the drive. Check 9 is about getting your files out. Check 10 repairs or formats the drive, so it comes last.
Check 1: Click Cancel and Stop Using the Drive
When the box appears, select Cancel. If Windows also says the drive is not accessible, close that box as well. If Windows reports that the disk is write-protected instead, see fix a write-protected USB drive.
Do not save, copy or delete anything on the drive. Do not run a “repair” tool you do not know. Every write makes recovery harder. Then unplug the drive with the Safely Remove Hardware icon if it lets you, or just unplug it if nothing is open. When you plug it back in, you should see either the drive open or the same message again. If the message returns, go on to Check 2.
Check 2: Test the Port, the Cable and the Hub
- Plug the drive straight into a port on the PC. Take out hubs and extension cables.
- On a desktop, use a port on the back. Front ports can have weak power.
- Swap the cable for another one that you know works.
- An external hard drive with its own power adapter must be plugged in and switched on. A drive with no power adapter may need a powered USB hub, because some ports give too little power.
- Restart the PC, then plug the drive in again.
If the message goes away, the port or cable was the fault. Use that port or cable from now on, and replace anything that fails again. If the message stays, go to Check 3. For a port that may be damaged rather than loose, see tests to tell a damaged port from Windows.
Check 3: Try the Drive on Another Computer
Plug it into a second PC, preferably another Windows PC. If it opens there, your PC is the problem. Copy your files off straight away, then work through checks 6 to 8. If the drive opens on the second PC, you should see its files in File Explorer. If it does not open on either PC, go to Check 4.
If you ever used the drive on a Mac or a Linux PC, plug it into that machine. Windows cannot read their native formats. Copy the files off there. Then you can format the drive for Windows later.
Check 4: Read Disk Management Before You Do Anything Else
Disk Management shows how Windows sees the drive. It is safe to look at, because you only read it.
- Right-click Start and choose Disk Management.
- Find your drive in the lower panel. Check its size to be sure it is the right one.
- Read the file system and status next to it.
Here is what you may see:
- NTFS, FAT32 or exFAT with no drive letter. The data is probably fine. Go to Check 5.
- RAW. Windows cannot read the file system. The files may still be there. Go to Check 9.
- Not Initialized. Windows sees no partition table.
- Unallocated (a black bar).
Warning: if the drive has files you need, do not choose Initialize Disk, New Simple Volume or Format. Initializing writes a new partition table, and the other two create a blank file system. All three can make your files much harder to recover. Our guide on a new SSD or hard drive not showing up is for brand-new, empty drives only.
Check 5: Add a Drive Letter When the Drive Shows in Disk Management but Not File Explorer
A healthy drive with no letter will not appear in File Explorer. This is safe to fix, and it does not touch your files.
- In Disk Management, right-click the volume that shows NTFS, FAT32 or exFAT.
- Choose Change Drive Letter and Paths.
- Select Add, pick a free letter and select OK.
The drive should now open in File Explorer under the letter you chose. If the option is greyed out, or the volume shows RAW, skip to Check 9. Do not format it.
Check 6: Reinstall the Drive in Device Manager
A glitch in the driver entry can make a good drive look broken. Removing the entry does not erase the data on the drive.
- Right-click Start and open Device Manager.
- Expand Disk drives. Right-click your USB drive and choose Uninstall device.
- Do not tick any box that offers to delete driver software for a hard drive.
- Unplug the drive, wait ten seconds and plug it in again. Windows reinstalls the entry.
Also look under Universal Serial Bus controllers for any item with a yellow warning sign. A warning there points to a port or driver fault. You should see the drive return under Disk drives. If it still does not open or show a letter, go to Check 9.
Check 7: Turn Off USB Power Saving
Windows can power down idle USB ports. On some PCs this makes a drive drop out and come back half-read.
- In Device Manager, expand Universal Serial Bus controllers.
- Double-click each USB Root Hub entry and open the Power Management tab.
- Untick Allow the computer to turn off this device to save power and select OK.
- In Control Panel > Power Options, choose Change plan settings, then Change advanced power settings. Set USB settings > USB selective suspend setting to Disabled.
On a laptop this uses a little more battery. You can turn it back on later. You should see the drive stay connected through a longer test. If it still drops out, go to Check 8.
Check 8: Run Windows Update and Update the USB and Chipset Drivers
Open Settings > Windows Update and select Check for updates. Then open Advanced options > Optional updates and look for driver updates.
For a desktop, also get the chipset and USB drivers from your motherboard or PC maker's website. Our guide on how to update drivers in Windows 11 safely shows the safe sources. Restart after any update, then plug the drive in again. If the message remains, go to Check 9 and get your files off the drive.
Check 9: Get Your Files Off the Drive First
If the drive still says you need to format the disk after checks 1 to 8, treat the files as the priority. Do this before any repair.
- If the drive opens on any PC, even slowly, copy the files to a different drive now. Copy the most important ones first.
- If Windows cannot open it, try a recovery tool. Microsoft offers Windows File Recovery, a free command-line app in the Microsoft Store. The source drive and the destination must be different drives. A command looks like winfr E: D: /extensive, where E: is the bad drive and D: is a healthy one with enough space. Microsoft's page explains the modes.
- Never save recovered files back onto the same drive. That can overwrite the data you are trying to save.
Results vary. A tool cannot recover every file, and it may not work on a drive with no readable file system. If the data matters a great deal, or the drive is clicking, skip this and go to the professional help section. Our guide on how to back up your Windows PC helps you avoid this problem next time.
Check 10: Repair the Drive or Format It, Only as the Last Step
Take this step only when you have copied or recovered what you need, or when the drive holds nothing you care about.
- The drive shows a normal file system but will not open. Windows error checking can sometimes repair it, but repairs can change or delete data. Use it only after the files you need are copied or recovered. Do not run it on a drive that holds important unrecovered files, or on a drive that clicks or keeps disconnecting. To use it, right-click the drive in File Explorer, choose Properties > Tools and select Check.
- The drive shows RAW. Error checking cannot repair a RAW drive. Formatting is the usual fix, and it removes access to the files. If important files are not recovered yet, do not format. Go back to Check 9 or to the professional help section.
Warning: formatting and initializing make files hard to recover. Only go on if your files are safe somewhere else.
- Right-click the drive in Disk Management and choose Format. Check the size and letter to be sure it is the right drive.
- Choose NTFS for a drive used only with Windows, or exFAT for one shared with Macs and cameras. To compare them, see how FAT32, exFAT and NTFS differ.
- Leave Perform a quick format ticked, then select OK.
If the drive was not set up at all, you may need to choose Initialize Disk and then New Simple Volume first, but only when nothing on it needs to be saved. If it may hold important files, do not initialize it. Go back to Check 9 or get professional help.
If a drive keeps failing after a format, replace it. Our guide on checking your hard drive or SSD health shows how to check its condition.
When to Stop and Get Professional Help
Stop and take the drive to a data recovery service or a PC repair technician if:
- The drive clicks, grinds, beeps or spins up and down.
- It gets very hot, or smells burnt.
- It drops out again and again, on more than one PC.
- It does not appear in Disk Management on any PC.
- The drive was dropped or got wet.
- The files are important and you have no copy.
Keep plugging a failing drive in only if you must. Every attempt can damage it more. Tell the technician what you tried. Also tell them if you ran any format or initialize steps.
Frequently Asked Questions
Is it safe to click Format when Windows says to?
Not if the drive holds files you want. Formatting removes the file list, and it makes the files hard to recover. Click Cancel and use the checks above first.
Why does a USB drive show as RAW?
RAW means Windows cannot read its file system. The usual causes are unsafe removal, a crash during a transfer, a damaged drive, or a drive made for a Mac or Linux PC.
Can I recover files from a drive that says it needs formatting?
Often you can, but it is never certain. Copy the files off if the drive opens anywhere. If not, try a recovery tool that saves to a different drive, or use a professional service.
Does it help to run chkdsk?
Error checking can fix a drive that still shows a normal file system. It cannot fix RAW, and it may make a failing drive worse. Repairs can also change or delete data, so do not run it while important files are unrecovered. Copy or recover them first.
Why does the drive show in Disk Management but not in File Explorer?
It most likely has no drive letter. In Disk Management, add one with Change Drive Letter and Paths. This does not touch your files.
Final Thoughts
When Windows says you need to format the disk, stay calm and click Cancel. Test the port, the cable and another PC, and read Disk Management. Then save your files before any repair.
For help with other computer problems, browse our PC repair guides.