We help IT Professionals succeed at work.

How to find a vmid via windows?

I am not sure if this is a valid question for this area but ill try anyway.
I have a VMWARE guest server running windows 2003 x64 and i wanted to know if its possible to find the VMID of that machine through windows. I dont currently have access to the host so i am looking for a quick fix.
Thanks
Comment
Watch Question

Top Expert 2010

Commented:
What do you mean by "VMID"?

~coolsport00

Author

Commented:
I think it might also be known as the moref <ID>

http://communities.vmware.com/message/729585

Top Expert 2010
Commented:
The ID they're referencing is on the ESX/i side...not Windows. You won't be able to 'find' it through Windows. You don't have to be at the physical location of the host to get what you're after. As long as you can open up a SSH session, via Putty, you can type in the commands listed in that communities thread.

~coolsport00
Top Expert 2010

Commented:
I still don't know what that ID is for; never heard of it till now...

~coolsport00
From you question, it sounds like you to do not have access to the ESX/ESXi/Vcenter. If you are responsible just for the guest OS, you will not require the VMID for any operation.
If you can provide the the problem/requirement details we may be able to suggest the solution.

Author

Commented:
Our DHCP provisioning for VMWARE servers uses MAC address and VMID for reservations. However one of my servers which has just been built seems to have been missed and it has picked up an differnet IP address to the reserved address.
The team that looks after the reservations have asked for vmid and MAC address before they can sort the issue out, but neither my team nor the dhcp team have access to the ESX side. Trying to get hold of anyone from the ESX team in this organisation is like trying to find a needle in a haystack.
I was hoping there may be a quick answer to the question but obviously not. thanks
za_mkhIT Manager

Commented:
The VMID could be the serial number of the VM. This can be worked out by finding the serial number of the virtual machine.  This normally matches what you would see for the uudi.bios value for the VM in it's VMX file.

Use this KB article to find the Serial Number:
http://support.microsoft.com/kb/558124

And of course, ipconfig /all in the VM will give you the mac address for the network card.

Normally the last 3 sets of digits of the UUID match the last three sets of the NIC (assuming you don't delete and re-add it again).

Well that has been my experience on this.


Top Expert 2010

Commented:
Without SSH connection to the host, or at least access to its datastore this VM resides on, you're out of luck, minus of course the info "za" provided; although, I'm not sure that will provide you with all the info you're requiring...

~coolsport00
DHCP reservation process is the same for Physical and Virtual.
Any DHCP server reservation will require just the Hostname and MAC address details. Both these can be obtained by IPconfig /all. I believe by VMID the DHCP team means,the Windows Host name. Just try with your Hostane and MAC Id it shoud work.
Just to add , in fact MAC address is the only info required for DHCP reservation. The other things like host name or VM name is just to identify the Reservation on the DHCP.