Changing the Autoplay behavior of a CD or DVD drive
Normally, Windows prompts you to choose an action each time you insert a CD or DVD.
Your options might include displaying the contents of the CD in Windows Explorer, playing an audio CD or DVD in Windows Media Player or another application, or transferring digital photos to your My Pictures folder. The menu that appears when you insert a CD or DVD is dynamic, and its choices are determined by the content on the disc and the applications installed on your computer. When you insert an audio CD, for instance, Windows offers you the choice of playing the CD with any of your installed media player programs that have registered themselves as being capable of playing music CDs. To change the default program for a particular type of content and avoid seeing this dialog box in the future, follow these steps:
1 Open My Computer.
2 Right-click the icon for your CD or DVD drive, choose Properties, and then click the AutoPlay tab.
3 In the list at the top of the dialog box shown below select a disc type.( In the figure, we've selected Music CD. Other options include Pictures, Video Files, Mixed Content, and DVD movie)

You can specify the action you want Windows to take when you insert particular kinds of discs into your CD or DVD drive.
4 In the Actions section of the dialog box, select the action that you want Windows to take when you insert a disc of the selected content type. ( If you want to preserve your options every time you insert a particular type of disc, select Prompt Me Each Time Tp Choose An Action).
5 Click OK.