Thursday, May 9, 2013

So you want to find out the hyper-v host of VM from the VM desktop....

Easy just use regedit to browse to


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters
"HostName"="VHOST1.mydomain"
"HostingSystemEditionId"=dword:00000008
"HostingSystemOsMajor"=dword:00000006
"HostingSystemOsMinor"=dword:00000002
"HostingSystemProcessorArchitecture"=dword:00000009
"HostingSystemSpMajor"=dword:00000000
"HostingSystemSpMinor"=dword:00000000
"PhysicalHostName"="VHOST1"
"PhysicalHostNameFullyQualified"="VHOST1.mydomain"
"VirtualMachineId"="B0C0B158-169D-40C9-B021-726858DBAF82"
"VirtualMachineName"="TESTVM1"

And there you have it, useful if you have multiple Vhosts and someone moved something and forgot to document where.

No comments:

Post a Comment