Go to Start > Control Panel > Programs > Default Programs > Change Autoplay settings and set the desired options. You can use the Autoplay function for all media files and devices (photos, video and audio files, software and games, audio CD, blank CD and so on). After you set the Autoplay settings, click Save and reboot your PC.