How to Create a Autorun.inf File

Autorun programs are ideally used on CD or DVD media so that when users put them on the PC, it will automatically start.  You usually see this implemented on installer CDs so that it will be easier for you to access the installer without even browsing the contents first using Explorer.

In this article we will show you how easy it is to create your own autorun program using a free tool called Autorun.inf Editor from Moon Valley software

Moon Valley’s homepage: http://autorun.moonvalley.com/

Download.com direct link: http://download.cnet.com/Autorun-Inf-Editor/3000-2084_4-10238044.html?tag=mncol

 

 

The Autorun.inf Editor  is a straightforward tool that you can use to build an autorun.inf file.  For example, if you want to create a CD that automatically runs an installer, just put the executable’s filename on the program field along with your own label description and icon. 

In the example below I used the editor to make a CD installer of XAMPP so I put XAMPP’s installer, a descriptive label, and XAMPP’s icon:

image

 

Clicking the preview button will show you the preview of the autorun.inf output:

image

Click save to generate the actual autorun.inf file.

image

Make sure to save it using autorun.inf and then burn it along with the exe file and icon file on the root directory of the CD media. 

image

If you try to look under the hood and see the contents of the autorun.inf using Notepad you should see the code you have generated when you click Save:

image

This is only a sample so it looks very simple.  You may create more complex autorun.inf  scripts that could, for example, handle which executable to run depending on a base hardware platform.

You may also use it to prevent other people from copying your music cd, just like how the guys at Capitol Records did it on a Beastie Boys CD. Just make sure you are not violating any laws.

Although handy, autorun.inf is also a common way for malware and virus developers to get in to your computer and run bad software.  It is advisable to have a good antivirus running on active real time protection to make sure your system won’t get infected. 

 

 

 

 

Ben shows you how it’s done.

More posts from the How-To Category

Remote Desktop Connection

Configure Remote Desktop for Slower Connections

export sql  to excel

Export SQL Data to Excel with Column Headers

Create Bash Aliases For Faster Terminal Commands In Linux

compact virtual pc disk

How to Compact a Virtual PC Disk (VHD file)

Popular Posts This Month

windows defender

Windows Defender vs. Security Essentials vs Safety Scanner

youtube ie11 freezing

How To Fix Flash Crashes in Internet Explorer 11

bitlocker error

Fix “This device can’t use a Trusted Platform Module” When Enabling BitLocker

Comments [1]

  1. [...] even though there is an Autorun.inf file, the program is not allowed to execute until I decide. Also note that the option to run [...]

Leave a Reply