If you want to stop AutoPlay some devices or media then follow the guide below to change autoplay settings for different media and devices.
Change AutoPlay Settings Windows 7
Click on “Start” button, then click “Default Programs” button
Click on “Change AutoPlay settings” option to stop autoplay cd, dvd, and other devices.
To stop autoplay all media and devices uncheck the option “Use AutoPlay for all media and devices” as shown below in the screenshot.
To customize these options for different media and devices, Click on the drop down of relevant media or device and choose the appropriate options.