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 …

Netscaler Access Gateway as home gateway for Citrix and Horizon View

Horizon View, NetScaler, XenDesktop

Background: Recently I configured Citrix Products (XenApp, XenDesktop, PVS) and Horizon View Products (View,  Hosted Application, App-Volume, UEM) to my home lab.. I  have only one external IP address (Thanks to Comcast that they do not change external IP frequently any more.) and would like to access both environments remotely. After researching through internet and support from Carl Stalhood (very […]

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

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

Leave a Reply

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