A quick way to completely prevent any AUTORUN.INF from auto execution is to deceive windows and make it think that there is no content in the autorun.inf that windows encounters.
All you do is to do is to save these 3 lines to a file and execute it.
REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf] @="@SYS:DoesNotExist"
What happens internally is “Whenever you(Windows) have to handle a file called AUTORUN.INF, don’t use the values from the file. You’ll find alternative values at HKEY_LOCAL_MACHINE\SOFTWARE\…\=@DoesNotExist.” And since that key does not exist, it’s as if AUTORUN.INF is completely empty, and so nothing autoruns, and nothing is added to the Explorer double-click action. And hence worms with such design cannot get in unless you start double-clicking executables to see what they do, in which case, you deserve to have your PC infected.