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`
Run `list disk`
Run `select disk X`
Run `attributes disk clear readonly`
Run `exit`
Open Registry Editor
Go to `HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlStorageDevicePolicies`
Set `WriteProtect` to `0`
If `StorageDevicePolicies` does not exist, create it and add `WriteProtect` as a DWORD value set to `0`
Check the drive properties for security or permissions restrictions
Format the pen drive after backing up data
Use the manufacturer’s utility tool for the USB drive
Replace the pen drive if it remains permanently write-protected
