ADMX Viewer →

Turn off Autoplay

Computer Configuration and User Configuration > Administrative Templates > Windows Components > AutoPlay Policies

ComputerUser Policy name Autorun AutoPlay.admx Windows 11 25H2 3.0

Registry

Key (computer)HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Key (user)HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value namenone on the policy itself; the options below write their own values
Supported onAt least Windows 2000
NamespaceMicrosoft.Policies.AutoPlay

Options

OptionValue writtenType and rangeDefault
Turn off Autoplay on: (required) NoDriveTypeAutoRun
  • 181 CD-ROM and removable media drives
  • 255 All drives
181

What each state writes

Computed with the same rules RFF Conformance uses, with the default options. Pick your own options in the builder below.

Computer Configuration

Enabled
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer NoDriveTypeAutoRun 181 REG_DWORD
Disabled
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer NoDriveTypeAutoRun value removed
Not configured
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer NoDriveTypeAutoRun value removed

User Configuration

Enabled
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer NoDriveTypeAutoRun 181 REG_DWORD
Disabled
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer NoDriveTypeAutoRun value removed
Not configured
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer NoDriveTypeAutoRun value removed

In Intune

This is a Policy CSP setting, so it is in Intune's Settings Catalog by name. For a custom (OMA-URI) profile, use:

OMA-URI (user)./User/Vendor/MSFT/Policy/Config/Autoplay/TurnOffAutoPlay
Windows builds: 10.0.15063
OMA-URI (device)./Device/Vendor/MSFT/Policy/Config/Autoplay/TurnOffAutoPlay
Windows builds: 10.0.15063
Data typeString
Value to enable<enabled/><data id="Autorun_Box" value="181"/>
Value to disable<disabled/>

From Microsoft's Policy CSP DDF files (DDFv2Feb2026.zip, 2026-02-19).

Build it

Choose a state and options. You get the exact writes, a .reg file, a script that applies them, and a script that checks a machine and reports drift. Nothing leaves your browser.

Keep it set across your fleet

Group Policy writes these values once per refresh and never tells you when something changes them back. RFF Conformance reads them from every computer, shows which ones drifted and who changed them, and puts them back on approval, with each change versioned and undoable. It works without a domain controller.

How Conformance works · Your baseline from this site

Source: Windows 11 2025 Update (25H2), version 3.0, published by Microsoft 2026-02-02. Policy names and option labels are Microsoft's. Microsoft's full description of this setting: search Microsoft Learn.

ADMX Viewer is open source: github.com/deadarcher/AdmxViewer. Found a wrong registry value, a missing catalog, or a template that won't load? Open an issue, email brian@getrff.com, or use the form below.