---
title: 'The Disk Is Write-Protected': Causes and Fixes
url: https://recdati.com/guides/disk-write-protected/
description: Windows says 'The disk is write-protected' on a USB flash drive, SD card or SSD? The simple causes, when the device has locked itself to protect your data, and how to save the files.
language: en-US
---

SSD and flash

# 'The disk is write-protected': what it means and how to save the files

The message appears when you try to copy, delete or format something, and it can mean two very different things. Sometimes it is a switch, a setting or a policy. Sometimes the device has detected a serious fault and locked itself to read-only to protect the data still on it.

Published 18 November 20262 min readBy [Mirush Murataj](https://recdati.com/about-us/#author)

Check the lock switch on SD adapters, Windows settings and the Diskpart read-only attribute.

In short

- Check the lock switch on SD adapters, Windows settings and the Diskpart read-only attribute.
- A USB flash drive or SSD that turns read-only by itself is often at the end of its life.
- Copy the files while they can still be read, and do not try to force the device back to write mode.

## The simple causes

- **The lock switch** on the side of an SD card or a microSD adapter is in the Lock position. Slide it up. A loose switch on a worn adapter can also trigger the lock.
- **The read-only attribute** is set on the volume. In Diskpart, `attributes disk` and `attributes volume` show it; [Microsoft's Diskpart reference](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/attributes-disk) explains how to clear it on a healthy device.
- **A Windows policy** (Group Policy or the registry) blocks writing to removable storage. This is common on work laptops, where it is set deliberately by IT.
- **A file system error** makes Windows mount the volume read-only until it is checked.
- **The file is too large**: a FAT32 stick cannot hold a file over 4 GB, which some tools report confusingly.

## When the device protects itself

Flash memory wears out with each write. When a USB flash drive, a memory card or an SSD runs out of spare blocks, or its controller detects errors it cannot correct, many models switch permanently to read-only. This is deliberate: the controller stops accepting writes so that the data already stored can still be read.

In that case, no software can make the device writable again, and attempts to "repair" or format it can make the controller fail completely.

## When the files will not copy either

If the device is read-only and copying also fails, freezes or produces corrupted files, the memory is degrading further. Stop the attempts. A lab can read the memory chips directly, or use the controller's test modes, to recover the files. See [USB flash drive data recovery](https://recdati.com/data-recovery/usb-flash-drive/) and [SD card data recovery](https://recdati.com/data-recovery/sd-card/).

## What not to do

- Do not use formatting or "unlocking" utilities downloaded from unknown websites.
- Do not repeatedly unplug and reconnect a device that is failing.
- Do not run CHKDSK on a device that the controller has locked.

For SSDs that turn read-only, the causes and recovery are similar to those in [SSD not detected: why it happens and how the data is recovered](https://recdati.com/guides/ssd-not-detected/).

## Frequently asked questions

Can a write-protected USB flash drive be repaired?

If the protection comes from a switch, an attribute or a policy, yes. If the controller locked itself because the memory is worn out, no: the device should only be used to copy the data off, then replaced.

Is my data lost when a stick turns write-protected?

Usually not. The read-only mode is designed to keep the existing data readable. Copy it as soon as possible, before the device degrades further.

## Official sources and useful links

- [Microsoft Support](https://support.microsoft.com/): Official Windows help: Recycle Bin, File History, disk tools.

Share this guide

- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Frecdati.com%2Fguides%2Fdisk-write-protected%2F)
- [Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Frecdati.com%2Fguides%2Fdisk-write-protected%2F)
- [WhatsApp](https://wa.me/?text=https%3A%2F%2Frecdati.com%2Fguides%2Fdisk-write-protected%2F)
- [Email](mailto:?body=https%3A%2F%2Frecdati.com%2Fguides%2Fdisk-write-protected%2F)
-

Cite this article

Murataj, Mirush. "'The disk is write-protected': what it means and how to save the files". RecDati, 18 November 2026. https://recdati.com/guides/disk-write-protected/

Is your data important?

Do not try anything that could make the fault worse. The diagnosis is free and you get a fixed quote before any work starts.

[Request a free diagnosis](https://recdati.com/free-diagnosis/) [USB flash drive data recovery](https://recdati.com/data-recovery/usb-flash-drive/)

Need a diagnosis?

Free, no obligation, reply within 2 hours.

[Free diagnosis](https://recdati.com/free-diagnosis/)[(866) 357-2602](tel:+18663572602)

## Read next

- [SSD not detected: why it happens and how the data is recoveredSSDs do not click or grind before they fail. One morning the computer simply cannot find its drive, or it…](https://recdati.com/guides/ssd-not-detected/)
- [Corrupted SD or microSD card: how to save your photos and videosWedding photos, a whole vacation in Yellowstone, months of drone footage: a lot of irreplaceable images live…](https://recdati.com/guides/sd-card-corrupted-photos/)
- [How to recover deleted files in Windows 10 and 11A deleted spreadsheet, a folder of scanned invoices, the only copy of a dissertation chapter: deleted files…](https://recdati.com/guides/recover-deleted-files-windows/)
- [How to get deleted photos and files back on AndroidAndroid phones keep deleted photos in more places than most people realize: the gallery's own trash, Google…](https://recdati.com/guides/recover-deleted-files-android/)
- [How to recover deleted photos on an iPhoneOn an iPhone, the realistic ways to recover a deleted photo are the ones Apple builds in: the Recently…](https://recdati.com/guides/recover-deleted-photos-iphone/)
- [Bad sectors on a hard drive: what they mean and what to doA warning about bad sectors is one of the few early alarms a hard drive gives before it fails. It is tempting…](https://recdati.com/guides/hard-drive-bad-sectors/)

Your device has stopped responding? Switch it off and talk to us.

[Request a free diagnosis](https://recdati.com/free-diagnosis/)[Request a call back ](https://recdati.com/free-diagnosis/)
