If you do not want CDs to autorun then follow the following steps:
- Go to Start > Run > and type gpedit.msc.
- Then go to Computer Configuration > Administrative Templates > System.
- In there you will be able to find an entry called “Turn autoplay off”.
- Right click it and select properties. Then select the mode which you want either enabled or disabled.