This policy setting allows you to specify a list of Plug and Play hardware IDs and compatible IDs for devices that Windows is allowed to install. Use this policy setting only when the "Prevent installation of devices not described by other policy settings" policy setting is enabled. Other policy settings that prevent device installation take precedence over this one.If you enable this policy setting Windows is allowed to install or update any device whose Plug and Play hardware ID or compatible ID appears in the list you create unless another policy setting specifically prevents that installation (for example the "Prevent installation of devices that match any of these device IDs" policy setting the "Prevent installation of devices for these device classes" policy setting or the "Prevent installation of removable devices" policy setting). 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 and no other policy setting describes the device the "Prevent installation of devices not described by other policy settings" policy setting determines whether the device can be installed.
System\Device Installation\Device Installation Restrictions
Machine
At least Windows Vista
HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions!AllowDeviceIDs; HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\AllowDeviceIDs
DeviceInstallation.admx