How can I set my nested VMware VMs to keep their UUID so they launch properly?

When opening a nested VM, have you received the following message: “Question (id = 0) : msg.uuid.altered:This virtual machine might have been moved or copied.”? This is because VMware ESX believes the nested VM has been moved or copied and doesn’t recognize its universally unique identifier (UUID).

A UUID is based on the physical computer's identifier and the path to the virtual machine's configuration file. This UUID is generated when you power on or reset the virtual machine. As long as you do not move or copy the virtual machine to another location, the UUID remains constant. Since your labs are not starting on physical machines, instead using virtual machines, they are essentially starting a “new” piece of ESX hardware every time. Nested VMs that were running previously will not successfully resume.

To prevent this from occurring, you can edit the .vmx file(s) to tell ESX to keep the original UUID the virtual machine was given. To do this:

  1. In the Virtual Machine Question, click I Moved it and click OK.
  2. In the VMware console, locate the VM in the tree, right-click it and click Remove from Inventory.
  3. Navigate to your ESX Storage.
  4. Locate the .vmx file for your VM.
  5. Right-click the .vmx file and click Download .
  6. Select a location on your management VM
  7. In Notepad, edit the .vmx file and at the end, append the line uuid.action = "keep”
  8. Save the file
  9. In the VMware console, click the Upload icon and click Upload File.
  10. Click Yes to overwrite the old .vmx file
  11. Right-click the .vmx file and click Add to Inventory.

After completing these steps, please make a new differencing disk to keep the changes to the VM in place.

Please let us know if this article was helpful. Your feedback is important. We would appreciate any comments you can provide us that will help ensure we are answering your questions and meeting your needs.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request