Quick answer: Open Command Prompt as admin, run chkdsk X: /f (replace X with your drive letter), then restart. If it's still read-only, run diskpart, select the disk, type attributes disk clear readonly, then exit.
I've seen this one maybe fifty times over the years. Client calls, says their external drive won't let them save files. Or their internal second drive just stopped taking new data. The file explorer shows the drive, but every time they try to paste a file or save a document, Windows throws some error like "The disk is write-protected" or "Cannot save file. The disk is read-only." It's always a shock, and people panic thinking they lost everything. Most of the time, you haven't. The data is still there, just the drive's write permissions got locked up.
This happens for a few reasons. Could be Windows glitched after a bad shutdown. Could be the drive's file system got a little corrupted (not physically dead, just a flag got flipped). Could be a failing drive that set itself to read-only as a safety move. Rarely, it's a hardware write-protect switch on the outside of the drive (those old USB drives with a physical switch).
Here's the steps I use. They've saved about nine out of ten drives I've worked on.
Fix Steps
Step 1: Check for a physical write-protect switch
Look at your drive's casing. Some USB drives have a tiny slider labeled "Lock" or "Write Protect." If it's slid to lock, slide it back. Had a client last month whose kid flipped the switch on a 2TB Western Digital drive. We spent twenty minutes troubleshooting before I noticed it. Don't skip this.
Step 2: Run CHKDSK to fix file system corruption
- Open Command Prompt as administrator. Press Windows key, type "cmd", right-click, choose "Run as administrator."
- Type
chkdsk X: /f(replace X with your drive letter). Press Enter. - Let it run. Could take a few minutes for big drives.
- If it finds errors, it'll fix them. After it finishes, restart your computer.
This fixes the file system flag that might be telling Windows the drive is read-only. Nine times out of ten, this alone does the trick.
Step 3: Use Diskpart to clear the read-only attribute
If chkdsk didn't work, the drive might have a read-only attribute set at the disk level. Here's how to clear it:
- Open Command Prompt as admin again.
- Type
diskpartand press Enter. - Type
list disk. You'll see all your disks. Note the disk number of the read-only drive (usually size tells you which is which). - Type
select disk X(replace X with the disk number). - Type
attributes disk. You'll see "Current Read-only State: Yes". - Type
attributes disk clear readonlyand press Enter. - Type
exitto leave diskpart.
This directly removes the read-only flag from the disk. If the drive is physically failing, this might not stick, but it's worth trying.
Step 4: Check drive health
If the problem keeps coming back, your drive might be dying. Run a quick health check:
- Download CrystalDiskInfo (free, small). Open it, look at the drive's "Health Status." If it says "Caution" or "Bad," the drive is failing. Back up your data now.
- Also check the S.M.A.R.T. data for reallocated sectors. If you see lots of those, the drive is toast.
Alternative Fixes If the Main Steps Fail
Try a different USB port or cable
Sounds dumb, but I've fixed three drives by swapping a cheap USB cable. Bad cables can cause intermittent connection issues that Windows interprets as a read-only state. Plug the drive into a different port on the back of your PC (those motherboard ports are more stable).
Test on another computer
Plug the drive into a different PC. If it's still read-only, the drive itself is the problem. If it works fine, it's your computer's USB controller or drivers. Update your chipset drivers from your motherboard manufacturer's website.
Use Linux to force write
If you have a Linux live USB, boot from it. Linux doesn't care about Windows file system flags the same way. Mount the drive and try copying a file to it. If it works, the drive is fine—Windows is just being stubborn. Sometimes you can use Linux to copy your data off, then format the drive in Windows to reset everything.
Last resort: Format the drive
If you've backed up your data and the drive is still read-only, a full format can fix it. Right-click the drive in File Explorer, choose Format, pick NTFS, quick format. If that fails (says the disk is write-protected), use diskpart: clean the disk, then create partition primary, then format. This wipes everything, so only do it if you've saved your files.
Prevention Tip
Always safely eject external drives before unplugging them. Yanking a USB drive while it's writing is the number one reason file systems get corrupted and flip to read-only. Also, run chkdsk once a month on any drive you care about. Takes two minutes, saves you a headache later. If your drive is older than 3 years, consider replacing it before it fails completely. Hard drives are cheap. Losing your tax records or family photos is not.
I had a client whose 2TB external drive went read-only after a power surge. chkdsk fixed it in five minutes. The real scare was the data—we got it all back. Don't ignore the health check step.