Host information available from within a Virtual PC, let's get physical!

Information about the host is available thoug the following registry key:

HKEY_LOCAL_MACHINESOFTWAREMicrosoftVirtual MachineGuestParameters

Within this key there are four string values:

HostName

The name of the domain name system (DNS) domain assigned to the operating system. If the host operating system is a node in a cluster, then this is the DNS domain name of the cluster virtual server (not to be confused with Virtual Server).

PhysicalHostName

The DNS host name of the host operating system. Even if the host operating system is a node in a cluster, this is the DNS host name of the host operating system, and not the name of the cluster virtual server.

PhysicalHostNameFullyQualified

The fully qualified DNS name that uniquely identifies the host operating system. Even if the host operating system is a node in a cluster, this is the fully qualified DNS name of the host operating system, not the name of the cluster virtual server.

The fully qualified DNS name is a combination of the DNS host name and the DNS domain name, using the form HostName.DomainName.

VirtualMachineName

The name of the virtual machine in which this guest operating system is running.

BgInfois a tool fromSysInternals that displays information on your desktop background. You can read the registry values and display the VPC host information on the desktop.

Of course there are other uses possible but that's up to you.

Information aboutthese registry entries comes from theVirtual Server 2005 Administrator'sGuide atTechnet.

Comments