How Can I Set My Nested ESX VMs To Keep Their UUID So They Launch Properly?
    • 25 Apr 2024
    • 1 Minute to read

    How Can I Set My Nested ESX VMs To Keep Their UUID So They Launch Properly?


    Article summary

    When opening a nested Virtual Machine (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 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, select I Moved it and select OK.
    2. In the ESX console, locate the VM in the tree, right-click it and select Remove from Inventory.
    3. Navigate to your ESX Storage.
    4. Locate the .vmx file for your VM.
    5. Right-click the .vmx file and select 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 ESX console, select the Upload icon and select Upload File.
    10. Select Yes to overwrite the old .vmx file
    11. Right-click the .vmx file and select Add to Inventory.

    After completing these steps, please make a new differencing disk to keep the changes to the VM in place. For more information, read our Capture Differencing Disk documentation.


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.