Autoplay feature is, by default, disabled in Windows 7 due to security reasons. Many malwares like Conficker Worm can autorun on your computer if an infected USB drive or CD is inserted.However, its useful to enable autoplay as it gives quick access to default choices when any removable drive is inserted. Anyways, use it at your risk.
Method 1:
1. Go to Control Panel\Hardware and Sound\AutoPlay.
To Enable:
At the top, check Use Autoplay for all devices and Click Save.
To Disable:
Uncheck Use Autoplay for all devices and Click Save.
Method 2:
1. Click Start and in the Search box, type gpedit.msc and press Enter.
Now browse to Computer Configuration\ Administrative Templates\ Windows Components\ Autoplay Policies\ Turn off Autoplay.
To Enable:
Change the value of Turn off Autoplay to disabled.
To Disable:
Change the value of Turn off Autoplay to enabled.