Duplicate “ViewClient_Client_ID” and Multi Session issues on Horizon View

Multi-Session Issue on VMware Horizon View Due to Duplicate “ViewClient_Client_ID”

 
Problem: 
 
          When we enable the “Allow multiple sessions per user” settings in VDI Pool, a user that connect from different client devices receive different desktop sessions. To reconnect to an existing desktop session, user must use the same device from which that session initiated. If we do not enable this settings user will always reconnect to his existing desktop session, regardless of the client device that they use. 
        All client devices having randomly generated “ViewClient_Client_ID” and multi-session feature is working depending on this client id. But whenever we are using HP Thinpro (Ubuntu) Thin Clients with latest versions for Horizon Clients and capturing and deploying Thin Client images using Hp Device manager and USB flash, these is a chance of duplicating ViewClient_Client_ID in multiple client devices. When multiple devices have the same client_ids, it causes the first session to disconnect when trying to connect from the second device. 

Symptoms:

     Whenever VDI user trying to login to multiple sessions using same User ID, first session may disconnect with error “The connection to the remote computer has been closed due to a new connection request”. The Horizon view VDI Pool will not allow user to login in multiple session even if “Allow multiple Sessions per user” option is checked.
 
How to verify the client id?
 
        Once logged in to VDI session, client_id is visible on below registry path.
 
HKCU\Volatile Environment\ViewClient_Client_ID
 
        Also we can find client id by executing “SET” command from VDI session.
 
Solution:
 
         The client_id is randomly generating and saving by a client while connecting to the VDI session first time. To avoid duplicate client_ids, first we have to do factory reset the image, then install required Horizon version and do all customization, but don’t login to VDI session before capturing the image. Deploy the captured images to the VDI clients which image have blank client_id. All deployed devices will randomly generate different client_id while first login.

You might be interested in …

Install App Volumes Manager 2.15

AppVolumes, VMware

In this post, I will show you the installation steps of the App Volumes Manager. The installation will be straight forward. These installation steps can be used when installing your first App Volumes Manager but also when you install a second App Volumes Manager in your deployment. At the database connection step, I will explain […]

Read More

Enabling dynamic codec switching Horizon View 7.10

VMware

VMware Horizon 7.10 – released on September 17, 2019 – ships with a new dynamic encoder. Depending on what content you’re watching in your VDI, it will seamlessly switch to the best suiting codec for optimal performance/quality-balance. While H.264 is ideal for rapidly changing content like videos, JPG/PNG offers better quality for more static content […]

Read More

Unified Access Gateway with Microsoft Azure AD Integration using SAML

Many customers are moving towards extending their Datacenter workloads to the clouds, and Microsoft Azure is one of the partners that the VMware EUC team works very closely with. VMWare Unified Access Gateway, what we called “UAG,” is available in the Azure AD app gallery directly, reducing and simplifying the efforts of integration and configurations.  […]

Read More

Leave a Reply

Your email address will not be published. Required fields are marked *