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
Pack Microsoft Windows
Category Windows Components / AutoPlay Policies
Policy ID ef8ead0aca02
Internal name DontSetAutoplayCheckbox

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