This is just an example.
Prevent installation of devices using drivers that match these device setup classes
This setting allows you to specify the types of devices that cannot be installed on the system. Unfortunately, you don't have the option of simply selecting which types of devices you do and do not want to allow. Instead, you will have to supply the GUID that's associated with the device's class type that you want to block.
Please note: The Device Manager groups these devices by type. Each device type is assigned a class GUID in the registry. You can look up the GUID for each class in the system registry under HKEY_LOCAL_MACHINE\CurrentControlSet\Control\Class.
Keep in mind that making modifications to the registry can be dangerous. Incorrect modifications can destroy Windows and/or your applications. If you just want to look up class GUIDs, you should not have to make any registry modifications; however, I recommend making a full system backup anyway, just to be safe.
Display a custom message when installation is prevented by a policy (balloon text)
Enabling this policy setting allows you to display a custom message any time a user attempts to install an unauthorized device and lets you assign a custom title to your custom message.
Allow installation of devices that match any of these device IDs
With this Group Policy setting, you specify which devices can be used. Every plug-and-play device is assigned one or more hardware IDs. By entering those hardware IDs into this Group Policy setting, you can make sure that users are not prohibited from using the corresponding hardware.
To locate the hardware IDs for a specific device, open the Device Manager, right click on the device that you are interested in and select the Properties command from the resulting shortcut menu. Upon doing so, you will see the device's properties sheet. Now, go to the properties sheet's Details tab and select Hardware IDs from the Property drop-down list. The tab will now display the device's hardware IDs.
Please post back if you have any more problems or questions.
If this information is useful, please mark as helpful. Thanks.