Quantcast
Channel: VMware Communities : Discussion List - VMware View
Viewing all articles
Browse latest Browse all 10683

How to get hostname of the physical PC inside a virtual machine before user logs in Windows?

$
0
0

I am not sure if this is the right place to post this question, I am developing a software to support VMWare PCoIP and need to find out how to get the hostname of the physical machine (that runs View Client and the virtual machine) inside a virtual machine before the user logs in Windows of the virtual machine.

 

I understand there are two ways to read the hostname, via environment variables and registry under HKEY_CURRENT_USER\Volatile Environment, but they are only available after the user has logged on. I need the info before the user logs in.

 

Is there any VMware API that can be called or queried the hostname?

 

Thanks.


Viewing all articles
Browse latest Browse all 10683

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>