AutoPlay - Enable or Disable for Non-volume Devices How to Enable or Disable AutoPlay for Non-volume Devices in Windows 7  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 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: 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.  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  C) Go to step 3. 2. To Disable AutoPlay for Non-volume DevicesA) Click on the Download button below to download the file below.Disable_AutoPlay_for_Non-volume_Devices.reg 
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) 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 DevicesA) 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 DevicesA) Select (dot) Enabled. (see screenshot below step 6) 6. Click on OK. (see screenshot below) 7. Close the Local Group Policy Editor window. That's it,
Shawn |  Published by | | Administrator Join Date: Oct 2008 Location: Texas Posts: 37,304 | |
 Tutorial Tools | | | | | |