Policy

Display a custom message when installation is prevented by a policy setting

This policy setting allows you to display a custom message to users in a notification when a device installation is attempted and a policy setting prevents the installation. If you enable this policy setting, Windows displays the text you type in the Detail Text box when a policy setting prevents device installation. If you disable or do not configure this policy setting, Windows displays a default message when a policy setting prevents device installation.

Policy
Pack Microsoft Windows
Category System / Device Installation / Device Installation Restrictions
Policy ID da1e40576a55
Internal name DeviceInstall_DeniedPolicy_DetailText

Registry

Copy registry mappings

HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DeniedPolicy\DetailText

Policy notes

This policy setting allows you to display a custom message to users in a notification when a device installation is attempted and a policy setting prevents the installation. If you enable this policy setting, Windows displays the text you type in the Detail Text box when a policy setting prevents device installation. If you disable or do not configure this policy setting, Windows displays a default message when a policy setting prevents device installation.

Related policies