Davoud Teimouri

Virtualization & Datacenter

Find, Convert And Compare, VMware Virtual Machine And Windows Guest UUID

What’s UUID?

Each virtual machine has UUID and it will appear on OS as guest UUID too.

A universally unique identifier (UUID) is a 128-bit number used to identify information in computer systems, the 16 bytes of this value are separated by spaces. Microsoft uses the term globally unique identifier (GUID), either as a synonym for UUID or to refer to a particular UUID variant.

Find VMware UUID

VMware virtual machines using BIOS or UEFI same as physical computers and it will be cloned to guest operating system after installation. UUID can be changed manually but it’s absolutely not recommended. Just if there is two machines with same UUID, UUID on one of them should be changed.

UUID will assign to each machine after first power on.

For changing UUID and read more about UUID, read the below links:

Changing or keeping a UUID for a moved virtual machine

VMware Workstation 5.0 Virtual Machine Identifier — UUID

Now, how can you find UUID of virtual machines?

There is some simple ways to find VMware virtual machine’s UUID:

  • PowerCLI: Run the below simple command to find VM’s UUID:
    This will work even machine is powered on.
  • Open or edit VM’s vmx file and find “uuid.bios”:

guest uuid

  • Use RVTools or other reporting software to export VM’s information from ESXi server or vCenter.

Actually, I don’t know that there is other way or not! but follow the above instruction to find VM’s UUID.

Find Windows Guest UUID

As Windows and other OS has different algorithm to clone and restructuring BIOS UUID, OS UUID is different in view but actually the value is BIOS UUID!

There is some way to find UUID in Windows but this is simplest:

  • Use “Windows Management Instrumentation Command-line“:
    Actually, VMware UUID will show at this step too.

Compare VMware And Guest UUID

As I mentioned before, guest UUID and VMware VM UUID is different in view. So the value should be converted to a proper format.

Convert Windows Guest UUID To VMware

Convert VMware UUID To Windows Guest

The script was imported from this link.

2,153 total views, 1 views today

Find, Convert And Compare, VMware Virtual Machine And Windows Guest UUID

Davoud Teimouri is as a professional blogger, vExpert 2015/2016/2017/2018, VCA, MCITP. This blog is started with simple posts and now, it has large following readers.

Updated: 17/03/2017 — 10:41 am

Leave a Reply

Your email address will not be published. Required fields are marked *

Teimouri.net © 2012 Frontier Theme
Read previous post:
Remove Multipath Device – Map in use!

Multipath Device, Remove From Linux Based on Red Hat solution (https://access.redhat.com/solutions/47438), the below steps should be done before flush any...