Troubleshooting VMware Horizon USB Redirection Issues Across Different Subnets
Troubleshooting VMware Horizon USB Redirection Failure Across Different IP Subnets
Published on | Category: Virtualization & Networking
When connecting to a VMware Horizon Virtual Desktop Infrastructure (VDI) from multiple locations, you might encounter an issue where USB Redirection works seamlessly in Location A but fails completely in Location B. If the primary difference between these locations is the PC's IP address subnet, the issue almost certainly points to blocked network ports, disabled client services, or location-based group policies.
Here is a breakdown of why this happens and a step-by-step guide to resolving the issue.
Common Causes for Location-Based USB Redirection Failures
- Port 32111 Blocked: TCP/UDP port 32111 is the standard port required for USB redirection between the Horizon Client and the virtual desktop/Connection Server. Local firewalls or network switches on specific subnets often block this port.
- Disabled Client USB Service: The
VMware Horizon Client USB Serviceon the local machine might be stopped, uninstalled, or blocked by local Endpoint Detection and Response (EDR) software. - Horizon Smart Policies / GPO Restrictions: VMware Horizon administrators often configure location-based policies that automatically disable USB access when a user connects from specific IP ranges (e.g., remote or guest subnets).
Step-by-Step Solutions
Fix 1: Verify and Open Port 32111
First, test whether the network port is open from the client PC where USB fails.
- Open PowerShell on the client PC.
- Run the following command (replace
<Server_IP_or_FQDN>with your Horizon Connection Server or Agent IP):Test-NetConnection -ComputerName <Server_IP_or_FQDN> -Port 32111 - Check the output for TcpTestSucceeded:
- True: The port is open. Move to Fix 2.
- False: The network firewall or ACL on that subnet is blocking port 32111. You must request your network administrator to allow traffic over TCP/UDP 32111 for that IP range.
Fix 2: Check Client-Side VMware USB Service
Ensure the USB component is installed and running on the endpoint machine.
- Press Win + R, type
services.msc, and press Enter. - Locate VMware Horizon Client USB Service.
- Verify that the Status is set to Running and Startup type is set to Automatic.
- If the service is missing, rerun the VMware Horizon Client installer, select Modify, and ensure the USB Redirection feature is explicitly checked.
Fix 3: Review Horizon GPO & Smart Policies
If you have administrator access to the VMware Horizon environment:
- Open Group Policy Management on your Active Directory Domain Controller.
- Check policies assigned under
VMware Horizon Agent Configuration > Device Redirection > USB Redirection. - Verify if DEM (Dynamic Environment Manager) or Smart Policies are configured to disable USB redirection based on the client's IP subnet condition. Adjust the policy to permit access for the affected subnet if authorized.
Conclusion
If VMware Horizon USB redirection works in one IP range but fails in another, a firewall blocking TCP/UDP 32111 is the culprit in over 80% of cases. Running a quick PowerShell connection test will save you hours of troubleshooting. If the port is open, verify the local client service and consult your system administrator regarding location-based Horizon policies.
Comments
Post a Comment