Windows 7 Forums


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 26 Aug 2011
Published by

Featured Tutorial

Microsoft Outlook Desktop Shortcut - Create
Microsoft Outlook Desktop Shortcut - Create

How to Create a Special Outlook Desktop (Office XP style) Shortcut

Emergency Kit - save your files from a dead OS
Emergency Kit - save your files from a dead OS

How to Create and Use a Linux Mint Mate USB Flash Drive to Recover your Files

Portable OS - Carry your OS on an External Drive
Portable OS - Carry your OS on an External Drive

How to Create a Portable OS on an External Drive

Microsoft Account "Two-step Verification" - Turn On or Off
Microsoft Account "Two-step Verification" - Turn On or Off

How to Turn "Two-step Verification" On or Off for your Microsoft Account

Clean Up Factory Bloatware
Clean Up Factory Bloatware



Microsoft Account - Sign up for and Create
Microsoft Account - Sign up for and Create

How to Sign up for and Create a Microsoft Account
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







Need more help? Try searching our extensive help and support site.
Loading
Comment

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



Tutorial Tools



Similar help and support threads for: AutoPlay - Enable or Disable for Non-volume Devices
Windows 7 Tutorial Category
Where is Volume Control ? Mic Enable & Disable Sound & Audio
enable iPhone 5 autoplay pop-up when connected to PC. Hardware & Devices
AutoPlay - Enable or Disable Tutorials
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 09:15 PM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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 31 32