Are you talking about the Autoplay feature?
not sure which Windows you have
Enabling AutoPlay in Windows XP
Enable through Windows Explorer
Open My Computer or Explorer
Right-click the CD-ROM drive or other drive and click Properties.
Click the AutoPlay tab. Within this section you will be able to specify all Windows AutoPlay features.
in Windows 7 and I think Vista you can access the Autoplay features in the control panel