Make USB Drive Write Protected

You might be having some secure data on your PC which you don’t want other user to copy through USB. You can do that by putting a write protection registry hack on your computer.This Hack will work only on Windows Xp SP2 or better and also works on Windows 7.

To enable write protection on USB follow following steps –

  1. Go To Start > Run.
  2. Type ‘Regedit’ in run dialog.
  3. browser to Go to ‘HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlStorageDevicePolicies‘.
  4. Create a DWORD value called ‘WriteProtect‘ and set it to 1.
  5. This will disable writing on USB drive, you can still read from USB device. To enable writing change it’s value to 0 or delete the key.

eDevicePolicies’ under Control you can create that folder there and then add the Key.

Also Alternative you can use following codes to automate the process without browsing through registry —

To Disable USB write copy following code in notepad and save the files as “DisableUSBWrite.reg”

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlStorageDevicePolicies]
“WriteProtect”=dword:00000001

To Enable USB write, copy following code in notepad and save the files as “EnableUSBWrite.reg”

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlStorageDevicePolicies]
“WriteProtect”=dword:00000000

Now whenever you want to disable or enable functionality Double click on desired function file, you will get a prompt asking “Are you sure you want to add the information in C:……EnableUSBWrite.reg to the registry? ”

Click Yes , and you will get a confirmation message in next step, and you are done.

Enjoy, Hope you like this Tip, if yes leave a comment or bookmark us using bookmarking toolbar below.

Leave a Reply