This is base on this forum
1. Open Group Policy editor, by typing Edit group policy, in Windows search or by typing gpedit.msc, and hit the Enter key. This will open Group Policy Editor on Windows Pro edition.
2. Go to Computer Configuration > Administrative Templates > System > Device Installation > Device Installation Restrictions.
3. Double-click on “Prevent installation of devices that match any of these device IDs”. Change the status to “Enabled”. If you wish, you can also select the “Also apply to matching devices that are already installed”, which will prevent installation or update of already installed devices. That means that already installed devices that match the Hardware Id, will be retroactively uninstalled and not allowed to be installed for as long as the Policy is Enabled (active)!
4. Click on the “Show” button.
5. Add the device Hardware IDs, that you copied in Step 2.
6. All device values (= Hardware Ids) entered in this section, will not be updated neither by Windows Update nor manually by the user. Note that one hardware ID, per device, is enough, you don't need to add all the Hardware Ids listed in Device Manager.
7. Once done, Click ok.
