Hyper-V : Show the host server in a running VM

Today someone asked me how he could see what was the host Hyper-V server while running a virtual machine.

This is how you can do that :

When Hyper-V Integration Services is installed, the following registry key contains all the information you need :

 

HKLM\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters

 

You could easily find the server where this VM is running on from this point forward.

 

regedit_in_a_vm

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.