Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to get a Guest VM's UUID from within the Guest VM itself? From the Host I can do vboxmanage list vms to get a list of all vm names and their user ids. From the Guest, even with VirtualBox Additions, I can't see a way to do it. The closest I've come was vboxcontrol guestproperty enumerate, but it doesn't seem to have UUID as a guest property.

share|improve this question
up vote -1 down vote accepted

Best I could come up with:

  • On the host, make a script that uses vboxmanage to list all the vms, and set a custom property (like /Custom/UUID) to the UUID. Run this manually whenever a new VM is created.
  • On the guest, just read that property /Custom/UUID. If it's not there, explode.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.