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.
- Use the command md autorun.inf on all of your drives.
- 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.
- You should use the command md autorun.inf on all of your drives including your pendrive.
- Now reboot your system.
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 [HKEY_CLASSES_ROOTDirectoryshellcmd] @=”@%SystemRoot%\system32\shell32.dll,-22022″ [HKEY_CLASSES_ROOTDirectoryshellcmdcommand] @=hex(2):63,00,6d,00,64,00,2e,00,65,00,78,00,65,00,20,00,2f,00,6b,00,20,00,63, 00,64,00,20,00,22,00,25,00,4c,00,22,00,00,00
Now, you will get the option command prompt in the context menu also.