Disconnect device on client messes up USB and Bluetooth on Server

I'm trying out Virtualhere.  Nothing fancy.  Two Windows 11 computers in the same building, on the same network.  Nothing special about the computers.

I plug in a SanDisk USB flash drive on the server and I'm able to use it on the client as expected.  All good so far.

BUT, on the client computer, when I right-click on the device in the Virtualhere client and click the option to stop using the device, things go haywire on the server computer.  It disables everything USB, AND kills bluetooth.  The bluetooth device completely disappears from Device Manager.  I have to reboot the server computer 2 or 3 times to get everything working again and get bluetooth back.  I use a bluetooth mouse on the server computer, and the mouse stops working.  That's how I noticed that even bluetooth gets killed.

Here is the server log.

2026-01-14 01:42:39 INFO :>>> Starting VirtualHere USB Server v4.7.8 (Built: May 12 2025, 11:50:28)<<<
2026-01-14 01:42:39 WARNING :Warning, tried finding HOME directory but that also failed, config.ini will be loaded from pwd
2026-01-14 01:42:39 INFO :Creating default configuration config.ini
2026-01-14 01:42:39 INFO :Server licensed to=unlicensed max_devices=1
2026-01-14 01:42:39 INFO :Listening on all network interfaces at TCP port 7575 (IPv6 dual-stack)
2026-01-14 01:42:39 INFO :Found Full speed device [138a:00ab] "0x138a, 0x00ab" at address 2
2026-01-14 01:42:39 INFO :Found High speed device [0408:5411] "Quanta, HP HD Camera" at address 3
2026-01-14 01:42:39 INFO :Found Full speed device [8087:0a2b] "0x8087, 0x0a2b" at address 4
2026-01-14 01:44:11 INFO :192.168.0.120 connected as connection 1 (Standard TCP)
2026-01-14 01:44:39 INFO :Found Super speed device [0781:5581] "SanDisk, Ultra" at address 5
2026-01-14 01:45:15 INFO :Device 5 [0781:5581] BOUND to connection 1
2026-01-14 01:45:15 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 5, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 01:45:15 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 5, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 01:45:15 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 5, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 01:45:16 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 5, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 01:45:16 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 5, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 01:45:16 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 5, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 01:45:16 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 5, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 01:45:16 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 5, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 01:45:17 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 5, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 01:45:18 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 5, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 01:45:44 INFO :Device 5 [0781:5581] UNBOUND from connection 1
2026-01-14 01:45:44 INFO :Unmanaging device 2 [138a:00ab]
2026-01-14 01:45:44 INFO :Unmanaging device 3 [0408:5411]
2026-01-14 01:45:44 INFO :Unmanaging device 4 [8087:0a2b]
2026-01-14 01:45:44 INFO :Unmanaging device 5 [0781:5581]
2026-01-14 01:46:38 INFO :Connection 1 successfully removed (reason:timeout)
 

#3

Unfortunately, it still does the same thing.  Here is the server log from the new run.

2026-01-14 02:38:23 INFO :>>> Starting VirtualHere USB Server v4.8.6 (Built: Nov 27 2025, 15:34:49)<<<
2026-01-14 02:38:23 INFO :Using configuration C:\OneDrive\OneDrive - the-tardis\850G5LT\Desktop\config.ini
2026-01-14 02:38:23 INFO :Server licensed to=unlicensed max_devices=1
2026-01-14 02:38:23 INFO :Listening on all network interfaces at TCP port 7575 (IPv6 dual-stack)
2026-01-14 02:38:24 INFO :Found Full speed device [138a:00ab] "0x138a, 0x00ab" at address 3
2026-01-14 02:38:24 INFO :Found High speed device [0408:5411] "Quanta, HP HD Camera" at address 4
2026-01-14 02:38:24 INFO :Found Full speed device [8087:0a2b] "0x8087, 0x0a2b" at address 2
2026-01-14 02:38:47 INFO :192.168.0.120 connected as connection 1 (Standard TCP)
2026-01-14 02:39:08 INFO :Found Super speed device [0781:5581] "SanDisk, Ultra" at address 6
2026-01-14 02:39:18 INFO :Device 6 [0781:5581] BOUND to connection 1
2026-01-14 02:39:18 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 6, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 02:39:18 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 6, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 02:39:18 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 6, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 02:39:18 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 6, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 02:39:18 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 6, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 02:39:18 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 6, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 02:39:18 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 6, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 02:39:18 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 6, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 02:39:18 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 6, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 02:39:19 WARNING :Error 31 from GetOverlappedResult for ep 0x81 on device 6, A device attached to the system is not functioning. (0x0000001f)
2026-01-14 02:39:54 INFO :Device 6 [0781:5581] UNBOUND from connection 1
2026-01-14 02:39:54 INFO :Unmanaging device 3 [138a:00ab]
2026-01-14 02:39:54 INFO :Found Full speed device [138a:00ab] "0x138a, 0x00ab" at address 3
2026-01-14 02:39:54 INFO :Unmanaging device 4 [0408:5411]
2026-01-14 02:39:54 INFO :Unmanaging device 6 [0781:5581]
2026-01-14 02:39:55 INFO :Unmanaging device 3 [138a:00ab]
2026-01-14 02:40:03 INFO :Unmanaging device 2 [8087:0a2b]
 

 

#4

On an extra note, I also tried the server version from the Windows store and it did the same thing.

#5

Ok not sure sorry. I dont think its compatible

#6

I tested with some other USB drives.  It's something with that specific model of USB drive.  I tried other models of USB flash drive and they worked fine.  I also have several different drives of the one that fails, and they all fail in the same way.

But the ones that fail are still just a typical USB flash drive.  What would be special/different about these?  They are USB 3.0 flash drives if that makes any difference.  (The other drives I tested that don't fail are all USB 2.0 drives.)  These USB 3.0 drives DO work on connection.  I can connect to the drive from the client, and I can open the drive in File Explorer on the client and view files, copy files off, and copy files to the USB drive.  That all works fine.  It's only when I go to "Stop using this drive" that it then causes the issue.

 

#7

I suspect it might be a mode switch issue inside the disk.

Some USB 3 disks support UASP. Virtualhere server on windows wont support this so it tries to switch it to standard BOS disk mode. 

(Virtualhere client on windows does support UASP drives together with Virtualhere Server on Linux)

I suspect if you plug the drive first into a USB 2 port (or USB 2) hub and use it via virtualhere it would work ok.