7 Jul 2012

Make USB drive write protected - Registry Hack


hi folks. Sometimes its necessary to Write protect the USB drive to prevent it from viruses and Trojans specially when you use it in a crowded area like in Office, School or College.
Here, I'm gonna show you a simple trick to Write protect the USB drive in your PC without any third party software by simply making changes in the Windows registry.
Lets start:
  • Open Notepad. copy the following code in it.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies] "WriteProtect"=dword:00000001


  • Save it as registry file. Double click on it and you're done.
Sometimes you have to reboot the system to make the changes take effects.
Now whenever you'll insert the USB and want to write in it, it'll deny it with following error.
If you want to remove the write protection from the USB then,
  • Open Notepad. Copy the following code in it.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies] "WriteProtect"=dword:00000000'


  • Save it again as anything.reg file. Double click on it and viola you're USB drive is again ready to be written :P
Stay tuned for more tricks

Keep Learning. Keep Rocking :)

0 comments:

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Online Project management