Disable AutoPlay in Windows Vista & 7
Don’t want to be bugged by the AutoPlay dialog that pops up when you insert a CD, flash drive, or other media? There are a few ways to disable it.
From the Control Panel in Vista, click the Play CDs or other media automatically link. From the Control Panel in Windows 7, click the AutoPlay icon. Then on the AutoPlay window, uncheck the Use AutoPlay for all media and devices option or set each device type individually.
If you have a business or professional version of Vista or Windows 7, you can completely disable it via the Group Policy settings:
- Open the Group Policy editor by running gpedit.msc from the search field on the Start Menu.
- Navigate to Computer or User Configuration / Windows Components / AutoPlay Policies.
- Set Turn off Autoplay to Enabled.