Page 1 of 1

How to disable autorun.inf permanently

Posted: Sun May 16, 2010 9:32 pm
by Rksk
How to disable autorun.inf permanently in windows?? It is the best way to stop autorun virues. I have found some registry keys to stop it. But It seems , they don't work realy. What is the best way to do it???

Re: How to disable autorun.inf permanently

Posted: Sun May 16, 2010 10:01 pm
by Neo
Copy this code to a file with .reg extension (ex: run.reg) and double click it. This will adjust required entries.
You may also follow Microsoft article for this. Note that registry settings come in to effect only after restart. So make sure you restart your PC.

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\JSFile\Shell]
@=”Edit”
[HKEY_CLASSES_ROOT\JSEFile\Shell]
@=”Edit”
[HKEY_CLASSES_ROOT\VBEFile\Shell]
@=”Edit”
[HKEY_CLASSES_ROOT\VBSFile\Shell]
@=”Edit”
[HKEY_CLASSES_ROOT\WSFFile\Shell]
@=”Edit”
[HKEY_CLASSES_ROOT\WSHFile\Shell\Edit\Command]
@=”Notepad.exe %1?

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
“DisallowRun”=dword:00000001
“NoDriveAutoRun”=hex:ff,0f,00,00
“NoDriveTypeAutoRun”=dword:000000b5

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]
“NoDriveAutoRun”=dword:03ffffff
“NoDriveTypeAutoRun”=dword:00000004

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
@=”@SYS:DoesNotExist”

Re: How to disable autorun.inf permanently

Posted: Mon May 17, 2010 8:45 am
by Rksk
Thanz.

I will do something for people in our area who use computers without a good antivirus by using above reg edit.

Re: How to disable autorun.inf permanently

Posted: Wed Jul 20, 2011 10:38 pm
by Mysoogal
first thing to do is go into msconfig and startup, disable everything next go into safe mode and scan for virus :geek:

Re: How to disable autorun.inf permanently

Posted: Tue Aug 28, 2012 12:26 am
by Rksk
Mysoogal wrote:first thing to do is go into msconfig and startup, disable everything next go into safe mode and scan for virus :geek:
safe mode doesn't stop all the virus. There are lots of virus which run in safe mode too.