How can i solve VBoxManage.exe: error: Format autodetect failed: VERR_FILE_NOT_FOUND

14,853

Solution 1

You have to select the VirtualBox .vdi file with the sethduuid command.

 C:\Program Files\Oracle\VirtualBox> VBoxManage.exe internalcommands sethduuid "C:\Security\VirtualBox\my_vm\my_vm.vdi"

Also it should be sethduuid not setvdiuuid, but that may depend on your VirtualBox version. I am using 4.3.10

Solution 2

As i was trying to attach existing VM, i had a problem with the error telling me it exist even thou it was my first time installing the file. I then tried to find the solution from online but it didn't work as it was me this error :VBoxManage.exe: error: Format autodetect failed: VERR_FILE_NOT_FOUND

I then located where the VM it is installed and deleted all the files that exist.

 C:\Users\D409\.VirtualBox

Hope this will help others

Share:
14,853
prosts
Author by

prosts

Updated on August 02, 2022

Comments

  • prosts
    prosts over 1 year

    I am getting the following error when i tried to run this below. I have being trying to follow the instruction from this http://www.randallkent.com/virtual-box/change-uuid-of-virtualbox-vdi link.

    I did the following.

     C:\Program Files\Oracle\VirtualBox> VBoxManage.exe internalcommands setvdiuuid "C:\Security"
    

    And got this error below,

    VBoxManage.exe: error: Format autodetect failed: VERR_FILE_NOT_FOUND

    How can i solve the above error?