How to check the uuid of a virtualbox vdi?

60,567

Solution 1

Run VBoxManage and pass it showhdinfo and your VDI:

VBoxManage.exe showhdinfo "c:\MyMachine.vdi"

Solution 2

VBoxManage list vms will list the virtual machines and their uuids without having to know the path to the particular vdi.

Share:
60,567
Radagast the Brown
Author by

Radagast the Brown

Updated on July 25, 2022

Comments

  • Radagast the Brown
    Radagast the Brown almost 2 years

    How can I check the uuid of a vdi or vmdk?

    There should be some command line on VBoxManage to show it.

    I know I read it some place in the docs, but now for some reason I can't find it...

  • RDT2
    RDT2 almost 10 years
    For the record, I learned today this will also register the VDI if it wasn't already registered. This was great as I had just rebuilt my host machine after a crash and had to setup virtualbox all over again. I couldn't figure out how to register them, so I used this command to get the UUID so I could find the right VDI that I was missing and as a by product it registered it for me!
  • Topera
    Topera about 9 years
    VBoxManage list hdds its better in this case
  • parasrish
    parasrish about 6 years
    shows "cannot get format..." probably corrupted. any clue about how can this be recovered?