ADMX Viewer
Microsoft.Policies.DeviceInstallation• Machine

Prevent installation of devices using drivers that match these device setup classes

This policy setting allows you to specify a list of device setup class globally unique identifiers (GUIDs) for driver packages that Windows is prevented from installing. By default, this policy setting takes precedence over any other policy setting that allows Windows to install a device. NOTE: To enable the "Allow installation of devices that match any of these device IDs" and "Allow installation of devices that match any of these device instance IDs" policy settings to supersede this policy setting for applicable devices, enable the "Apply layered order of evaluation for Allow and Prevent device installation policies across all device match criteria" policy setting. If you enable this policy setting, Windows is prevented from installing or updating driver packages whose device setup class GUIDs appear 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, Windows can install and update devices as allowed or prevented by other policy settings.

Policy Details

Policy Name
DeviceInstall_Classes_Deny
Registry Key
Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions
Value Name
DenyDeviceClasses
Supported On
At least Windows Vista
OMA-URI (CSP)
DeviceInstallation/PreventInstallationOfMatchingDeviceSetupClasses
OS Build Version:10.0.15063
CSP Version:5.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 device classes, click Show. In the Show Contents dialog box, in the Value column,

type a GUID that represents a device setup class

(for example, {25DBCE51-6C8F-4A72-8A6D-B54C2B4FC835}).

Also apply to matching devices that are already installed.

Type: boolean

True:1
False:0

Prevent installation of devices using drivers for these device setup classes:

Type: list