Friday, April 3, 2009

How to determine virtual machine host name "virtual server"

 

How to determine virtual machine host name "virtual server"

Recently had a problem where the lab folks forget where my VM was installed to and I needed some RAM added to it.  I needed to find the physical host name of the machine the VM was running on.  Turns out that there is a handy dandy reg key one the VS devs pointed out to me:

HKLM\Software\Microsoft\Virtual Machine\Guest\Parameters\PhysicalHostName

Hope it helps someone, I spent quite some time trying to figure it out on my own.

spat

Published Friday, April 03, 2009 7:22 AM by SpatDSG

Spat's WebLog (Steve Patrick) : How to determine virtual machine host name "virtual server"

12 comments:

Trevor S said...

Awesome find!

CruiZen said...

Can also be set using sysprep (in sysprep.inf)

Anam said...

thanks for the find, really helpful

waltimo said...

Thanks for the tip. It was very useful!

tmickov said...

awesoem .. thanks

Sachin Nair said...

Hi todd,
How do we figure out the virtual host for a VMWare virtual machine?

Ganesh said...

Hi

Its not working. I couldn't find out any entry like what you said.

In SOFTWARE folder, there is no option as VIRTUALMACHINE.

Sachin Nair said...

Hi Ganesh,

If the machine is a Hyper-V VM then you will find the registry key, But if its a VM-Ware VM then this key wont be present. But in many places in the registry you will find VM-Ware as the value like for example the Moterboard name etc.

Bob Lippold said...

Very helpful, thanks for taking the time to help :-)

Bob Lippold said...
This comment has been removed by the author.
thiru said...

Thanks Todd.
This is really helpfull.

Josi Bunder said...

Best web hosting companies. Reviews, rates, statistics of top hosting companies.
Find best hosting company at www.HostingCompaniesz.com

Blog Archive