Sometimes a USB stick is write protected. It is not possible to write data to it. It is generally not possible to delete the content or format the USB stick. How do I remove the protection from the USB stick so that I can format the USB drive and use it normally?
If you landed on this article, it is probably that you have encountered a similar problem with for example the display of a message from Windows: “The disc is write-protected“, “Unable to write to the disc, because it is write protected. Remove the write protection from the volume in drive E: ”or“ This disc is write protected. Remove the write protection or use another disc. ”
This is tutorial will show you how to remove protection from USB stick using different manners.
How to remove a write protection from an USB drive ?
The methods and screenshots proposed were carried out under Windows 10. But they are also valid for the other versions of Windows (Windows 8, Windows 7, Windows Vista etc …).
There are different solutions to test to remove the protection of the USB stick, now let’s see which ones.
Unlock a write-protected USB stick using the button
As on another popular storage device, the SD card, there are often on USB sticks (SanDisk, Maxell, Kingston, PNY USB drive, etc.) a small button (also called a switch) which allows write protection or not the USB drive.
This latch allows in a position to lock the USB drive (lock in English) thus making it impossible to copy data to the USB drive or its formatting. In the other position, the USB lock is not activated. It is therefore possible to write data to the USB stick (for example to save certain files) or format it as desired.
The position of this small Lock button, if present on your USB drive, is therefore the first thing to check if you cannot write data to your USB stick. Change the position of the switch and then see if your USB stick is still locked.
Unblock a write-protected USB stick with the registry editor
An effective way to unlock a write-protected USB drive is to modify the Windows 10 registry with the Windows Registry Editor utility, regedit.
- Use the keyboard shortcut Win + R (or right-click on the Windows 10 Start menu then click on Run) and enter in the Run window: regedit.
- Find the key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\StorageDevicePolicies then search for the WriteProtect entry. Modify the value of the key by putting 0 as the value.
- Close regedit then restart your computer to see if your USB drive is now unlocked.
Note: if you cannot find the key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\StorageDevicePolicies, go to the next solution! Because if the key does not exist, it cannot be the cause of the problem.
Remove write protection from a USB stick with Windows DiskPart utility
Use the utility integrated into Windows 10 and other versions of Windows, DiskPart. It is a powerful command line disk management utility. Here is the procedure for repairing a write-protected USB drive using Diskpart:
- Press Win + R (or right-click on the Windows 10 Start menu then click on Run) and enter in the Run window: diskpart
- Type list disk in diskpart to list your disks and locate the number of your USB stick.
- Enter in diskpart select disk 1 (where 1 is the number of the USB stick identified in the previous step)
- Then type attributes disk clear readonly to remove the read-only attribute.
- Check the attributes of your USB drive by typing attributes disk
- Type exit to exit the utility.
Your USB storage should now be readable, writable and formattable!