Im sure everybody inserts cd/dvd's or pen drives into your pc..Whenever you insert a software or game cd/dvd you will notice that the setup will automatically start running.. this is because a file called autorun.inf is automatically launched whenever you insert a cd/dvd or pen drive..therefore it normally launches a file called setup.exe
Now what if setup.exe is a virus...let me explain..what if you found an unknown cd/dvd or you got a one from your friend/enemy who tries to play a prank..Then nothing can stop the virus from acting.. it could also be dangerous if your friend burnt a cd for you and his files were infected..
Then your pc too will be infected as soon as the cd is inserted,you might not have time to react!!.So the only solution to this is to disable autorun.inf from executing..
The following setps will help you do so:-
Step 1. Start Notepad or another text editor.

Step 2. Copy the following text from this page and paste it into your text editor (everything between the square brackets should be all on one line):

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


Step 3. Save the file with a name like NoAutoRun.reg, taking care to include the .reg extension.

Step 4. Right-click your .reg file and choose Merge. Confirm any warning prompts to add the information to the Registry.

The next time you insert a flash drive, CD, DVD, or other removable disc into your system, Windows will not execute the information in any autorun.inf file that may be present.

Naturally, taking these steps means that the next time you put a game or installer disc into your CD or DVD drive, its software won't launch automatically. You'll have to open a Windows Explorer window or use a command line to launch the desired executable.

2 comments

Debdulal Bhattacharyya said... @ July 28, 2008 at 6:52 AM

please write also how to enable autorun.inf again

abrahamdsl said... @ March 24, 2009 at 12:42 AM

to Debdulal:

just edit the registry entry file he says but remove the @SYS:DoesNotExist entry, then merge it again with the registry

Post a Comment