When a pen drive is write-protected, Windows may block copying, deleting, formatting, or renaming files.
The cause can be a lock switch, read-only attribute, registry policy, file system damage, or failing flash memory.
Write protection prevents changes. It may be intentional, policy-based, or a symptom that the USB drive is failing.
Try another USB port and another computer. If Windows asks to format, recover files first.
Windows includes several checks for software-based write protection.
Step 1. Check the USB body and adapter for a lock switch.
Step 2. Run DiskPart as administrator, list disk, and select the USB disk carefully.
Step 3. Run attributes disk clear readonly, then reconnect the drive.
Step 4. Check StorageDevicePolicies in Registry Editor and set WriteProtect to 0 if present.
Step 5. If the drive is readable but not writable, copy files away before formatting.
If the drive is unreadable, RAW, write-protected, or about to be formatted, recover important files before repair. Formatting, cleaning, or repeated write tests can overwrite recoverable data.
Step 1. Open Qiling Deep Data Recovery and choose the scan mode that matches the case, such as USB/SD Scan, Format Scan, or Disk Scan.
Step 2. Select the original drive, USB drive, SD card, or partition. Confirm it by capacity and drive letter, then click Scan.
Step 3. Let the scan finish. Browse results by path or type, and use search, extension, size, and modified date to narrow the list.
Step 4. Select the files you need and click Recover. Save them to a different physical disk, not back to the damaged or formatted device.
Copy a small file to the drive, eject it safely, reconnect it, and confirm the file remains readable.
It may have a switch, read-only attribute, Windows policy, corruption, or failing flash memory.
Only if Windows can still write to the device. Hardware failure may keep it locked.
Yes, if Windows can read the device. Save recovered files to another disk.
Handle a write-protected pen drive carefully. Clear software locks first, recover data if unstable, and replace the drive if the issue returns.