If you already have an account with us, please use the login panel below to access your account.

All our SA:MP servers are now closed



Write Protection Error

Rate this Entry
Recently I've had this very bad and annoying problem on my USB key, which drove me to dump it for once, I surfed deeply into the net trying to find out how to fix that issue, and eventually I've gonne far, and got rid of that virus, so here how I did it, incase you have the same problem with some stockage devices,

Method 1 of 2: Diskpart (Windows) Disable

Enter "cmd" in the Start menu. To access the command line in Windows, open the Start menu and type cmd in the search field. Press Enter, and a command window should pop up.
• The command line does not use your cursor. Just type, and use "delete" or the arrow keys on your keyboard to move back to correct a mistake.
Enter "diskpart" in the new window. In the command line window, type diskpart and press Enter. This will give you access to the diskpart utility inside this same command line window.
Enter "list disk." Type list disk and hit Enter. This will list all disks accessible on your computer, include the USB Drive or memory card. If you don't know which drive listed is the write-protected device, find the icon of the device in your My Computer folder and note its name before you continue.
• You can also identify the device by ejecting it, typing "list disk" again, and seeing which disk disappeared.
• If your device does not appear, try "list volume" instead. In this case, you'll need to replace the commands below with "volume" wherever they use "disk."
Select the disk. Once you're sure which disk is yours, type select disk X, replacing X with the number of the disk. (For example, type select disk 2 if disk 2 is the write-protected device.)
Type "attributes disk clear readonly" and press enter. The command attributes disk clear readonly should remove any write protection on the disk if it exists.
• Type the command exactly as shown. "readonly" is one word.
• If this still doesn't work, try adjusting the registry using the instructions below.
Exit disk utility. Type exit and press Enter to quit disk utility.

Method 2 of 2: Registry Adjustment (Windows)

Understand the risks. Windows operating systems have a "registry" which contains a great deal of important information. An error here could be making all memory cards and USB drives read-only. While the steps below will safely locate and correct this problem if present, do not change any other settings inside the registry editor, or you could make your operating system unusable.
• Backing up your registry is recommended before editing it.
Open the registry editor. You can access the registry editor by entering regedit into the Search field in your Start menu. Windows 8 users can type regedit when viewing the Start screen. Press enter on your keyboard to search, then open "Registry Editor" when it appears.
• If you can't find it, try searching for registry error or registry errors instead.
3. <img alt="Image titled Disable Write Protection Step 3"
Navigate to HKEY_LOCAL_MACHINE. This folder can be found in the Computer section of the registry editor, in the left frame. Click the arrow next to HKEY_LOCAL_MACHINE to expand the folder.
Navigate to the correct folder. Inside the HKEY_LOCAL_MACHINE, find and open the SYSTEM folder, then CurrentControlSet, then Control. Finally, scroll down until you find the StorageDevicePolicies folder. If this folder does not exist, see the next step.
5. <img alt="Image titled Disable Write Protection Step 5" 5
Create the StorageDevicePolicies folder if it doesn’t exist. If you cannot find the StorageDevicePolicies folder, then you will need to create one before continuing. Right-click in the blank space in the Control folder. Select New, and then Key. Label it StorageDevicePolicies without spaces, exactly as shown here.
6. <img alt="Image titled Disable Write Protection Step 4"
Change or create the "WriteProtect" entry to 0. Double click on the "WriteProtect" key in the StorageDevicePolicies folder. Change the “Value data” field from 1 to 0. Press OK. If you created a new StorageDevicePolicies folder, follow these steps instead:
• Open the new StorageDevicePolicies folder, then right-click in a blank space. Select New, and then DWORD (32-bit) value. Name the new file WriteProtect. Double-click WriteProtect to open it, and put 0 in the value field. Press OK.
• You must type each entry exactly, including capitalization, otherwise the key will not work.
7. <img alt="Image titled Disable Write Protection Step 6"
Reboot your computer. In order for the registry changes to take effect, you will need to reboot your computer. Save all of your work before rebooting.

Hope you find the content useful, and may you have the best luck

Submit "Write Protection Error" to Digg Submit "Write Protection Error" to Submit "Write Protection Error" to StumbleUpon Submit "Write Protection Error" to Google

Tags: None Add / Edit Tags


  1. Arved01's Avatar
    So many words.