Repairing a write protected pendrive


A pendrive is one of those tools that are fundamental to us to perform our daily tasks. This kind of device are the most practical way to transport all types of documents without any kind of obstacles, even when systems file storage in the cloud seem to be everywhere. Unfortunately, these services depend on an Internet connection to function properly, and we cannot always find Wi-Fi or 3G signal available.

Therefore flash drives are so useful and in some cases, irreplaceable. However, they can sometimes play against us, bringing serious problems. An example of this is when insert a memory of this kind in a port of the PC, and the system notify us with a warning like this: “The disk is write-protected. Remove the write-protection or use another disk”. In the event that the pendrive holds some manual lock, simply deactivate it out and come back to insert. But what happens when is not it? In this article we will find some tips to remedy this situation.

Repairing a write protected pendrive

How to unlock a flash drive or memory card

Before starting the procedure, it is necessary to clarify that we will handle some Windows registry keys, and while this is really simple, we must pay attention to avoid mistakes and cause more problems.

In this regard, we separate the process into two parts, creating the necessary classes, in the event that there are no, and manipulation of the values ​​thereof.

For the first part of the procedure, and with the intention to make it easier to perform, we have available a small BAT file, it will allow us to add keys to the Windows Registry virtually effortless.

Repairing a write protected pendrive

Step 1. To do this, we open the Notepad and paste the following text:

cd\reg add “HKLM\System\CurrentControlSet\Control\StorageDevicePolicies” /t Reg_dword /v WriteProtect /f /d 1

Step 2. After this step is done, save the file with the following name and extension: Keys.bat

Step 3. Next insert the flash drive or memory card, making sure that Windows has recognized the device successfully. This can be checked easily on the bottom right of the screen.

Step 4. After completing this step, we run the “Keys.bat” file you just created.

Repairing a write protected pendrive

From this point, we can move to the second part of the procedure. For that we going to the Start menu to run the regedit command, allowing us to open the Windows Registry Editor.

Step 1. After opening the registry editor, we look for the following key:

HKEY_LOCAL_MACHINE>SYSTEM>CurrentControlSet>Control>StorageDevicePolicies

Step 2. When we found her, we move to the right pane and double-click on “WriteProtect” and in the window that appears, we introduce the value “0” in the “Value data” field.

Repairing a write protected pendrive

Step 3. Finally, click on the “OK” button and close Regedit. The best thing at this point is to restart the computer. After restarting the PC, insert the flash drive or card and check that the protection has been completely eliminated.

Repairing a write protected pendrive

Conclusion

Note that this procedure is not only useful in the case of flash drives and memory cards, it can also help to eliminate the write-protection in MP3 players, external storage drives and other devices of the same type.

In the event that this procedure does not yield positive results, then unfortunately we will have to format the device, resulting in loss of information and data.