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 …

Deployment of VMware Unified Access Gateway (UAG) on AWS as EC2 instance

Horizon View, VMware

Deployment of VMware Unified Access Gateway (UAG) on AWS as EC2 instance In this post, I’ll provide guidance on how to Deploy VMware Unified Access Gateway in AWS Amazon Native VPC as EC2 instance.  Before we proceed, currently UAG FIPS is only supported on the vSphere environment to all other deployment such as AWS and […]

Read More

VMware PowerCLI Connect-VIServer Error: Invalid server certificate. Use Set-PowerCLIConfiguration

VMware

    Problem:   Unable to connect vCenter with  “Connect-VIServer” command. It gives error “VMware PowerCLI Connect-VIServer Error: Invalid server certificate. Use Set-PowerCLIConfiguration“       Reason:   The issue usually happen whenever Self Signed Certificate is used in Vcenter server.     Solution:   Execute below command to ignore Certificate check during vCenter Connection. […]

Read More

NTP configuration on multiple ESXi hosts via PowerCLI

VMware

As you might know, keeping our ESXi hosts’ date and time accurate is very critical. To prevent having an inaccurate time configuration we can use the NTP server in our environment.A few days ago, I faced a question about NTP configuration in the vSphere environment and how to set NTP configuration on many ESXi hosts. […]

Read More

Leave a Reply

Your email address will not be published.