Hyper-V – getting host information from the guest VM
Sometimes it’s necessary to find out host machine information from a particular guest virtual machine.
With Hyper-V Integration Services installed, the following registry key contains information about the Host server:
Some keys of interest are:
- Plus a number of settings about the Host Server’s version
This is maintained in real-time. For example, if you rename the virtual machine name in Hyper-V, VirtualMachineName is immediately updated in the guest server, assuming that it’s running. And, even if it’s not running at the time that you rename the server in the host, it will be reflected when powering on the VM or restoring from a saved state.