Quick answer
When a USB or SD card asks to format, the most important thing is not to agree to formatting until you try to save the data. First make a copy if the disk is still readable, then check for errors and, if necessary, use a data recovery tool. Only format after the data is saved or when other methods fail.
How to recognize the problem
- Windows shows a message that the disk needs to be formatted when connected
- USB or SD card appears in Explorer but with 0 bytes or as RAW
- Files cannot be opened or copied, an error appears
- The disk makes noise or blinks but the system does not read it
- The message appears on another computer as well
Most common causes
Corrupted or damaged file system
The file system structure (FAT, exFAT, NTFS) is corrupted due to improper ejection or power interruption. Windows then cannot read the contents and offers to format.
Bad sectors or flash memory wear
USB and SD cards have a limited number of writes. When bad sectors appear, the controller may switch to read-only mode or report an error.
Power interruption or removal during operation
If the disk is removed while writing, the file system may remain incomplete. The same happens with a power outage on an external disk.
Faulty USB connector or cable
Poor contact can cause communication errors and a message that the disk needs to be formatted. Sometimes the problem is in the cable or port, not the disk itself.
Virus or malicious software
Rare but possible: malware can damage the file system or hide files. An antivirus scan is part of diagnostics.
Step-by-step fix
- 1
Do not agree to format
When a dialog appears offering to format the disk, click Cancel or close the window. Formatting erases data and makes recovery harder. If you have already formatted, stop further work and see the data recovery step.
- 2
Check if the problem is the cable or port
Remove the USB and plug it into another port, preferably directly on the motherboard (rear). Try another cable if it is an external disk. If the message does not appear, the problem was the cable or port.
- 3
Try to save data if the disk is readable
If the disk contents are visible in Explorer, immediately copy all important files to another disk or to the cloud. Do not open files directly from the USB. If copying fails, skip the problematic files and try later.
- 4
Check for errors without formatting
Open Command Prompt as administrator and type
chkdsk X: /f(replace X with the drive letter). If Windows cannot access the disk, skip this step.chkdskcan repair the file system but does not recover lost files. - 5
Use a data recovery tool
If the disk is not readable, use a reputable recovery tool from another location (do not install it on the USB). Run a scan and save the found files to another disk. Free versions usually limit the amount of data you can recover.
- 6
Make a copy of the entire disk before formatting
If you have enough space, make an image copy of the USB with a tool such as dd (on Linux) or a commercial cloning tool. That way you can later attempt recovery without the risk of overwriting data. Make sure to select the correct disks as source and destination, because
ddcan overwrite the wrong disk. - 7
Format only after the data is saved
When you have saved what you can, open Disk Management (
diskmgmt.msc), right-click the partition and select Format. Keep in mind that formatting erases all data on the partition. Choose exFAT for transfer between Windows and macOS, or NTFS if you will use it only on Windows. - 8
Check the disk health
After formatting, check if errors recur. For USB and SD cards, that is a sign that the memory is nearing the end of its life. For external disks, use the manufacturer's diagnostic tool if available.
If nothing helps: professional recovery
If the data is extremely important and the recovery tool does not find files, stop all actions on the disk. Every new write reduces the chance of successful recovery. Contact a professional data recovery service that works in controlled conditions. For business users, consider never keeping critical data only on a USB. Regular backup in two places (for example, an external disk and the cloud) is the only real protection. If the disk is under warranty, do not open the enclosure because that may void the warranty.
How to prevent it
- Always use the **Safely Remove Hardware** option before removing a USB or SD card.
- Do not keep the only copy of important data on a USB or SD card.
- Periodically check the disk health and make a backup.
- Avoid cheap cards from unknown manufacturers for important data.
When to call a professional
If the data is business-critical or the disk still produces errors after formatting, it is better to contact IT support or a data recovery service than to risk permanent loss.
IT infrastructure maintenance · Servers, networks, backup, security and helpdeskFAQ
Does formatting erase all data forever?
Not always. Quick formatting usually erases only the file table, so data can be recovered until it is overwritten by new writes. Therefore, stop using the disk immediately and attempt recovery.
Can I save data if Windows does not see the disk?
If Windows does not see the disk in Explorer, check **Disk Management**. If it appears as RAW or unknown, you can try recovery with a tool that works with raw sectors. Otherwise, a professional service is needed.
How much does data recovery from a USB cost?
The price depends on the amount of data and the condition of the disk. Free tools can help, but professional recovery can be expensive. Always try safe steps first and, if possible, save a copy.