To disable the Autoplay in Windows 7, follow the steps provided below:
a. Click the Start and Input "gpedit.msc" in search box, and then click the result to open the gpedit.
b. Expand Administrative Templates >Windows Components > Autoplay Policies in order.
Then double click "Turn off Autoplay"
c. Click Enabled, and then select All drives so that you can disable Autorun on all drives.
Click Ok at last.
After restarting your computer, you have done all the needed work to disable Auto Play in Windows 7.
Also refer the below articles for more help:
Troubleshoot AutoPlay problems
AutoPlay: frequently asked questions
Change AutoPlay settings
Hope this helps!
Thanks and Regards,
Imran M – Microsoft Support
Visit ourMicrosoft Answers Feedback
Forum and let us know what you think.
Restore file related to the problem AutoPlay always on for external disk drives after PC starts - Windows 7 from Recycle Bin
Do not remove files which you have no idea what they are unless you are a geek. If you or your family members have deleted a file related to the problem AutoPlay always on for external disk drives after PC starts - Windows 7, you can restore it from the recycle bin. But if you have already emptied your Recycle Bin, you can use a free data recovery software to recover the related file. This method works only if this file worked properly before you delete it.
Reinstall your Operating System
The ultimate solution for error: AutoPlay always on for external disk drives after PC starts - Windows 7 is to reinstall Windows. This removes all unwanted software that is causing problems, removes adware and other malware, clears out junk files and so on.
A Windows disc is needed for old versions of Windows, but Windows 8 has a built in Refresh option that makes the job easy. Bring up the Charms bar on the right side of the screen and click Settings, Change PC settings. Click Update and recovery, then Recovery. Under Refresh your system without affecting your files, click Get started.
Personal files - photos, music and documents - are kept, so it isn't a complete refresh, but it's may be enough for most people. A more powerful option is Remove everything and reinstall Windows. Copy files you want to keep to a USB drive before starting though.