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

 

      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 share and configured a Desktop shortcut on all VDI machines.
       When a user connects or reconnects to a View desktop, Horizon Client gathers information about the client system and View Connection Server sends that information to the remote desktop.
       View Agent writes the client computer information to the system registry path “HKEY_CURRENT_USER\Volatile Environment” on VDI desktops.
Registry values:
 
ViewClient_MAC_Address
ViewClient_IP_Address
Below script will read the HKEY_CURRENT_USER\Volatile Environment\ViewClient_MAC_Address registry parameter and will give Visual Basic output as below screenshot.

”#### VBS Script ####”
On Error Resume Next
Dim objShell, strTemp
Set objShell = WScript.CreateObject(“WScript.Shell”)
strTemp = “HKEY_CURRENT_USER\Volatile Environment\ViewClient_MAC_Address”
WScript.Echo “VDI Client MAC Address : ” & objShell.RegRead(strTemp) 
”### END ####”

You might be interested in …

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

Duplicate “ViewClient_Client_ID” and Multi Session issues on Horizon View

Horizon View, VMware

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 […]

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. Required fields are marked *