1. Open Run.(Windows+R)
2. Type ‘regedit’ and press Enter.
3. Go to following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
4. click on Cdrom.
5. Double clock on AutoRun from right panel.
6. Change value data 0or 1.(0 for disable auto run, 1 for enable auto run.)
7. Click ok and close Registry Editor.
8. Restart computer.