You can override the generated UUID and assign a specific UUID to a virtual machine.

Prerequisites

Power off the virtual machine.

Procedure

  1. Open the virtual machine configuration (.vmx) file in a text editor.
  2. Search for the line that contains uuid.bios.

    The format of the line is uuid.bios = "uuid_value". The UUID is a 128-bit integer. The 16 bytes are separated by spaces, except for a dash between the eighth and ninth hexadecimal pairs.

    For example: uuid.bios = "00 11 22 33 44 55 66 77-88 99 aa bb cc dd ee ff"

  3. Replace the existing UUID value with the specific UUID value.
  4. Power on the virtual machine.

Results

The virtual machine uses new UUID is used when it reboots.