what is Autorun.inf (Tutorial)

1 Comments »
Autorun.inf is the primary instruction file associated with the Autorun function. Autorun.inf itself is a simple text-based configuration file that tells the operating system which executable to start, which icon to use, and which additional menu commands to make available. In other words, autorun.inf tells Windows how to deal open the presentation and treat the contents of the CD.

The entire sequence is initiated when the "disk change notifcation" polling discovers a new disk in the CD or DVD ROM drive. Then, if the "Auto insert notification" feature is enabled (it is by default), Windows checks in the new disk's root directory for the existence of an "autorun.inf" file. If found, Windows then reads and follows the specific instructions this file defines. If no autorun.inf file is found, then Windows refers to the new disk by its serial number and executes the default actions associated with the (data or audio) content on the disk.

The Autorun.inf file defines the following:
Autorun.inf Defines the following: The process or application that will automatically run when a disk is inserted
Automatically run when CD is inserted Optionally, one can define the process or application that will run for specific Operating environments.
Icon Representing CD or DVD The icon that will represent your application's CD or DVD when the drive is viewed with My Computer or Explorer.
Menu Commands when CD-ROM is clicked Menu commands displayed when the user right-clicks the CD-ROM icon from My Computer or Explorer.


A simple Autorun.inf example:
[autorun]
open=autorun.exe
icon=autorun.ico

so in this way it may be used to call malicious file too, so beware.
4:34 PM

1 Response to "what is Autorun.inf (Tutorial)"

balajikonagalla Says :
October 16, 2009 at 1:09 PM

i want to create a virus that copy it self to the usb and then it should copy a html file into the usb and then the html should be automatically should open this should be done only once not all the time when that usb inserted to another system this should be done in that system can you provide complete coding or information for that virus.i dont think it is virus as this will not harm the computer but it is spam that make popular my site

Post a Comment