Policy
Prevent installation of devices that match any of these device instance IDs
Microsoft Windows
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, WindowsServer2016
This policy setting allows you to specify a list of Plug and Play device instance IDs for devices that Windows is prevented from installing. This policy setting takes precedence over any other policy setting that allows Windows to install a device. If you enable this policy setting, Windows is prevented from installing a device whose device instance ID appears in the list you create. If you enable this policy setting on a remote desktop server, the policy setting affects redirection of the specified devices from a remote desktop client to the remote desktop server. If you disable or do not configure this policy setting, devices can be installed and updated as allowed or prevented by other policy settings.
Registry values
How enabled and disabled states update the registry.
| Scope | Registry location | Type | Enabled value | Disabled value | Copy |
|---|---|---|---|---|---|
| Computer | Path Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions Value name DenyInstanceIDs | REG_DWORD | HKLM 1 | HKLM 0 |
Policy elements
Inputs and configuration options exposed by this policy.
| Scope | Element | Type | Registry mapping | Constraints & behavior | Copy |
|---|---|---|---|---|---|
| Computer | Also apply to matching devices that are already installed. ID DeviceInstall_Instance_IDs_Deny_Retroactive | boolean | Path Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions Value name DenyInstanceIDsRetroactive Type REG_DWORD | Options: true (1), false (0) True: Set value = 1 · False: Set value = 0 | |
| Computer | Prevent installation of devices that match any of these device instance IDs: ID DeviceInstall_Instance_IDs_Deny_List | list | Path Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyInstanceIDs Value name DenyInstanceIDs Type REG_MULTI_SZ | List: standard |