ADMX Viewer
Microsoft.Policies.DeviceInstallation• Machine

Prevent installation of devices that match any of these device instance IDs

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.

Policy Details

Policy Name
DeviceInstall_Instance_IDs_Deny
Registry Key
Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions
Value Name
DenyInstanceIDs
Supported On
At least Windows Server 2016, Windows 10 Version 1909
OMA-URI (CSP)
DeviceInstallation/PreventInstallationOfMatchingDeviceInstanceIDs
OS Build Version:10.0.19041
CSP Version:10.0
Conflict Resolution:LastWrite
Allowed Editions:
EnterpriseEnterprise NProfessionalProfessional NEnterprise EvaluationEnterprise N EvaluationEducationEducation NEnterprise SEnterprise S NEnterprise S EvaluationEnterprise S N EvaluationPro Single LanguagePro ChinaPro WorkstationPro Workstation NPro For EducationPro For Education NEnterprisegEnterprisegnIotenterpriseIotenterprisesCloudeditionnCloudeditionIotenterpriseskIotenterpriseseval
Policy State Values
Enabled: 1
Disabled: 0
Available Languages
en-us

Configuration Elements

To create a list of devices, click Show. In the Show Contents dialog box, in the Value column,

type a Plug and Play device instance ID

(for example, USB\VID_045E&&PID_0123\01234567890123456789).

Also apply to matching devices that are already installed.

Type: boolean

True:1
False:0

Prevent installation of devices that match any of these device instance IDs:

Type: list