Thursday, December 10, 2009

Disable writing to USB devices using windows registry

In the previous post i hav mentioned how to block a pendrive to protect against information theft.But in real world scenario its not advisable to block a pendrive unless it is really required.So i made up my mind to post this trick .
The solution is simple give read access  but  deny write access.
Follow the steps given below.........
Open registry editor  by typing  the REGEDIT command in da Run dialogue box and press enter .
Now navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
Create a new key called StorageDevicePolicies .Right click on StorageDevicePolicies and select New and then create a Dword. Call the new dword  WriteProtect. 
Right click on WriteProtect and select Properties. Set the value to 1 and hit OK.
Its done  u have to  reboot for the changes to take effect.Note that u can use this trick to restrict users who are not administrators on the computer, because they could easily revert back by changing the value from 1 to 0.
This trick works for windows xp-sp2 and higher version of windows such as windows vista even on Windows 7.



0 comments:

 

Computers made easy 4all Copyright © 2009 Gadget Blog is Designed by Ipietoon Sponsored by Online Business Journal