Display a custom message when installation is prevented by a policy setting
Jump to overview

Policy overview

Key metadata and intent for this policy.

Computer
Category
System > Device Installation > Device Installation Restrictions
Supported on
At least Windows Vista

Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista

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.

Internal name
DeviceInstall_DeniedPolicy_DetailText
Policy ID
da1e40576a55
Elements
1

Registry values

How enabled and disabled states update the registry.

No explicit registry values are set for enabled or disabled states.

Policy elements

Inputs and configuration options exposed by this policy.

ScopeElementTypeRegistry mappingConstraints & behaviorCopy
Computer
Detail Text
ID DeviceInstall_DeniedPolicy_DetailText_Text
text
Path
Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DeniedPolicy
Value name
DetailText
Type
REG_SZ
None
Detail Text
Computer · Type text
Registry mapping
Path
Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DeniedPolicy
Value name
DetailText
Type
REG_SZ
DetailsNone