Policy
Prevent AutoPlay from remembering user choices.
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista
This policy setting allows you to prevent AutoPlay from remembering user's choice of what to do when a device is connected. If you enable this policy setting, AutoPlay prompts the user to choose what to do when a device is connected. If you disable or do not configure this policy setting, AutoPlay remembers user's choice of what to do when a device is connected.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DontSetAutoplayCheckbox | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- ComputerDisallow Autoplay for non-volume devicesAt least Windows Server 2008 R2 or Windows 7
- UserDisallow Autoplay for non-volume devicesAt least Windows Server 2008 R2 or Windows 7
- UserPrevent AutoPlay from remembering user choices.At least Windows Vista
- UserSet the default behavior for AutoRunAt least Windows Vista
- ComputerSet the default behavior for AutoRunAt least Windows Vista
- UserTurn off AutoplayAt least Windows 2000
- ComputerTurn off AutoplayAt least Windows 2000