What is AutoRun and AutoPlay ? How to Set it ?

AutoRun or AutoPlay is a feature of Microsoft Windows operating Systems which causes a certain file to be opened automatically when a Compact disc is inserted or a thumb drive is connected. Windows provide us some AutoPlay options to choose from. It can be chosen in the 'properties' of the CD Drive. You might have noticed that when we insert the CDs of Softwares or some movies some application will be launched automatically. In most cases, it may be one with a menu or a movie player. Such AutRuns are designed by the software vendors. Similarly, we can also design an autorun for a CD we burn or even for a pen drive.



If you are looking for help to disable AutoRun, see this: How to Enable or Disable Autorun.

There is difference between AutoPlay and AutoRun. When a multimedia file is opened automatically, it is called AutoPlay. If it is an executable file, it is called AutoRun. If you have not set up any autorun in the CD, the OS will launch an AutoPlay based on the user preferences set for Autoplay UI. As i have said earlier, it can be set in the properties of CD/DVD Drive in XP and older OS. In Windows 8 or 8.1, it is in PC settings-> PC and Devices. In Windows 7 it is in Control Panel.

How to change autoplay settings in Windows 8 or 8.1 Autorun disable autoplay PC and devices
Autoplay Settings in Windows 8 and 8.1

Autoplay settings in properties of CD Drive in Windows XP 2000 ME or older 98 NT OS disable how to
Autoplay Settings in XP or older versions



Based on our preferences, (as configured in above shown pictures), the AutoPlay Component launches a media content in the CD or removable drive. If you have chosen 'Prompt me...' option, you will see the following AutoPlay UI each time you insert the CD.

Autoplay UI with handlers in Windows 7 os enable disable autorun autorun.inf make autorun CD DVD pen drive
AutoPlay UI in Windows 7
Autoplay UI with handlers in Windows 7 os enable disable autorun autorun.inf make autorun CD DVD pen drive
AutoPlay UI in Windows XP
If you have set your CD to autorun a file (application program (.exe)) or any media file manually, using the Autorun.inf file, the specified file will be launched automatically when you insert the CD/DVD. The Autorun.inf is a text file saved with extension .inf. The content of the file is a few bytes which can be changed to execute the specified file, to set or change CD icon and to change or set CD label. The Autorun.inf file icon will look like as shown below.

Autorun.inf file icon .ico content code source for Autorun for CD DVD configuration file open executable .exe automatically
Autorun.inf file












If you want to know how to make a CD or DVD with autorun options using Autorun.inf, see this post: How to make Autorun for CD, DVD or Pen Drive.

No comments :

Post a Comment