How to Fix Zscaler and VMware Horizon VDI Disconnection Loops

How to Fix Zscaler and VMware Horizon VDI Disconnection Loops

How to Fix Zscaler and VMware Horizon View Client Crashes & Disconnections

In modern enterprise environments, pairing Zscaler Client Connector with VMware Horizon View Client is a standard practice for secure remote work. However, many IT administrators and end-users frequently encounter frustrating issues, ranging from sudden application crashes to constant VDI disconnections.

Because both applications operate at a deep network driver level to intercept traffic and manage encrypted tunnels, they often cross paths and interfere with one another. In this article, we will break down the most common crash case studies, their root causes, and how to configure them to work together seamlessly.


1. Common Crash and Issue Symptoms

A. Sudden Horizon Client Crashes (Hang / Force Close)

Symptom: Immediately after launching the Horizon Client or logging into a VDI session, the application freezes and crashes with an event log indicating that vmware-view.exe has stopped responding.

Why it happens: This is typically caused by a driver-level conflict between the Zscaler Lightweight Filter (LWF) driver and VMware’s virtual acceleration drivers (such as USB redirection or virtual printing), leading to a memory address collision.

B. VDI Disconnection Loop

Symptom: The VDI session drops every 10 to 15 minutes, prompting an automatic reconnection loop.

Why it happens: Zscaler’s health check packets or aggressive firewall policies might misidentify the persistent UDP/TCP streams required by Horizon as anomalous behavior, sending an RST (reset) packet to terminate the connection.

C. Extreme Input Lag and Screen Stuttering

Symptom: Users experience severe mouse lag, pixelated screens, or sluggish 3D rendering inside the virtual desktop.

Why it happens: This is the notorious "Double Encapsulation" problem. The high-performance Blast Extreme or PCoIP protocol stream is forced inside the Zscaler Tunnel 2.0 (DTLS/TLS) envelope, creating massive packet overhead and latency.


2. Root Cause Analysis Table

Conflict Area Technical Explanation
Driver Interception Zscaler’s network filtering driver and Horizon’s virtual network adapters clash within the Windows network stack.
Protocol Overhead Horizon’s UDP-based real-time traffic gets re-encapsulated by Zscaler’s Tunnel 2.0, causing severe bottlenecking.
MTU Fragmentation The added headers from the Zscaler tunnel lower the effective MTU size, causing large video packets from Horizon to fragment and drop.

3. Step-by-Step Solutions to Prevent Crashes

To resolve these stability and performance problems, IT administrators should apply the following standard optimization practices:

Step 1: Implement Traffic Bypasses in Zscaler Admin Console

Since VMware Horizon traffic is already heavily encrypted (TLS/DTLS), there is no need for Zscaler to perform deep packet inspection (SSL Inspection) or tunnel it. Bypassing this traffic is the most effective solution.

  • Go to your Zscaler Admin Portal (ZIA/ZPA Application Segments).
  • Add the FQDNs or IP addresses of your VMware Unified Access Gateways (UAG) and Connection Servers to the Bypass/Exempt List.
  • Ensure standard Horizon ports are bypassed from tunneling:
    • TCP 443 (Authentication & XML API)
    • TCP/UDP 8443 / TCP/UDP 22443 (Blast Extreme)
    • UDP 4172 (PCoIP)

Step 2: Modify Zscaler Forwarding Profile Driver Type

Depending on the Windows environment, switching how Zscaler interacts with the network adapter can eliminate app crashes.

  • In the Zscaler Mobile Portal, navigate to the Forwarding Profile.
  • Try changing the driver type from Packet Filter Based to Route Based (or vice versa, depending on your organization’s baseline) to test compatibility with the Horizon Virtual Adapter.

Step 3: Adjust the Client MTU Size

To prevent packet drops caused by fragmentation, reduce the Maximum Transmission Unit (MTU) size on the client machine or via the Zscaler Client Connector profile to a value between 1350 and 1400 (down from the default 1500). This leaves enough headroom for tunnel headers without splitting the packets.


Conclusion

The conflict between Zscaler and VMware Horizon Client boils down to network driver competition and double encryption. By implementing a strict network bypass for UAG endpoints and fine-tuning the MTU size, enterprises can eliminate VDI disconnections and application crashes entirely, ensuring a smooth and secure digital workspace experience.

Comments

Popular posts from this blog

Troubleshooting VMware Horizon Client vdpConnect_Failure Issue

VMware Horizon Agent “Protocol Error” — Fixed by Windows Firewall Configuration

VMware / Omnissa Horizon Agent Unreachable – Causes and Fixes (Complete Troubleshooting Guide)