Saturday, July 2, 2011

VBoxManage: error: Could not find a registered machine named (Errors & Solutions -#19)

I got the following Error while running a VBoxManage command

Error

VBoxManage: error: Could not find a registered machine named 'VMXP'
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee nsISupports
Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 562 of file VBoxManageMisc.cpp

Solution

Run the following command before the VBoxManage command

VBoxManage registervm /home/user/VirtualBox\ VMs/VMXP/VMXP.vbox


25 comments:

  1. Muito bom, obrigado.

    Very good, thanks.

    Romero

    ReplyDelete
  2. Thanks, this helped me work out a problem!

    ReplyDelete
  3. hello, i'm trying to make a snapshot in terminal, but i always get error :

    VBoxManage: error: Could not find a registered machine named 'cuckoo1'
    VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee nsISupports
    Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 562 of file VBoxManageMisc.cpp

    I've done as you told, but cann't work.
    can you help me?

    thanks

    ReplyDelete
    Replies
    1. Maybe try running cmd as administrator... helped in my case!

      Delete
    2. Thanks! I spent several hours fighting this until I found your answer. Worked like a charm!!!

      Delete
  4. thanks man dat helped alot

    ReplyDelete
  5. I tried your suggestion, but my vbox files are not under users, they are on a separate drive. The command VBoxManage registervm "D:\VirtualBox VMs\itJobFlow\italien.vbox" causes the error "... has the same UUID as an existing virtual machine", which I assume means it's already registered. If that's so, how come the command VBoxManage modifyvm "italien" --pagefusion on causes the error Could not find a registered machine named 'italien'? Thanks, Xavier

    ReplyDelete
  6. Thanks man!

    If someone had the problem "Premature end of data in tag VirtualBox line 8."... try to open the xml file with a editor then save it changing the extension from .xml to .vbox and then execute what Ouda said.

    Cheers.

    ReplyDelete
  7. Thanks! Saved my day.

    ReplyDelete
  8. Thank you so much...

    ReplyDelete
  9. thanks you so much,....

    ReplyDelete
  10. .vbox is in your /home/username/VirtualBox VMs/VMname/VMname.vbox.

    Your VMname.vdi can be in other place, both with the same name.

    1. [sudo] VBoxManage registervm /home/username/VirtualBox\ VMs/VMname/VMname.vbox

    2. [sudo] VBoxManage setextradata VMname VBoxInternal/CPUM/CMPXCHG16B 1

    Is this allright?

    ReplyDelete
  11. Thanks a ton.. u made my day :-)

    ReplyDelete
  12. thank you friend! :)

    ReplyDelete
  13. Got similar error as the result of updating virtual box at the same time when the vm was running. Could not start VM. Tried:
    VBoxManage showvminfo w7
    VBoxManage: error: Could not find a registered machine named 'w7'
    VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee nsISupports
    VBoxManage: error: Context: "FindMachine(Bstr(VMNameOrUuid).raw(), machine.asOutParam())" at line 2611 of file VBoxManageInfo.cpp

    Run: VBoxManage -nologo list vms
    and one of the line was

    "" {2e8117bc-9551-4d2e-9831-3828569c98e4}

    so I tried to replace the vm name with uuid:

    VBoxManage showvminfo '2e8117bc-9551-4d2e-9831-3828569c98e4'
    Name:
    UUID: 2e8117bc-9551-4d2e-9831-3828569c98e4
    Config file: /home/alexk/VirtualBox VMs/w7/w7.vbox
    Access error details:
    VBoxManage: error: Cannot attach medium '/usr/share/virtualbox/VBoxGuestAdditions.iso' {66c6626f-8fae-4007-b15d-f5eb3fdd02a0}: medium is already associated with the current state of machine uuid {2e8117bc-9551-4d2e-9831-3828569c98e4}!
    VBoxManage: error: Details: code VBOX_E_OBJECT_IN_USE (0x80bb000c), component Medium, interface IMedium

    edited ~/VirtualBox VMs/w7/w7.vbox

    excluded lines with 66c6626f-8fae-4007-b15d-f5eb3fdd02a0

    tried again

    VBoxManage showvminfo '2e8117bc-9551-4d2e-9831-3828569c98e4'

    was all good -- tried to start vm from GUI virtual box -- was successfull, but I could not insert the cd with guest addition. Powered off vm; added cd/dvd -- started agin -- drive d: was not available, but guest additions were mounted as the drive e:

    Applied -- all good. Decided to add my comment as it may be useful for some body

    ReplyDelete
    Replies
    1. <inaccessible> disappeared from "" -- did not think about URL encoding. Cheers

      Delete
  14. I have been trying to figure out the correct solution to my issue for weeks, incorrectly assuming that it was a an ownership issue, or something related to my Cuckoo installation. I will almost certainly link to your blog from my own, once I document what I have done. Thanks.

    ReplyDelete
  15. when i tried to run this command, it return error says "Syntax error: Incorrect number of parameters"

    Please help me out,, working on it day night,, to install yosemite on my pc..

    Thanks in advance

    ReplyDelete
  16. Getting syntax error

    ReplyDelete
  17. Run virtualbox with elevated rights.

    ReplyDelete
  18. I tried your method but it says

    Oracle VM VirtualBox Command Line Management Interface Version 5.1.34_Ubuntu
    (C) 2005-2018 Oracle Corporation
    All rights reserved.

    Usage:

    VBoxManage registervm


    Syntax error: Incorrect number of parameters

    ReplyDelete