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 …

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

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

Horizon 7.x – Branding and customization of login page

Horizon View, VMware

As Horizon 7.7 just released last week, one of the features my customer often asked me about customizing horizon view default screen for enterprise logo and background.  I think it is a nice visual to add some simple branding to the default Horizon landing and portal pages and it is relatively straightforward to accomplish. Let’s […]

Read More

Leave a Reply

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