Policy
Apply layered order of evaluation for Allow and Prevent device installation policies across all device match criteria
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, WindowsServer2016
This policy setting will change the evaluation order in which Allow and Prevent policy settings are applied when more than one install policy setting is applicable for a given device. Enable this policy setting to ensure that overlapping device match criteria is applied based on an established hierarchy where more specific match criteria supersedes less specific match criteria. The hierarchical order of evaluation for policy settings that specify device match criteria is as follows: Device instance IDs > Device IDs > Device setup class > Removable devices Device instance IDs 1. Prevent installation of devices using drivers that match these device instance IDs 2. Allow installation of devices using drivers that match these device instance IDs Device IDs 3. Prevent installation of devices using drivers that match these device IDs 4. Allow installation of devices using drivers that match these device IDs Device setup class 5. Prevent installation of devices using drivers that match these device setup classes 6. Allow installation of devices using drivers that match these device setup classes Removable devices 7. Prevent installation of removable devices NOTE: This policy setting provides more granular control than the "Prevent installation of devices not described by other policy settings" policy setting. If these conflicting policy settings are enabled at the same time, the "Apply layered order of evaluation for Allow and Prevent device installation policies across all device match criteria" policy setting will be enabled and the other policy setting will be ignored. If you disable or do not configure this policy setting, the default evaluation is used. By default, all "Prevent installation..." policy settings have precedence over any other policy setting that allows Windows to install a device.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\AllowDenyLayered | 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.
- ComputerAllow administrators to override Device Installation Restriction policiesAt least Windows Vista
- ComputerAllow installation of devices that match any of these device IDsAt least Windows Vista
- ComputerAllow installation of devices that match any of these device instance IDsAt least Windows Server 2016, Windows 10 Version 1909
- ComputerAllow installation of devices using drivers that match these device setup classesAt least Windows Vista
- ComputerDisplay a custom message title when device installation is prevented by a policy settingAt least Windows Vista
- ComputerDisplay a custom message when installation is prevented by a policy settingAt least Windows Vista
- ComputerPrevent installation of devices not described by other policy settingsAt least Windows Vista
- ComputerPrevent installation of devices that match any of these device IDsAt least Windows Vista
- ComputerPrevent installation of devices that match any of these device instance IDsAt least Windows Server 2016, Windows 10 Version 1909
- ComputerPrevent installation of devices using drivers that match these device setup classesAt least Windows Vista
- ComputerPrevent installation of removable devicesAt least Windows Vista
- ComputerTime (in seconds) to force reboot when required for policy changes to take effectAt least Windows Server 2008 R2 or Windows 7