Disable AutoPlay for Non-volume Devices in Windows 10

Autoplay Icon

In Windows 10, there is an option to disable the AutoPlay feature for non-volume devices, such as cameras and phones. Today, we will review two methods you can use to disable it.

What is AutoPlay

AutoPlay is a special feature of the shell which allows the user to quickly pick a desired action for various media types you have connected or attached to your computer. You can configure it to open your favorite image viewer app when you insert a disk with photos, or launch a media player app automatically for your drive containing media files. It saves your time, since the required app starts automatically every time you connect your device or insert your disk.

How to disable AutoPlay

If you find no use for the AutoPlay feature, there are a number ways to enable or disable AutoPlay. It can be done using Settings, the classic Control Panel or the Registry. Also, there is a special Group Policy option that can be used to force enable or force disable the AutoPlay feature for all drives in Windows 10. The policy can be applied to all user accounts registered on your computer, or to the current user account only.

For reference, see the following articles:

Disable AutoPlay for non-volume devices

Finally, you can disable AutoPlay for non-volume devices. This can be done with either Group Policy or a Registry tweak. The restriction can be applied to all user accounts or to the current user account only.

To disable AutoPlay for non-volume devices in Windows 10, do the following.

  1. Open Registry Editor.
  2. Go to the following Registry key:
    HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer

    Tip: See how to jump to the desired Registry key with one click.

    If you do not have such a key, then just create it.

  3. Here, create a new 32-bit DWORD value NoAutoplayfornonVolume. Note: Even if you are running 64-bit Windows, you still need to use a 32-bit DWORD as the value type.
    Set it to 1 in decimals to disable AutoPlay for non-volume devices.
  4. To make the changes done by the Registry tweak take effect, you need to sign out and sign in again to your user account.

Later, you can delete the NoAutoplayfornonVolume value to unblock the AutoPlay feature for non-volume devices.

You are done.

Disable AutoPlay for Non-volume Devices for All Users

To disable AutoPlay  for all devices for all users, ensure that you are signed in as Administrator before proceeding.

  1. Open Registry Editor.
  2. Go to the following Registry key:
    HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Explorer

    Tip: See how to jump to the desired Registry key with one click.

    If you do not have such a key, then just create it.

  3. Here, create a new 32-bit DWORD value NoAutoplayfornonVolume. Note: Even if you are running 64-bit Windows, you still need to use a 32-bit DWORD as the value type.
    Set it to 1 in decimals to disable AutoPlay for non-volume devices.
  4. Restart Windows 10 to apply the restriction, and you are done.

Download Ready-to-use Registry files

To save your time, I made the following ready-to-use Registry files. You can download them here:

Download Registry Files

The undo tweak is included.

Disable AutoPlay for Non-volume Devices with Gpedit.msc

If you are running Windows 10 Pro, Enterprise, or Education edition, you can use the Local Group Policy Editor app to configure the options mentioned above with a GUI.

Do the following.

  1. Press Win + R keys together on your keyboard and type:
    gpedit.msc

    Press Enter.

  2. Group Policy Editor will open. Go to User Configuration\Administrative Templates\Windows Components\AutoPlay Policies. Enable the policy option Disallow AutoPlay for non-volume devices.

Disable AutoPlay for Non-volume Devices For All Users with Gpedit.msc

  1. Press Win + R keys together on your keyboard and type:
    gpedit.msc

    Press Enter.

  2. Group Policy Editor will open. Go to Computer Configuration\Administrative Templates\Windows Components\AutoPlay Policies. Enable the policy option Disallow AutoPlay for non-volume devices.

Articles of interest:

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

Leave a Reply

Your email address will not be published.

Exit mobile version
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.