how to disable Autorun in windows 7
1.Click the Start and Input "gpedit.msc" in search box, then click the result to open the gpedit.
2.Expand Administrative Templates =>Windows Components => Autoplay Policies in order.Then double click "Turn off Autoplay"
3.Click Enabled, and then select All drives so that you can disable Autorun on all drives.
4.Restart your computer, you have done all the needed work to disable Autorun / Auto Play in Windows 7.