Should You Change or Keep the UUID After Moving a Virtual Machine?

Before you read :

Understanding VMware’s “I Moved It / I Copied It” Prompt

If you’ve ever moved a virtual machine’s files to a new datastore or directory — whether in VMware Workstation, ESXi, or vSphere — you’ve almost certainly seen that slightly annoying prompt:

“This virtual machine might have been moved or copied. Do you want to create a new unique identifier (UUID) or keep the existing one?”

Every engineer asks the same question sooner or later:
Does it matter which one I pick?

Yes. And here’s the full explanation — what the UUID is, when it changes, and how to avoid shooting yourself in the foot.

🔥 Side Quest for SysAdmins 🔥

I’m building HackMeNow – a terminal-style hacking puzzle game.
Back it on Kickstarter and help bring it to life:


👉 Support HackMeNow on Kickstarter 👈

What Exactly Is a Virtual Machine UUID?

Every VMware virtual machine gets a universally unique identifier — a 128-bit value stored in the VM’s SMBIOS system information descriptor, similar to a hardware UUID on a physical server.

A UUID looks something like:

56 4d ef 2d 3f d4 14 e2-2e 04 c5 34 3a ec ee 65

VMware generates it based on:

  • The physical host’s identifier
  • The full path to the VM’s .vmx configuration file

This UUID stays consistent as long as the VM stays in the same place.


Why VMware Asks About “Moved” or “Copied” VMs

When you power on a VM after relocating its files to a new datastore or directory, VMware checks the path and host signature. If they don’t match its previous location, VMware triggers the prompt:

Do you want to create a new UUID or keep the old one?

You’ll typically see one of these prompt versions:

  • Create / Keep / Always Create / Always Keep
  • I copied it / I moved it

What you select matters.


When to Choose “Keep” (I moved it)

Choose Keep when:

✔️ You moved the VM — same VM, just a different location
✔️ The VM is still the same logical workload
✔️ You want to maintain:

  • MAC address consistency
  • vCenter object relationships
  • Monitoring and backup mappings
  • Licensing tied to UUID

This is the safe choice when nothing about the VM is being duplicated — only relocated.


When to Choose “Create” (I copied it)

Choose Create when:

✔️ You copied or cloned the VM
✔️ You want to avoid duplicate UUID collisions
✔️ You’re making a new instance for:

  • Testing
  • Deployment
  • Using templates
  • Creating multiple identical VMs

Copies must get new UUIDs — otherwise, vCenter, backups, and monitoring can go insane.


Special Case: Using a VM as a Template

If you regularly turn one VM into many new clones:

  1. Move the VM to a new location
  2. Power it on
  3. Select Always Create

This forces VMware to generate a fresh UUID every time the VM is moved, ideal for template workflows.

After that, keep the VM powered off and treat it as your template source.


What If You Want the Same UUID Every Time?

If your workflow constantly moves VMs (e.g., between lab datastores), and you want a stable identity:

➡️ Select Always Keep

VMware will stop asking and reuse the existing UUID indefinitely.


When the UUID Prompt Does Not Appear

You won’t see the “moved or copied” prompt if:

  • uuid.bios is missing from the .vmx
  • uuid.bios is present but invalid
  • A forced rule like uuid.action = "keep" or "create" already exists

Also:

  • Suspending a VM keeps the old UUID
  • The prompt appears only after a reboot, not after resume

How to Change the UUID Manually

Sometimes you may want to force a particular UUID — for example, to preserve license bindings or recreate consistent lab conditions.

Steps:

  1. Power off the VM
  2. Edit the .vmx file
  3. Add or modify this line:

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

  1. Reload the VM’s configuration
  2. Power the VM back on

⚠️ Important: Remove VMware Tools before changing the UUID
Otherwise the VM may revert to the previous value.


Removing “Always Keep” or “Always Create” Rules

If you want VMware to ask again in the future:

  1. Power off the VM
  2. Edit the .vmx
  3. Delete the line:

uuid.action = "keep"

or

uuid.action = "create"

Save and reload the VM.


Quick Decision Table

ScenarioChoiceWhy
You moved the VMKeep / I moved itSame VM, same identity
You copied the VMCreate / I copied itPrevents UUID duplication
You use VM as a templateAlways CreateAlways generate new IDs
You need a stable UUID across movesAlways KeepRetains identity
You want a specific UUIDEdit uuid.biosFull manual control

Final Thoughts

UUIDs are one of those VMware features that most admins ignore — until something breaks.
Picking the wrong option can cause:

  • Monitoring mismatches
  • Licensing issues
  • vCenter confusion
  • Backup job failures
  • Duplicate MAC address conflicts

Now you know exactly when to keep the UUID and when to generate a new one, and how to take control when you need to.

Subscribe to the channel: youtube.be/@AngryAdmin 🔥

🚨Dive into my blog: angrysysops.com

🚨Snapshots 101: a.co/d/fJVHo5v

🌐Connect with us:

💻Website: angrysysops.com

🔥vExpert info: vExpert Portal

Please leave the comment