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 device drivers 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 or updating device drivers 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.

Supported on: At least Windows Vista
Registry PathSoftware\Policies\Microsoft\Windows\DeviceInstall\Restrictions
Value NameDenyDeviceClasses
Enabled Value1
Disabled Value0

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

Registry PathSoftware\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceClasses
Value Name{number}
Value TypeREG_SZ
Default Value

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.
Registry PathSoftware\Policies\Microsoft\Windows\DeviceInstall\Restrictions
Value NameDenyDeviceClassesRetroactive
Default Value0
True Value1
False Value0


Administrative Templates (Computers)

Administrative Templates (Users)