Disable AutoPlay in Windows Vista
Windows Vista's AutoPlay options are a great improvement over Windows XP in terms of flexibility, but unfortunately there are so many options that it can be confusing, especially since there's no specific mention of USB Flash drives in the options.
Open your Control Panel, and then click on "Play CDs or other media automatically" to open the AutoPlay dialog.
Disable AutoPlay Globally
The quickest way to disable AutoPlay entirely is to just uncheck the box for "Use AutoPlay for all media and devices", which should usually work.
Disable for a Single Type
You can choose a setting in the drop-down menu for a single type of drive, for instance Audio CD in this example. For this to work you'll have to make sure to keep the global autoplay option on, and then choose the specific setting in the drop-down.
Disable for just Removable (flash) Drives
The problem here is that while there are settings for Audio CDs and DVDs, there's nothing specifically for USB flash drives. Windows will determine the drive type based on the content it finds on the flash drive itself, so that's what we'll need to change.
In order to disable AutoPlay for the removable drives, you should change all of the following to Take no action: Software and games, Pictures, Video files, Audio files, and Mixed content.
Disable Through Group Policy
A number of readers have written in complaining that the option to disable autoplay isn't working for them, so if you'd like to disable it entirely you can use the Group Policy editor on the Business and Ultimate versions of Vista.
Open up gpedit.msc through the start menu search box, browse to Windows Components \ AutoPlay Policies, and change the value of "Turn off Autoplay" to enabled.

You can choose whether to disable for just removable devices, or entirely. I'm not sure if that makes any sense, however.
Disable with Registry Hack
The Group Policy editor is not available on Windows Vista Home editions, so I've also included the registry tweak to disable AutoPlay entirely.
Download and unzip this registry hack and then double-click on the appropriate file.
- DisableAutoPlay.reg will disable autoplay entirely.
- DisableAutoPlayRemovable.reg will disable autoplay on removable devices.
Hopefully all your AutoPlay questions are now answered!


I have Vista Ultimate. My Group Policy Object Editor does not have a folder headed "Windows Components". I have one called "Windows Settings" but it is nothing like whats displayed in your above picture.
Thanks for these informations!
I want to know how to disable auto play in windows xp.
how about the opposite..I wouldlike to enable the entire autoplay..in my current settings I already enabledor checked the box 'use Autoplay for all media devices' however my autoplay is not working either..by the way I'm using vista home premium..any suggestions?
same problem here Davie… any suggestions ??
You also disable the Service via Computer Management
Service - Shell Hardware Detection
Disable/Enable - Enable
Description of Service - Provides AutoPlay notifications.
Notes: - Disabling this service will keep CD-ROMS/DVD-ROMS and other such devices from automatically working.
thnks but as I had checked my Service - Shell Hardware Detection, it is enabled however how come
my autoplay still not working?..kindly help me up guys..I still prefer my autoplay is working than it is not…any input will be appreciated
Registry hack; DisableAutoPlayRemovable.reg no longer work in vista sp1
Hi,
How do I add software programs in Autoplay? I wanted to add more options to Autoplay but only see windows applications. Isn't there a way to increase the programs that autoplay shows in each group?