How To Remove Write Protection From Pen Drive?

Check the physical write-protect switch on the pen drive and turn it off

Try a different USB port or another computer

Open Command Prompt as administrator

Run `diskpart`

Type `list disk`

Type `select disk X` where X is the pen drive number

Type `attributes disk clear readonly`

Type `exit`

Open Registry Editor

Go to `HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlStorageDevicePolicies`

Set `WriteProtect` to `0`

If `StorageDevicePolicies` does not exist, create it and add a `DWORD (32-bit)` value named `WriteProtect` with value `0`

Restart the computer

Use Disk Management to delete partitions and recreate the volume

Format the pen drive using File Explorer or Diskpart

Check for antivirus or security software blocking writes

Update or reinstall USB drivers

Test the pen drive on another system to confirm hardware failure

Replace the pen drive if it remains write-protected

Suggested for You

Trending Today