Forum Discussion

bjokel's avatar
bjokel
Copper Contributor
Dec 16, 2021

How to find out client machine name when connected with web client to Azure Virtual Desktop?

It appears that there is no way of finding out a client machine name when connected to Azure Virtual Desktop host from a web client.

 

Using Windows API WTSQuerySessionInformation with WTSInfoClass set to WTSClientName does not seem to work (as it does with RDP clients connected to non-Azure hosts).

 

Is there a way - programmatic (e.g. API) or manual/script - of finding out a client machine name that is connected with Web client to Azure Virtual Desktop?

Resources