web analytics
Home / Microsoft Windows / How to Disable Writing to USB Drives using registry hack

How to Disable Writing to USB Drives using registry hack

A very old trick but my favorite tricks of all time. We used to use this trick to disable access from writing anything to their USB Drive. I believe that most of the user including me keep their private and confidential data on their pc or laptop. This documents or data are at a risk of getting steal by someone, so its very important to save this data from getting copied without your notice. A very common approach used in many companies to protect their data or documents from getting copied, that is by disabling writing to USB drives. For this trick, you need to login into administrator account so that you can access regedit utility.

Disable Writing to USB Drives 3

 

Procedure:

1.) Start => Run => Type Regedit and Enter.

2.) Navigate to the below location,

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

\StorageDevicePolicies

3.) Now, Double Click on “WriteProtect” change the value data to 1 i.e dword:00000001 , Now its Write Protected.

Value Data =1    – To disable Write to USB Drives (Write Protection)
Value Data =0    – To Enable Write to USB Drives (Remove Write Protection)

However, the above process is little cumbersome, because every time you need to change the registry value to change access rights. It would be better if we run some kind of application or batch program to enable or disable program easily. So, I have created registry file, which will allow you to enable or disable just by double clicking the registry file.

Download Enable USB Write

Download Disable USB Write

Disable Writing to USB Drives

Compatible: This Trick is compatible with all versions of Windows i.e Windows Xp, Windows Vista & Windows 7.

About Kroshan

Roshan Karkera a.k.a. k.roshan. Blogger by passion and software engineer by profession. He believes in sharing knowledge, which made him to start his own blog. He is very much keen & passionate about new technology & Science. If you'd like to connect with him, follow at Google plus or Twitter.
  • Anonymous

    This is what i was looking for

  • ARRON

    i think this is most important function and shd be incorporated in windows option, hey k roshan, i found few article where u added an option to remove recycle bin from desktop under folder option menu item, could you add this option to folder option. it would be great if this happens

  • Aahmed131

    it shows ur blocked by adminstrotor

    • kroshan

      You might be running limited account or guest account. Check whether you have administrator rights on your window

  • Blake Woodard

    There is no StorageDevicePolicies key under Control in Windows 7 Ultimate 64 bit.

    • kroshan

      @038eda5b8e0651f547798c7c4e5fd073:disqus
      If the registry key StorageDevicePolicies does not exist, you will need to create it manually or just download the registry file i.e. Enable USB Write or Disable USB Write and double-click, this will add the key automatically.
      Steps to create key manually:
      1. Create StorageDevicePolicies key, and then create a New DWORD (32-bit) Value named as WriteProtect.
      2. Double click on WriteProtect and set the value to 0 in the Value Data Box and press OK button.
      3. Now Restart your computer and try copying files into your USB drives.

  • Jhustin

    Followed the steps. USB still protected. 🙁

    • kroshan

      Jhustin

      USB still protected bcoz you have set the value as 00000001. Please change it to 00000000 to disable USB write protection.
      If you still not able to change it, then you can simply download “Enable USB Write” registry file and Run by double click and Restart the system. It will remove the USB write protection.

      • REJWAN

        no dear ,
        i have been doing this for several times as you mentioned for withdrawing write protection from my usb drive ,and still fixing the number “0” but it does not have any good result ,,still showing the driver is write protected

        • Kroshan

          @ Rejwan,

          I believe that something is going wrong here. Request you to simply download the registry file “Enable USB Write” to enable the writing mode to your USB.

          Double click on Registry file and it will automatically the change the value to 0

  • Jhustin

    3.) Now, Double Click on “WriteProtect” change the value data to 1 i.e dword:00000001 , Now its Write Protected.

    Value Data =1 – To disable Write to USB Drives
    Value Data =0 – To Enable Write to USB Drives

    If 1 its write protected but you said that if the data value is 1 it is to disable write to USB.

    COnfused.

    • kroshan

      @disqus_dXrIVE6ZwL:disqus

      –> Data value 1 is to disable write to USB i.e. you cannot write anything to USB (USB write protection is enabled)
      –> Data value 0 is to enable write to USB i.e. you can now write anything to USB (USB write protection is disabled)