If you want to protect your USB from receiving unwanted files i.e. virus, worm, spy, trojan etc than you are at the right place.
What I'm gonna tell you is that how to setup your registry to stop a computer from saving files to your USB (It'll block all of them)
If you have windows XP with SP2, then you can disable the writing option to USB drives. This trick is very useful if you have virus in your computer and want to copy files from a USB Drive but don’t want to transfer virus to the USB. Follow the given steps to disable the USB writing option:
To edit the computer registry, first you should log onto your computer with administrative rights.
First click on Start button and type “Regedit” in Run option.
Here locate the location to:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlHere in right side panel, click right to create a key with the name
“StorageDevicePolicies”.
Now in left side panel, select “StorageDevicePolicies” key, again right click to create new DWORD value then label it “WriteProtect”. Set its value to “1?. But again to enable writing, set its values to “0?.
Now close the registry editor
Note: If it won't work then restart your pc
Alternative way:TO TURN ON THE PROTECTION
open
notepad and
copy and paste the following:
Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlStorageDevicePolicies]"WriteProtect"=dword:00000001Now save the file with the extension
".reg".
Double click on the file you just saved. In the pop-up window click YES and then OK.That's it your USB is now protected
To TURN PROTECTION OFF:open notepad and copy and paste the following:
Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlStorageDevicePolicies]"WriteProtect"=dword:00000000Now save the file with the extension
".reg".
Double click on the file you just saved. In the pop-up window click YES and then OK.That's it your protection is now disabled.
×