Skip to content
Data recovery lab · Denver, Colorado24/7 emergency line (720) 222-0110Check Case
Back to SSD & Flash Storage Failures

Diagnostic guide

USB Flash Drive Write-Protected, RAW or Showing 0 Bytes – Recover Before You 'Fix' It

Updated Nov 15, 2026
6 min read

Symptom

Your USB flash drive says it is write-protected, shows as RAW, reports 0 bytes, or refuses to format.

These three messages come from the same place: the drive's controller or file system is no longer behaving normally. Microsoft's documentation says a RAW partition means the disk has no recognised file system, and that formatting it erases all data, so a RAW stick should not be formatted if you want the files. Whatever the message, the steps people find first (registry hacks, vendor 'restore' tools, format) either do nothing or destroy the contents. The files, if they are readable at all, are readable now, so copy them before anything else.

Do not

STOP - Do Not Format or Run a Restore Tool

  • Do not click Format when Windows or macOS offers
  • Do not run a manufacturer's 'restore', 'repair' or low-level format tool
  • Do not edit registry write-protect settings and then write to the drive
  • Do not keep plugging it in and out of different ports and computers
  • Do not run CHKDSK on a stick that is acting up

Why this matters: Microsoft states that formatting a disk erases all data on it and says not to format a RAW partition if you are trying to recover files. A stick that has gone read-only may be failing, and every extra write or reconnect cycle can make it worse. Restore tools are designed to return a drive to blank.

Cause

Most Likely Causes

  1. 01

    Damaged File System

    High Likelihood

    Pulling the stick without ejecting, or a power or port hiccup during a write, can leave the file system unreadable. It then shows RAW or asks to be formatted.

  2. 02

    Controller Fault or Worn Memory

    Medium Likelihood

    Flash drives are cheap, heavily used devices. A controller problem can produce 0 bytes, wrong size or a drive that will not write, while the data may still be readable.

  3. 03

    Physical Write-Protect Switch or Policy

    Medium Likelihood

    Some sticks have a switch, and some computers apply a write-protect policy. This is the simplest cause and the first thing to rule out.

  4. 04

    Damaged Connector or Board

    Less Common

    A cracked USB plug or a broken solder joint produces drives that appear and disappear. The memory chip on the board is often fine.

What to do

Safe Diagnostic Checks

These checks are non-destructive and safe to perform. Follow them exactly as written.

CHECK-01

Rule out the simple things

  1. 01Look for a small lock switch on the stick and slide it to the unlocked position
  2. 02Plug it directly into a port on the computer, not a hub, as Microsoft's guidance suggests
  3. 03Try one other computer; if it behaves the same, the stick is the problem and not your PC
  4. 04Stop after that; repeated reconnecting does not help
CHECK-02

Copy first, read-only

  1. 01If any files show, copy them to your computer right now; do not move them
  2. 02In Disk Management, note whether the drive is Online and what size and file system it reports
  3. 03If it shows RAW or says it needs formatting, choose Cancel
  4. 04If copying fails partway or the drive vanishes, stop and note which folder was last copied

A drive reporting 0 bytes with a wrong capacity is often a controller fault. Do not try to initialise it; Microsoft notes some USB drives cannot be initialised at all, and initialising a disk in use erases its data.

Escalate

When Professional Recovery Is Required

Recommended

You should seek professional data recovery if any of these apply:

  • The stick shows RAW, 0 bytes or the wrong capacity
  • It is read-only and you cannot copy the files
  • The stick is physically damaged: bent, cracked plug, water
  • A format or restore tool has already been run
  • The files are irreplaceable (documents, photos, work)

Process

Our Recovery Process

Turnaround Time
3-7 business days
Success Rate
Assessed in the free evaluation; depends on the damage

What happens when you bring your drive to us:

  1. 01Free evaluation: identify the controller and test whether the memory responds
  2. 02Read the stick through a write-blocked path and create an image
  3. 03If the controller is failing, access the memory directly where the design allows
  4. 04Rebuild the file system on the image and extract your files
  5. 05Verify files open, return on new media

Ready to Recover Your Data?

Free diagnosis / No data, no charge guarantee

FAQ

Frequently Asked Questions

Related

Related Guides

Back to SSD & Flash Storage Failures

Free diagnosis

Need Professional Data Recovery?

Free Diagnosis • No Recovery, No Charge

Our certified technicians have recovered thousands of drives with these exact symptoms. Get your free evaluation today.

97% Success Rate
Across all device types
ISO-5 Cleanroom
Class 100 certified facility
24/7 Emergency
Available for critical cases