Write Protect your USB for security reasons

Write Protect your USB for security reasons

write protectGoing to a cyber cafe to send some pictures or documents with an e-mail.
Then you should keep your USB device safe from virus and other malwares, because cafe computer's can have lots of trojans.
In this post i am going to show you how you can disable writing to USB devices altogether using a simple registry hack.
A very simple Trick, But very usefull.

To write protect your USB follow these simple steps:
Step 1: Open the Registry Editor (Open the “Run” dialog box, type regedit and hit “Enter”).
Step 2: Navigate to the following Registry key:
        HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
Step 3: Create a New Key named as StorageDevicePolicies. To do this, right-click on Control, again click on New->Key and name it as StorageDevicePolicies.

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

Step 5: Double-click on WriteProtect and set the Value data to 1.

write protect

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.

write protect
To revert and remove the write-protection, all you need to do is just change the Value data for WriteProtect (Step-5) from 1 back to 0. Now write access to all the USB devices is re-enabled.

No comments:

Post a Comment