USB Drive Says Write Protected in Windows 11: Diagnose Before Formatting
Write protection can be deliberate, policy-enforced, or a warning that flash storage is failing. Do not format the drive or select a disk in DiskPart until important files are copied and the physical disk has been identified by model and size.
Start with non-destructive evidence
- Check the USB drive or SD adapter for a physical lock switch.
- Test whether existing files can be read and copied to another disk.
- Test the drive on another trusted computer. If it remains read-only everywhere, the device or its controller is more likely than one Windows setting.
- In an elevated PowerShell window, inspect the disk without changing it:
Get-Disk | Select-Object Number, FriendlyName, SerialNumber, BusType, Size, IsReadOnly, IsOffline, HealthStatus
Match the model, serial, bus type, and capacity. Never choose a disk number by guesswork.
What the result means
- Physical switch locked: eject the device, move the switch, reconnect, and re-test.
- Windows reports
IsReadOnly=Trueon only this computer: a disk attribute or policy may be involved. - The drive becomes read-only on every computer: back up readable data. Some flash controllers lock writes when media health deteriorates.
- Only one folder rejects writes: inspect file permissions and ownership rather than disk-wide protection.
Clear a software attribute only after identification
If the correct disk is healthy, backed up, and clearly identified, an administrator can use DiskPart to inspect attributes disk. Clearing a read-only attribute changes state, so confirm the selected disk again before running it. If the attribute returns immediately, stop repeating the command and investigate policy or failing media.
Registry-wide write-protection changes are not a safe first step. Managed computers may intentionally enforce removable-storage policy.
Verify the result
Create a small test file, read it back, delete it, safely eject the device, reconnect it, and repeat. A one-time successful write without reconnecting is incomplete evidence.
How Againly helps
Againly can inventory disks, distinguish device-wide from folder-level protection, and prepare a safe change for approval. It should never guess a disk number or format media as a generic write-protection repair.
[CTA: Try free diagnosis]