‘You Need to Format the Disk’ — Recover First, Format Last (2026 Updated Guide)
Quick answer
Windows is telling you the drive’s file system is unreadable, not that the data is gone. Do not click Format. Unplug the drive and read this guide first. The data on a RAW drive is almost always still there — but every read or write reduces your odds of getting it back. The right order is: stop, recover, then format.
Before you start
A few rules before you touch anything:
- Do not click “Format disk” in the Windows pop-up. Whatever you do next, that button is the wrong button.
- Do not run CHKDSK yet. CHKDSK is useful in some cases and destructive in others, and you can’t tell which case you have until you’ve inspected the drive properly. We’ll get to it.
- Do not write any new data to the drive. That includes “let me just save one file to test.” Every write reduces recoverable data.
- If the drive is encrypted with BitLocker and you don’t have the recovery key, stop here. Find the key first. Without it, no recovery method in this guide will help you.
- If the drive is on a work or school device, contact your IT admin before attempting anything. Most organizations have endpoint backup that may already have your data.
If you’ve already clicked Format — recovery is still often possible after a quick format, just harder. Skip to the section “What to do if you’ve already formatted.”
What this error means
The full message is usually one of these:
You need to format the disk in drive X: before you can use it. Do you want to format it?
X: is not accessible. The volume does not contain a recognized file system.
Both messages mean the same thing. Windows can see the drive at the hardware level, but it can’t make sense of the file system on it. In Disk Management, the volume usually shows as RAW rather than NTFS, FAT32, or exFAT.
RAW does not mean “wiped” or “blank.” It means Windows lost the map of where files are stored. The files themselves are almost always still on the platters or flash chips, untouched. What’s broken is the index Windows uses to find them — the partition boot sector, the master file table, or the partition table itself.
This is why formatting is exactly the wrong first move. Formatting writes a fresh file system over the top of the broken one, which buries your data deeper and reduces what’s recoverable.
Where this error appears
You’ll see this on:
- External hard drives unplugged without “Safely Remove Hardware”
- USB flash drives yanked out mid-write
- SD cards and microSD cards removed from a camera or phone before files finished saving
- Internal drives after a sudden power loss, BSOD during a write, or interrupted Windows update
- Drives moved between computers that interrupted a write on the previous machine
- Drives previously used in macOS or Linux with file systems Windows can’t read (APFS, HFS+, ext4) — this isn’t actually corruption; it’s Windows asking you to wipe the drive so it can use it
The macOS/Linux case is important. If the drive came from a Mac or a Linux machine, the data is fine — Windows just doesn’t speak that file system. Plug it back into the original machine to read it. Don’t format it.
Common causes
Five causes account for the overwhelming majority of cases:
- Improper removal. The drive was unplugged or the system was powered off while data was being written. The most common cause by a wide margin.
- Power failure during write. A laptop battery died mid-copy, or the desktop tripped the breaker, while a file system structure was being updated.
- Bad sectors developing. Older drives accumulate bad sectors over time. Once a critical sector goes bad — especially in the boot sector or MFT — the file system becomes unreadable.
- Driver or firmware problem. Less common, but the drive itself is fine and Windows just can’t read it. Reconnecting via a different USB port, cable, or computer often resolves this.
- Foreign file system. The drive uses a file system Windows doesn’t recognize (APFS, HFS+, ext4). Not corruption. Don’t format.
The decision tree
Before any fix, work out which scenario applies. The right next step depends on the answer.
Step 1 — Is the data on this drive replaceable?
- Yes (it’s all backed up elsewhere, or you don’t care). Skip recovery. Go straight to “Format the drive cleanly” at the end.
- No, or you’re not sure. Continue to Step 2.
Step 2 — Was this drive ever used in macOS or Linux?
- Yes. Plug it back into a Mac or Linux machine. Read your files there. Copy them off. Then come back to Windows and format.
- No, or you’re not sure. Continue to Step 3.
Step 3 — Does the drive show in Disk Management?
Open Disk Management (right-click Start → Disk Management).
- Drive doesn’t appear at all. This is a hardware-detection problem, not a file-system problem. Try a different USB port, a different cable, and a different computer. If it still doesn’t appear, the drive may be physically failed — see “When to stop” below.
- Drive appears as RAW. Continue to Step 4. This is the standard case this guide covers.
- Drive appears as NTFS or FAT32 but Windows still asks to format it. The file system header is intact but corrupted further down. Recovery tools usually have an easier time with this case. Continue to Step 4 anyway.
Step 4 — Is the drive still spinning / responsive at the hardware level?
- Drive sounds normal, no clicks, no grinding. Software recovery is appropriate. Continue to “Recover your data first.”
- Drive clicks, grinds, beeps, or makes any abnormal noise. Stop. Unplug it. The mechanical components are failing. Software recovery will likely make things worse. See “When to stop” below.
Recover your data first
The principle here is simple: recover whatever is recoverable to a different drive before you do anything else to the original. Pick one of the following methods.
Method 1 — Microsoft-native restore paths (try first if data was synced)
Before installing any recovery software, check whether your files are already restorable from elsewhere:
- OneDrive Personal Vault or business backup. If the affected drive contained a folder synced to OneDrive, the files are already in the cloud. Sign into OneDrive on a different machine and check.
- Windows File History. If File History was enabled on the affected drive, files are backed up to whatever drive File History was pointed at. Search “File History” in Start, then “Restore your files.”
- Windows Backup (Windows 11 24H2 and later). Windows 11’s built-in backup syncs Documents, Pictures, Desktop, and Videos folders to OneDrive by default. Check there.
- Time Machine (if Mac was the original device). Connect to a Mac and pull from Time Machine.
If your data shows up in any of these, you’re done. Format the original drive cleanly and restore from the backup.
Method 2 — TestDisk (free, open source)
TestDisk is a long-standing free tool from CGSecurity used by data recovery professionals. It runs from the command line and rebuilds partition tables and boot sectors.
It’s the right tool when:
- The drive shows as RAW in Disk Management
- The data on it isn’t already backed up elsewhere
- You’re comfortable working in a text-mode interface
- You’re patient
It is not the right tool when you want a quick GUI scan with thumbnail previews, or when the file system damage is too severe for boot-sector reconstruction.
The TestDisk documentation walks through the recovery flow step by step. Two non-negotiables when using it: always select the drive — not the partition — and always write recovered files to a different drive than the source.
Method 3 — Recuva (free, GUI)
Recuva is a free, GUI-based file recovery tool from CCleaner. It’s well-suited for accidental deletion and basic RAW recovery. The free version recovers files; there is no functional cap on how much it can recover for personal use, though deeper-scan options are paid. For a single panic-recovery scenario, the free version typically gets the job done.
It works well when:
- You want to preview files before recovering
- The damage is to the file index, not the partition table
- You’re recovering common file types (Office documents, photos, videos)
Method 4 — Paid recovery software
There is a category of paid recovery software (Disk Drill, EaseUS Data Recovery, R-Studio, MiniTool Power Data Recovery, Stellar, DiskGenius, and several others) that handles harder cases than TestDisk or Recuva. We do not recommend specific products in this guide; ad supported sites that “compare” them are usually affiliate marketing and not editorial.
If TestDisk and Recuva can’t recover what you need, paid software is a reasonable next step. Most of these tools have a free preview mode that scans the drive and shows you what’s recoverable before you pay. Always use the preview before paying. If the preview can’t see your files, the paid version probably can’t either.
Method 5 — Professional data recovery lab
For drives with physical failure (clicking, grinding, dropped, water damaged, encrypted with a lost key), software recovery will not help and may make things worse. A professional lab opens the drive in a clean room and reads the platters with specialised hardware.
This is expensive — usually several hundred dollars at minimum, sometimes thousands. It’s worth it for irreplaceable data and not worth it for anything else. Reputable labs will quote you after evaluation, before charging for recovery.
Advanced fixes (only if recovery is complete or data is replaceable)
Once your data is safe — only once your data is safe — you can repair or wipe the drive.
Run CHKDSK
CHKDSK can sometimes repair a file system enough to mount it, but it can also write changes to damaged areas and make the drive harder to recover from. That’s why we run it after recovery, not before.
Open Command Prompt as administrator and run:
chkdsk X: /f
Replace X: with the drive letter. The /f flag tells CHKDSK to fix errors it finds.
If CHKDSK responds with “The type of the file system is RAW. CHKDSK is not available for RAW drives,” skip to the format step below.
Reinitialize through Disk Management
If CHKDSK can’t help, the cleanest path is to reformat in Disk Management:
- Right-click Start → Disk Management
- Locate the drive
- Right-click the volume → Format
- Choose NTFS for internal drives or exFAT for removable media used across operating systems
- Leave allocation unit size at default
- Tick Perform a quick format
- Click OK
Quick format is appropriate here. A full format takes hours and writes zeros to every sector, which makes future recovery harder if you change your mind. Quick format is reversible; full format is much less so.
Use DiskPart (last resort)
If Disk Management can’t format the drive, DiskPart can. Open Command Prompt as administrator, type diskpart, then:
list disk
select disk N (where N is the disk number — be careful)
clean
create partition primary
format fs=ntfs quick
assign
Triple-check the disk number before running clean. DiskPart will happily wipe your system drive if you select the wrong number. There is no undo.
If you are on a work or school device
Stop and contact your IT admin before doing anything. Three reasons:
- Endpoint backup may already have your data. Most organizations using Microsoft 365 have OneDrive Known Folder Move enabled, plus endpoint backup (Datto, Druva, Veeam, or similar). Your data may already be in the cloud, fully recoverable, with zero effort.
- BitLocker is probably enabled. Most managed Windows 11 devices have BitLocker on by default. The recovery key is held by your IT admin, not by you. Without that key, recovery from a RAW BitLocker drive is functionally impossible.
- Compliance. If the drive contained client data, regulated information (HIPAA, GDPR, PCI), or anything covered by your organization’s data handling policy, plugging it into recovery software on your home PC may itself be a policy violation. Check first.
When to stop
Stop and seek professional help if any of the following are true:
- The drive is making mechanical noise — clicking, grinding, beeping. Software recovery on a physically failing drive almost always makes things worse.
- The drive is dropped, burned, or water-damaged. Don’t power it on. Send it to a lab.
- The drive is BitLocker-encrypted and you don’t have the recovery key. Without the key, no recovery method will work. Find the key first.
- The data is mission-critical and irreplaceable — wedding photos, only copies of legal documents, business records — and the first recovery attempt didn’t work. Each subsequent attempt reduces what’s recoverable. A professional lab is more expensive but more likely to succeed on the first attempt.
- You don’t know what you’re doing. This isn’t a put-down. RAW recovery has irreversible failure modes and the consequences of getting it wrong are losing data permanently. If you’re nervous, paying a professional once is cheaper than paying for recovery twice.
- Multiple recovery attempts have already failed. Stop. Each attempt costs more recoverable data than it returns.
What to do if you’ve already formatted
Quick format is recoverable in most cases. The format wrote a new file system header but the actual data is mostly intact underneath. Follow the recovery methods above — TestDisk, Recuva, or paid software — exactly as you would for a RAW drive. Most tools will surface the previous file structure if you select “deep scan” or “advanced scan.”
Full format is much harder to recover from. Full format on Windows 11 (since version 21H2) writes zeros to every sector, which destroys most file content. Some recovery is occasionally possible but expect partial results at best.
If you’ve formatted and written new data to the drive, recovery odds drop further with every write. Stop, follow the steps above, and accept that some files won’t come back.
Related errors
- SD Card Not Readable — Recover First — same recovery principles for SD and microSD media.
- Recovery Software vs Backup Restore — Decision Tree — work out which path is right before installing anything.
- Excel Recovery: Which Tool? — Decision Tree — the equivalent decision tree for corrupted Office files.
Official references
- TestDisk documentation (CGSecurity) — step-by-step recovery walkthrough from the project itself.
- Microsoft: How to use Disk Management to format a drive — official Microsoft documentation.
- Microsoft: BitLocker recovery key — how to find your BitLocker recovery key if you have a personal Microsoft account.
FAQ
Will formatting the disk delete my data forever? Quick format makes data harder to recover but not impossible — most files can be retrieved with recovery software immediately afterward. Full format on modern Windows writes zeros to every sector and destroys most data. The safest order is always: recover first, format second.
Why is the drive showing as RAW? RAW means Windows can’t read the file system on the drive. The data is usually still there; the index that points to it is broken. Common causes are unplugging without ejecting, power loss during a write, and bad sectors developing in the file system header.
Can CHKDSK fix a RAW drive? Sometimes, but it’s the wrong first step. CHKDSK can write changes to damaged sectors and reduce what’s recoverable. Recover your data first, then run CHKDSK on the empty drive if you want to reuse it.
How long does data recovery take? A surface scan runs in 15–60 minutes on most drives. A deep scan can take several hours, sometimes a full day on large drives. The wait is normal and expected.
Is free recovery software enough? For most RAW recovery scenarios, yes — TestDisk and Recuva handle the majority of cases. Paid tools become useful when the file system damage is severe or when you need to recover specific file types from a deep scan. The free preview modes of paid tools tell you whether paying will help.
What if my drive isn’t recognized at all? That’s a hardware-detection problem, not a file-system problem. Try a different cable, different USB port, and a different computer. If it still doesn’t appear, the drive controller has likely failed and software recovery won’t help — a professional lab is the only path.