Protect your USB Drive from VIRUS Infection
Well the another way is to enable the write protection that will not allow anyone using your computer to transfer anything to your USB Drive. Well I already posted how you can remove write protection from your USB Drive in case your drive was infected and write protection was enabled automatically. Or in some case you just wanna format the write protected USB Drive we have got solution for that problem too.
Enable Write Protection on your USB Drive
But for now lets see how you can easily enable write protection on your USB Drive hence making it secure from any unidentified transfer.- Open Notepad and type below code into it. Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]
"WriteProtect"=dword:00000001
- Now just save it as Write-Protection-On.reg make sure the extension remains .reg for the file to work fine. Or you can also download this .reg file directly.
- Now just double click on this file and press OK, now this entry will be added in your registry and write protection will be enabled.
- Now just plug in your USB Drive and try to transfer any file to it. It won't transfer instead it will show you some error like Write Protection enabled.
Disable Write Protection on USB Drive
Now you have successfully protected your USB Drive from getting infected, well if you are planning to remove the write protection, well it can be done pretty easily, you just need to follow below steps.- Open Notepad and type below code into it. Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]
"WriteProtect"=dword:00000000
- Now just save it as Write-Protection-Off.reg make sure the extension remains .reg for the file to work fine. Or you can also download this .reg file directly.
- Now just double click on this file and press OK, now this entry will be added in your registry and write protection will be disabled.
- Now simply remove your USB and Plug In once again, now you will see you are once again able to transfer file easily.