how to make a pen drive read only

good evening...
from past 2 days i am trying to make pendrive write protected.
because in my college, there are many viruses in every pc. whenever i use my pendrive in college then it give me huge amount of virus. so finally i got trick....
Its an easy registry change:
1. Go to Start -> Run -> Type regedit and hit Enter or click on the OK button.
Browse to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
2. Create a new key called StorageDevicePolicies
Right click on the Control, select New -> Key and type in StorageDevicePolicies

3. Create a DWORD called WriteProtect under StorageDevicePolicies that you created in step 2 and set the value to 1.

This will prevent users from writing to USB drives.



To allow writing to USB drives just change the value to 0. Oh, you don’t need to restart your computer in order to disable write access to removable storage using the method above.
princy gupta
mmec

1 comment:

Any Query, Suggestion Please Comment Here