Policy

Prevent AutoPlay from remembering user choices.

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.

Policy
PackMicrosoft Windows
CategoryWindows Components / AutoPlay Policies
Policy IDef8ead0aca02
Internal nameDontSetAutoplayCheckbox

Registry

Copy registry mappings

HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DontSetAutoplayCheckbox (enabled) = 1
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DontSetAutoplayCheckbox (disabled) = 0
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DontSetAutoplayCheckbox (enabled) = 1
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DontSetAutoplayCheckbox (disabled) = 0

Policy notes

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.

Related policies