I am working with POS systems where we do not want employees to plug in USB drives, keyboards, mice, or ANYTHING into the ports.
I have looked for many solutions to permanently disable the power to / operation of USB ports. Cannot find anything too effective.
I've noticed there are usually multiple "USB Root Hubs" / "Generic USB Hub" / "Intel Host Controllers" depending on each individual PC. Working in Win 7, but doubt that it matters.
Is there a way to effectively totally remove USB usability, including keyboard & mouse?
Preferably a VBScript, PowerShell Script, or batch command since it will be pushed across hundreds of PC's?
Edit: Uninstalling does exactly what I need. How would I create a powershell script to uninstall these drivers?
Currently starting with:
$hubs = Get-WmiObject Win32_USBHub
which returns:
\LAPTOP-CFDT09FN\root\cimv2:Win32_USBHub.DeviceID="USB\ROOT_HUB30\7&AF4FDB&3&0" \LAPTOP-CFDT09FN\root\cimv2:Win32_USBHub.DeviceID="USB\VID_2109&PID_0210\8&256E5DBF&0&3" \LAPTOP-CFDT09FN\root\cimv2:Win32_USBHub.DeviceID="USB\ROOT_HUB30\4&1097135A&4&0" \LAPTOP-CFDT09FN\root\cimv2:Win32_USBHub.DeviceID="USB\VID_0D62&PID_910E\5&1F94A3C&1&1" \LAPTOP-CFDT09FN\root\cimv2:Win32_USBHub.DeviceID="USB\VID_1532&PID_0233\5&1F94A3C&1&8" \LAPTOP-CFDT09FN\root\cimv2:Win32_USBHub.DeviceID="USB\VID_2109&PID_2210\5&1F94A3C&1&11" PS C:\Users\Will.Davis>