What is "write protection" on USB disks?
When you try to write data to such disk you'll get error message "The disk is write-protected. Remove the write-protection or use another disk".
"I recently bought a new laptop that installs Windows 10. I have four USB flash drives and one of them is now marked ‘write-protected' for no reason, as I didn't do anything to it. I found a solution for windows XP and tried on my own computer. But it didn't remove write protection. I just want to copy files from the USB disk to computer and then reformat it. Can you help me on the write protection removal thing on Windows 10 computer or retrieve data?"
Causes of USB write protected error
- Read only switch
- The flash drive is full
- Security settings
- The Read-only property
- Virus attack
- Drive is broken or has bad sectors
How to remove write protection from read-only USB drive?
Solution 1: Check the drive for a physical lockMany USB drive and SD cards have a physical lock switch which can turn on and turn off write protection. Thus you need to examine whether the flash drive enables this lock. Check the left or right edge to find out the switch. If the switch is in the Lock side, just move it to the unlocked position. If this method can't solve the write protection error, please try following solutions.
Solution 2: Use Command Prompt to remove write protection
Read and write attributes of UBS disk can be modified from Windows Command Prompt with the help of a simple command line. You can follow steps here to clear write attribute for flash drive or SD card.
Step 1: Open Command Prompt. Click Start button and enter cmd in searching box. Then right click "cmd.exe" from the searching list and choose "Run as administrator".
Step 2:Type in diskpart and hit Enter.
Step 3:Type the following commands one by one and press Enter key after each command.
list disk
select disk #(# is the disk number for your USB drive )
attributes disk clear readonly
How to recover data from write-protected flash drive?