I'm trying to figure out how to find and disable two unnamed USB HID devices that show up in my system. When I run the command `Get-PnpDevice | Where-Object { $_.InstanceId -match '^HID' }`, it gives me a list of HIDs, but unfortunately, that only includes what's in Device Manager and not what I see under Settings > Bluetooth & Devices > Devices, where there are two 'USB HID' items listed as Other devices. The issue is that even if I remove them, they return after waking from sleep or restarting my computer. These devices are causing high CPU usage in Windows Explorer, which is really affecting my gaming performance, so I need a way to get rid of them for good.
1 Answer
Have you tried using USBDeview? It's a utility that provides detailed info on USB devices connected to your computer. It might help you identify those pesky HIDs better than PowerShell alone. Plus, you can see if there are any other options for managing them.
I used USBDeview and found the instance IDs! I then used those IDs in PowerShell to disable the devices with `Get-PnpDevice -InstanceID '[insert InstanceID here]' | Disable-PnpDevice`. After doing that and restarting my computer, one of the HIDs disappeared, but the other stuck around. I just repeated the process and managed to get rid of both!