Many a time, it becomes necessary for us to write protect our USB flash drive so as to protect it from viruses and other malware programs. As flash drives are so popular and most widely used to move data between computers, they are the prime target for attackers as a means to get infections spread around the computer world. Also, since USB drive is not a Read-Only Memory (ROM), the data inside it can easily be modified or deleted by malware programs.
But unfortunately, most of the new flash drives do not come with a write-protect feature as the manufacturers wish to cut down the cost of production. Hence, the only way to write-protect your USB flash drives is to enable this feature on your own computer.
Steps to Write-Protect Your USB Drive:
This can be done by adding a small entry to the Windows registry which acts as a switch that can be enabled to make use of the write protection or disabled to allow write access. Here we go:
-
Open the Registry Editor (Open the “Run” dialog box, type regedit and hit “Enter”).
-
Navigate to the following Registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ -
Create a New Key named as StorageDevicePolicies. To do this, right-click on Control, again click on New -> Key and name it as StorageDevicePolicies.
-
Now right-click on StorageDevicePolicies and create a New -> DWORD (32-bit) Value and name it as WriteProtect.

-
Double-click on WriteProtect and set the Value data to 1.
Now the right-protection for USB drives is enabled on your computer (no restart required) and thus it would not be possible for anyone or any program to add/delete the contents from your USB flash drive. Any attempt to copy or download the files onto the USB drive will result in the following error message being displayed.

To revert and remove the write-protection, all you need to do is just change the Value data for WriteProtect (Step-5) from 1 back to 0. Now write access to all the USB devices is re-enabled.
Sometimes it may seem difficult to remember and follow the above mentioned steps each time you want to enable/disable the write protection. Hence as an alternative way, there are many tools available to automatically enable/disable the write-protection feature. One of my favorite tool is USB Write Protect by Naresh Manadhar.
Using this tool, you can limit write access to your USB drives with just a click of a button. You can download this tool from the following link:
I hope you’ve now understood how to enable or disable write-protection of USB devices on your computer.















I am Srikanth Ramesh, a computer engineer from India.
55 Comments
Ankit Das
February 24, 2011 at 2:04 PMSrikanth
February 24, 2011 at 2:23 PMvikesh
October 10, 2012 at 2:22 AMOm Kumar
February 24, 2011 at 3:07 PMshan
February 25, 2011 at 4:56 PMSumeet Kukreja
February 26, 2011 at 12:27 AMSrikanth
February 26, 2011 at 8:45 AMGaurav Garg
February 26, 2011 at 8:11 AMOm Kumar
February 26, 2011 at 11:50 AMDEVIL'S BLOG ON SECURITY
February 26, 2011 at 2:06 PMsam
March 3, 2011 at 11:13 AMmadhu prasad
March 4, 2011 at 9:05 PMsam
March 5, 2011 at 3:41 PMHack Primium Account
March 13, 2011 at 8:04 AMrajkumar
March 18, 2011 at 6:41 PMDeep
March 19, 2011 at 6:17 PMRishi
March 21, 2011 at 6:11 PM@Nasim
March 21, 2011 at 10:03 PMabhishank
March 23, 2011 at 10:26 PMRamraj
March 26, 2011 at 12:04 PMVamsi @ HoverPcHacks
March 27, 2011 at 5:27 PMAllCelebrityBlogs
April 1, 2011 at 7:25 PMJamie
April 6, 2011 at 1:56 AMTharun | Technostreak.com
April 15, 2011 at 9:55 AMZeeshan
April 22, 2011 at 12:02 AMSrikanth
April 22, 2011 at 1:52 PMshiv
January 8, 2013 at 4:38 PMAdrien DAVIN
April 29, 2011 at 4:54 PMsri
May 2, 2011 at 7:30 AMAbdi fatah farah Ali
May 20, 2011 at 12:56 PMsiva_phd9
May 30, 2011 at 3:26 PMRk
June 1, 2011 at 8:15 PMAniket
July 6, 2011 at 12:19 AMSarvesh
July 11, 2011 at 12:33 AMRk
August 6, 2011 at 12:24 PMRabin
August 8, 2011 at 4:13 PMRYME
August 8, 2011 at 4:46 PMSrikanth
August 11, 2011 at 11:52 AMManish
September 6, 2011 at 5:35 PMNishan Pandit
September 17, 2011 at 4:10 PMharavinth
September 19, 2011 at 3:25 PMSam
October 5, 2011 at 9:49 AMY0g35h
October 14, 2011 at 7:14 PMJaybee
October 30, 2011 at 5:15 AMgyana 001
November 11, 2011 at 11:43 AMRakesh Sahu
February 1, 2012 at 11:10 PMspidy
April 15, 2012 at 8:57 AMsaad
June 7, 2012 at 6:04 PMAlven
July 17, 2012 at 1:25 PMSajjad
August 26, 2012 at 4:29 PMHHH
September 12, 2012 at 7:43 PMArun
October 6, 2012 at 5:30 PMkrishna
December 30, 2012 at 11:32 AMJeah
February 9, 2013 at 12:25 PMSAIKAT
March 3, 2013 at 10:44 AM