Go to start menu and click on
Run. Type gpedit.msc and press Enter. Go to Administrative templates in User configuration, click on
System. In system category go to properties of Turn off Auto play option. Click on Enabled in Turn off Auto play properties option, select
all drives from radio button. Press Apply and ok. After that will not appear
auto run option during inserting CD, DVD, portable hard disk or pen drive.