First of all, I have installed Panda USB Vaccine ( Method 3 ) so that takes care of auto run of virus from my pen drive or an external pen drive on my PC. The only problem i faced with that was that i could not implement Method 1 or Method 2 which i wanted to.
I also had USB Safely Remove installed because it not only resolves those “device is locked” scenarios but also because of an added less known feature – the ability to run scripts on connection and removal (This features are also available in Zentimo).I had modified its settings to run the enable write-protect script ( Method 4 ) on connecting a new device and run the disable write-protect on removal. Also i used to keep the disable write-protect script on my desktop in case i want to copy some files to the PD (I still do!!!). On a related note, I hope all of you have made use of the Free Zentimo Lifetime License Promo .
Note : After reading this method you might feel that you can carry the scripts on your PD and running it when connecting it to external PC via autorun, there is a chance that it might not work and give you a false sense of security. And if it does work and then you might forget to run the disable script and it will pose a problem to the external PC User.
I troubleshoot people's PC problems and hence carry a PD with a lot of portable and useful tools which i use to troubleshoot people's infected PC. I would not be copying anything from their PC and would not want anything to write itself to my PD, so i use the ” fsutil trick ” on my PD ( Method 5 ).