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 …

Workspace ONE Access Multisite Tasks – One Pager

vIDM, VMware, Workspace ONE Access

For the past few weeks, I have been working with my project team and my customer to help them stand up VMware Access on a secondary site. With the help of Haseeb Waseem, I have created a single spreadsheet which includes all the major steps needed to create a secondary site. Hope this is helpful […]

Read More

Workspace ONE Access Log Files and Location

VMware, Workspace ONE Access

Workspace ONE Access Logs and Config File location I came across many times with my customers asking about the logs file location and config file for VMware Workspace ONE Access. Below table has most useful log file location and config file that Engineers and admin should know about and will be helpful to troubleshoot WS1 […]

Read More

How to find VDI Client (ThinClient) MAC address from Horizon View

Horizon View, VMware

        While administering VDI environments, most of the time we will struggle to get Thin Client or VDI Client MAC address for troubleshooting, re-imaging or for providing remote shadow support. Below article explains about a simple “visual basic” script to get this information. In my case, I kept this script on network […]

Read More

Leave a Reply

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