Getting error code when using vhfilter.exe

Just got the PPPS USB hub. I was following the example of using vhfilter.exe in my Win11 PC. No running of VirtualHere Client and Server. In cmd window, tried vhfilter.exe --install-filter and reboot. Open cmd window as admin. Got the the following messages.

C:\Users\user\Tools>vhfilter.exe --list-hubs
The following hubs are attached that support Per-Port-Power-Switching:

USB\VID_366B&PID_0004\MSFT2042635DBD3434D520     has  4 ports   is USB 2        and attached to port  7 on USB\ROOT_HUB30\4&6970116&0&0 with companion port 23
USB\VID_366B&PID_0005\MSFT3042635DBD3434D520     has  4 ports   is USB 3        and attached to port 23 on USB\ROOT_HUB30\4&6970116&0&0 with companion port  7

C:\Users\user\Tools>vhfilter.exe --switch-port 1 off "USB\VID_366B&PID_0004\MSFT2042635DBD3434D520"
Error 0x000003e3 turning off port 1.
Error 0x000003e3 turning off companion port 1
C:\Users\user\Tools>vhfilter.exe --switch-port 1 off "USB\VID_366B&PID_0005\MSFT3042635DBD3434D520"
Error 0x000003e3 turning off port 1.
Error 0x000003e3 turning off companion port 1
 

#2

Checked Windows device manager. I think the USB hub is listed as "Generic SuperSpeed USB Hub". Its "Driver Details" lists two items: USBHUB3.SYS and vhfilter.sys.

#4

Use another Win11 notebook. vhfilter.exe --install-filter and reboot. Got this.

C:\Users\user\Tools>vhfilter.exe --list-hubs
The following hubs are attached that support Per-Port-Power-Switching:

USB\VID_366B&PID_0004\MSFT2042635DBD3434D520     has  4 ports   is USB 2        and attached to port  1 on USB\ROOT_HUB30\4&4130a13&0&0 with companion port 17
USB\VID_366B&PID_0005\MSFT3042635DBD3434D520     has  4 ports   is USB 3        and attached to port 17 on USB\ROOT_HUB30\4&4130a13&0&0 with companion port  1

C:\Users\user\Tools>vhfilter.exe --switch-port 4 off "USB\VID_366B&PID_0005\MSFT3042635DBD3434D520"
Error 0x000003e3-0xc0000120-0xc0010000 turning off port 4.
Error 0x000003e3 turning off companion port 4
 

#5

Ok that is odd. Can i login via Rustdesk or anydesk while you are there and take a look? Email me at mail [at] virtualhere.com (mail[at]virtualhere[dot]com)

#6

Will set up a Win11 PC for this tomorrow morning.

#7

For others reading....The issue ended up being Windows Selective Suspend on a laptop.

Windows was entirely turning off the USB Hub (since nothing was connected) and it couldn't respond to power on/off commands. 

To turn off Selective Suspend, bring up Edit Power Plan -> Change Advanced Power Settings-> USB Selective Suspend -> Disable

#8

Thank you for spotting this! Surely save my day!

Wendar