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 Disable:
Change the value of
Turn off Autoplay to
enabled.