| Windows 7: AutoPlay - Enable or Disable AutoPlay - Enable or Disable How to Enable or Disable AutoPlay in Widows 7 and Vista
Published 27 Feb 2012
|  Published by | | |
 Featured Tutorial | | | How to Enable or Disable AutoPlay in Widows 7 and Vista  Information This will show you how to enable or disable AutoPlay for either all drives or CD/DVD and removable media drives for users in Windows 7 and Vista.
You must be logged in as an administrator to be able to do the steps in this tutorial.  Note When a CD/DVD disc is inserted or a USB drive is connected to your system, Windows looks in the root directory of the new disc or drive for a file named autorun.inf. If found, Windows executes the instructions ( keys) in that file. For more about: Autorun vs Autoplay – What’s the Difference?
In Windows 7, Vista, and XP, two important changes were made to help improve security: NOTE: For more on this, see: AutoRun changes in Windows 7 - Security Research & Defense - Site Home - TechNet Blogs- AutoPlay will no longer support the AutoRun functionality for non-optical removable media. In other words, AutoPlay will still work for CD/DVDs but it will no longer work for USB drives. For example, if an infected USB drive is inserted on a machine then the AutoRun task will not be displayed. This will block the increasing social engineer threat highlighted in the SIR. The dialogs below highlight the difference that users will see after this change. Before the change, the malware is leveraging AutoRun (box in red) to confuse the user. After the change, AutoRun will no longer work, so the AutoPlay options are safe.
- A dialog change was done to clarify that the program being executed is running from external media.
By default in Windows 7, Vista, and XP now, the only [Autorun] keys available for USB/removable drives are below. The rest of the keys are ignored. - label - This key is responsible for displaying a custom name (label) for a CD/DVD or USB drive in Computer when a CD/DVD is inserted or a USB drive is connected.
- icon - This key is responsible for displaying a custom icon for a CD/DVD or USB drive in Computer when a CD/DVD is inserted or a USB drive is connected.
EXAMPLE: AutoPlay pop-up NOTE: These are just examples of the AutoPlay pop-up dialog that you will see when you connect say a USB flash drive or a DVD. The options you have in the AutoPlay window will depend on what you connected or inserted, and what action you have selected for it in the AutoPlay settings below.
 OPTION ONE 
Enable or Disable AutoPlay using a REG File Download
NOTE: This option affects all users on the computer.1. Do step 2, 3, or 4 below for what you would like to do. 2. To Enable AutoPlay NOTE: This is the default setting.A) Turn On AutoPlay if not already, and check to see if you wanted to enable AutoPlay for non-volume devices as well.
B) Click on the Download button below to download the file below.Enable_AutoPlay.reg  C) Go to step 5. 3. To Disable AutoPlay for All DrivesA) Click on the Download button below to download the file below.Disable_AutoPlay_for_All_Drives.reg  B) Go to step 5. 4. To Disable AutoPlay Only for CD/DVD and Removable Media DrivesA) Turn On AutoPlay if not already, and check to see if you wanted to enable AutoPlay for non-volume devices as well.
B) Click on the Download button below to download the file below.Disable_AutoPlay_for_Removable_Media_Drives.reg  C) Go to step 5. 5. Save the .reg file to the desktop. 6. Right click on the downloaded .reg file and click on Merge. 7. Click on Run, Yes (UAC-Windows 7) or Continue (UAC-Vista), Yes, and OK when prompted. 8. When done, you can delete the downloaded .reg file if you like. 9. Log off and log on, or restart the computer to fully apply.
 OPTION TWO 
Enable or Disable AutoPlay in the Local Group Policy Editor
1. Open the all users, specific users or groups, or all users except administrators Local Group Policy Editor for how you want this policy to be applied. 2. In the left pane, click on to expand User Configuration, Administrative Templates, Windows Components, and AutoPlay Policies. (see screenshot below) 3. In the right pane, right click on Turn off Autoplay and click on Edit. (see screenshot above) 4. Do step 5, 6, or 7 below for what you would like to do. 5. To Enable AutoPlayA) Turn On AutoPlay if not already, and check to see if you wanted to enable AutoPlay for non-volume devices as well.
B) Select (dot) either Not Configured or Disabled. (see screenshot below step 8) NOTE: Not Configured is the default setting.
C) Go to step 8. 6. To Disable AutoPlay for All DrivesA) Select (dot) Enabled, and select All drives in the "Options" drop down menu. (see screenshot below step 8)
B) Go to step 8. 7. To Disable AutoPlay Only for CD/DVD and Removable Media DrivesA) Turn On AutoPlay if not already, and check to see if you wanted to enable AutoPlay for non-volume devices as well.
B) Select (dot) Enabled, and select CD-ROM and removable media drives in the "Options" drop down menu.(see screenshot below step 8)
C) Go to step 8. 8. Click on OK. (see screenshot below) 9. Close the Local Group Policy Editor window. That's it,
Shawn | | | Need more help? Try searching our extensive help and support site.
Loading | |
13 Jan 2013
|
| | |
what is the difference here and control panel > Autoplay | My System Specs |
| OS Windows 7 Pro 64bit SP1 |
13 Jan 2013
|
| | |
Hello Sonshi,
They both affect the same settings, but this tutorial will allow you to enable or disable these items in AutoPlay to allow or prevent all or specific users from being able to set these items from the Control Panel -> AutoPlay. | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Self built custom OS 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise CPU Intel i7-3930K 3.2 Ghz (O/C 4 Ghz) Motherboard ASRock X79 Extreme11 Memory 32 GB (8GBx4) G.SKILL DDR3 Quad PC3-19200 2400MHz Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card SB Recon 3Di Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Thermaltake Level 10 GT Snow Edition Cooling Corsair Hydro H100 Hard Drives 256GB OCZ Vector
160GB OCZ RevoDrive X2
2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
Lite-On iHBS212 12x BD Writer
Samsung CLX-3175FW Printer
Netgear WNDR3800 Router
Motorola SBG6580 Cable Modem
2x APC Back-UPS XS 1500 |
29 Mar 2013
|
| | |
hi thanks!
but is there a way to disable only the autoplay for hard disk usb?
greetings | My System Specs | | OS windows 7 ultimate 32bit |
29 Mar 2013
|
| | |
Hello drugo,
You might check in your AutoPlay settings while the USB drive is connected to see of there may be a "Removable drive" option listed to set AutoPlay to "Take no action" for it. AutoPlay - Turn On or Off
Hope this helps, 
Shawn | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Self built custom OS 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise CPU Intel i7-3930K 3.2 Ghz (O/C 4 Ghz) Motherboard ASRock X79 Extreme11 Memory 32 GB (8GBx4) G.SKILL DDR3 Quad PC3-19200 2400MHz Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card SB Recon 3Di Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Thermaltake Level 10 GT Snow Edition Cooling Corsair Hydro H100 Hard Drives 256GB OCZ Vector
160GB OCZ RevoDrive X2
2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
Lite-On iHBS212 12x BD Writer
Samsung CLX-3175FW Printer
Netgear WNDR3800 Router
Motorola SBG6580 Cable Modem
2x APC Back-UPS XS 1500 |
31 Mar 2013
|
| | |

Quote: Originally Posted by Brink Hello drugo,
You might check in your AutoPlay settings while the USB drive is connected to see of there may be a "Removable drive" option listed to set AutoPlay to "Take no action" for it. AutoPlay - Turn On or Off
Hope this helps, 
Shawn hi shawn
do you mean when i turn on my usb hard disk? i have no option to turn off autoplay
in control panel -> autoplay i have a list about dvd and cd not usb the hard disks
is there a utility like xp to disable autorun for some devices letters?
thanks | My System Specs | | OS windows 7 ultimate 32bit |
31 Mar 2013
|
| | |
Autorun and autoplay are different.
The tutorial below can help you to completely disable autorun. Autorun.inf Files - Completely Block | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Self built custom OS 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise CPU Intel i7-3930K 3.2 Ghz (O/C 4 Ghz) Motherboard ASRock X79 Extreme11 Memory 32 GB (8GBx4) G.SKILL DDR3 Quad PC3-19200 2400MHz Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card SB Recon 3Di Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Thermaltake Level 10 GT Snow Edition Cooling Corsair Hydro H100 Hard Drives 256GB OCZ Vector
160GB OCZ RevoDrive X2
2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
Lite-On iHBS212 12x BD Writer
Samsung CLX-3175FW Printer
Netgear WNDR3800 Router
Motorola SBG6580 Cable Modem
2x APC Back-UPS XS 1500 AutoPlay - Enable or Disable problems? All times are GMT -5. The time now is 04:59 PM. | |