20110614

How To Create A Write Protected USB Device(Pen Drive)


Below are the registry tips for created write protected USB pen drive or any USB device

Open the Registry Editor (Open the “Run” dialog box, type regedit and hit “Enter”).

Navigate to the following Registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\

Create a New Key named as StorageDevicePolicies. To do this right-click on Control, and click on New->Key and name it as StorageDevicePolicies.

Now right-click on  StorageDevicePolicies and create a New->DWORD (32-bit) Value and name it as WriteProtect

Double-click on WriteProtect and set the Value data to 1
Now the right-protection for USB drives is enabled on your computer (no restart required) and thus it would not be possible for anyone or any program to add/delete the contents from your USB flash drive. Any attempt to copy or download the files onto the USB drive will result in the following error message being displayed.

To revert and remove the write-protection, all you need to do is just change the Value data for WriteProtect from 1 back to 0.


No comments:

Post a Comment