Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - AutoPlay - Enable or Disable for Non-volume Devices

 

AutoPlay - Enable or Disable for Non-volume Devices

How to Enable or Disable AutoPlay for Non-volume Devices in Windows 7
Published by Brink
08-26-2011
Default AutoPlay - Enable or Disable for Non-volume Devices

How to Enable or Disable AutoPlay for Non-volume Devices in Windows 7

information   Information
This will show you how to enable or disable AutoPlay for all non-volume devices like MTP devices (ex: digital camera) with still having AutoPlay turned on in Windows 7.

You must be logged in as an administrator to be able to do the steps in this tutorial.

Note   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
  1. 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.
  2. 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:
If you disable AutoPlay for all non-volume devices and you connect a digital camera, the device stage or selected action will no longer open automatically even if set to do so in the AutoPlay settings.
AutoPlay - Enable or Disable for Non-volume Devices-device-stage.jpg



OPTION ONE

Using a REG File Download

NOTE: This option affects all users on the computer.
1. To Enable AutoPlay for Non-volume Devices
NOTE: This is the default setting.
A) Turn On AutoPlay and enable AutoPlay if not already.

B) Click on the Download button below to download the file below.
Enable_AutoPlay_for_Non-volume_Devices.reg
download
C) Go to step 3.
2. To Disable AutoPlay for Non-volume Devices
A) Click on the Download button below to download the file below.
Disable_AutoPlay_for_Non-volume_Devices.reg
download
3. Click on Save, and save the .reg file to the desktop.

4. Right click on the downloaded .reg file and click on Merge.

5. Click on Run, Yes, Yes, and OK when prompted.

6. When done, you can delete the downloaded .reg file if you like.

7. Log off and log on, or restart the computer to fully apply.



OPTION TWO

Through 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)
AutoPlay - Enable or Disable for Non-volume Devices-gpedit-1.jpg
3. In the right pane, right click on Turn off Autoplay for non-volume devices and click on Edit. (see screenshot above)

4. To Enable AutoPlay for Non-volume Devices
A) Turn On AutoPlay and enable AutoPlay if not already.

B) Select (dot) either Not Configured or Disabled. (see screenshot below step 6)
NOTE: Not Configured is the default setting.

C) Go to step 6.
5. To Disable AutoPlay for Non-volume Devices
A) Select (dot) Enabled. (see screenshot below step 6)
6. Click on OK. (see screenshot below)
AutoPlay - Enable or Disable for Non-volume Devices-gpedit-2.jpg
7. Close the Local Group Policy Editor window.
That's it,
Shawn





Published by
Brink's Avatar
Administrator

Join Date: Oct 2008
Location: Texas
Posts: 37,304

Tutorial Tools
Comment

 AutoPlay - Enable or Disable for Non-volume Devices problems?



Tutorial Tools



Similar Threads for: AutoPlay - Enable or Disable for Non-volume Devices
Windows 7 Tutorial Category
Where is Volume Control ? Mic Enable & Disable Sound & Audio
Anyway to disable Autoplay? Hardware & Devices
How to enable Autoplay for USB drives? Hardware & Devices
Portable devices not listed in Autoplay option . Won't pop autoplay. Hardware & Devices


All times are GMT -5. The time now is 01:38 AM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30