How to Prevent/Protect your Pendrives and Harddisk’s from autorun.inf virus

13 May

These day’s it is normal to get affected by the autorun virus when we take our pendrives outside and plug into a another system. Guys, here is a way that can prevent your Pendrives and Hard disk’s from being affected by the autorun.inf virus. Actually this trick will fool the autorun virus it will not allow the autorun virus to create the file named autorun.inf in the root directory of drives. If you want to use this trick make sure the pendrives and hard drives are free from the autorun virus because this trick is not to remove the virus if it is there but to prevent the drive from being affected by the virus in the future.

  1. Use the command md autorun.inf on all of your drives.
  2. This will create a folder named autorun.inf on the specified drive. So when the virus comes your system will prevent it from being regenerated as it will not allow two files by the same name in one place.
  3. You should use the command md autorun.inf on all of your drives including your pendrive.
  4. Now reboot your system.
  5. Done!

If you want to get the command prompt option in right click menu just copy the following code to notepad and save it as command prompt here.

Windows Registry Editor Version 5.00

Now, you will get the option command prompt in the context menu also.

Leave a comment

Posted by on May 13, 2013 in Windows



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: