How to Enable or Disable AutoPlay for Non-Volume Devices in Windows Connecting non-volume devices such as flash drives, smartphones, or cameras to a workstation might seem simple, but it introduces serious security and usability considerations. Before we begin, be sure to subscribe to NinjaOne's IT Video Hub and our YouTube channel for more tech content like this. Prerequisites for enabling or disabling Autoplay. Before we dive in, let's quickly go over what you'll need to follow along. First, you'll need administrator privileges to make any changes. If you’re on Windows 10 Pro, Enterprise, or Education, you can use the Local Group Policy Editor. If you’re using the Home edition or prefer using scripts, the Registry Editor is your option. And one more thing— if you’re using the Registry Editor, make sure to backup your Windows Registry first. That way, if anything goes wrong, you can easily restore your system. Option 1: Set AutoPlay using Local Group Policy Editor To change AutoPlay settings using Group Policy, follow these steps: Press Win + R, type gpedit.msc, and hit OK to open the Group Policy Editor. Go to: Computer Configuration, Administrative Templates, Windows Components, AutoPlay Policies. Double-click Disallow AutoPlay for non-volume devices. Choose one of the following options: Enabled – to turn off AutoPlay for non-volume devices. Disabled or Not Configured – to allow AutoPlay. Your changes will apply after the user signs in again or if you run gpupdate /force Option 2: Set AutoPlay using the Registry Editor Here’s how to change AutoPlay settings using the Registry Editor: Press Win + R, type regedit, and hit OK to open the Registry Editor. Navigate to or paste this path into the Registry address bar... Create or modify a DWORD (32-bit) value called NoAutoplayForNonVolume. Double-click it and set the value to: 1 – to disable AutoPlay 0 – to enable AutoPlay Verifying and testing Autoplay settings If you want to check if AutoPlay is active for non-volume devices, here's how: Plug in a device like a smartphone or digital camera that doesn't show up as a storage drive. If AutoPlay is enabled, it should launch automatically. If AutoPlay is disabled, no automated action will occur. To check if a policy is enforcing this setting, run gpresult in PowerShell or Command Prompt. Recommended use cases: What is the purpose of AutoPlay? Managing AutoPlay settings across your devices helps improve both user experience and IT security. Here are a few common use cases: Kiosk environment. Enterprise endpoint devices. Creating a consistent user experience By setting an AutoPlay policy, IT administrators can block unknown apps or media from running automatically while keeping the user experience smooth and interruption-free. To reduce risks from third-party devices, it’s a good idea to set an AutoPlay policy for non-volume devices. For more information, check out our official blog post on How to Enable or Disable AutoPlay for Non-Volume Devices in Windows linked in the description below.

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

Learn how to enable or disable AutoPlay for non-volume devices like smartphones, flash drives, and cameras. In this step-by-step guide, we’ll show you how to configure settings using Group Policy or the Registry Editor, plus how to test and verify changes. Perfect for IT admins looking to boost security and streamline the user experience across kiosks, enterprise devices, and more.

Read the full blog on How to Enable or Disable AutoPlay for Non-Volume Devices in Windows

Never miss a NinjaOne video!