Hello
Thank you for posting in Q&A forum.
Registry DenyDeviceClasses related with Administrative Templates policy.
You can find this group policy by below path:
Computer Configuration > Administrative Templates > System > Device Installation > Device Installation Restrictions > Allow installation of devices that match any of these device IDs
You can don't set any value of this policy if you don't want to see this registry.
DeviceInstallation Policy CSP | Microsoft Learn
Best regards
Yanhong
=====================================
If the answer is helpful, please click "Accept answer" and upvote it