Autoplay is a function in Windows that will allow music files, pictures, video files, mixed content CDs, music CDs, DVD movies or HD DVD movies to automatically play when the disk, flash drive or other removable media is inserted into your computer. This function can be controlled by media type and drive. If you want Windows to open Windows Explorer or to take no action at all, you can also select those functions within the Autoplay settings.
Double-click "My Computer," right-click on the drive you would like to Autoplay and click on "Properties."
Click the "Autoplay" tab.
Click the down arrow to choose the content type you would like to Autoplay.
Click the radio button next to "Select an action to perform."
Click on the program you would like to use to play the CD or DVD.
Click "OK," and then click the red "X" in the upper right corner to close the "My Computer" box.