Do you want your computer to play the music automatically when you insert your music CD or to automatically browse the content of the data DVD u insert it, well you do so after li’l bit changing the settings in the control panel as described below.
Just locate the place described in the image below and you will get the AutoPlay settings window.

Happy Computing