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:
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

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


    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

Configure NSX-V Edge Load Balancer for Horizon

Horizon View, NSX, VMware

In this blog post I will walkthrough of how to create a load balancer VIP to balance traffic between VMware Connection servers. In the below case, I’ll configure an NSX edge to load balance traffic between my connection servers.           Step 1 : Deploy a NSX Edge In networking and Security, […]

Read More

Leave a Reply

Your email address will not be published.