VBoxManage: error: Could not find a registered machine named...

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Guillaume Soucy
Posts: 15
Joined: 27. Dec 2021, 04:27
Primary OS: Linux other
VBox Version: OSE Debian
Guest OSses: Windows (Multiples Versions)
Location: L'Orignal CA.
Contact:

VBoxManage: error: Could not find a registered machine named...

Post by Guillaume Soucy »

Hello,

I need to setup external auth for VirtualBox running on Linux host(s) and when following this tutorial: virtualbox(dot)org/manual/ch07.html#vbox-auth , the command

Code: Select all

VBoxManage setextradata "THE_OS" "VBoxAuthSimple/users/MY_USER" CHOOSED_PASSWORD
gave me this error

Code: Select all

VBoxManage: error: Could not find a registered machine named "THE_OS"
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee nsISupports
VBoxManage: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 934 of file VBoxManageMisc.cpp
when I hit the return key.

The VM name that I’m using is the correct one, I’ve got the same error when using the virtual machine UUID.

How to make it work?

Thanks in advance for help!

With regards,

Guillaume
Guillaume Soucy
Posts: 15
Joined: 27. Dec 2021, 04:27
Primary OS: Linux other
VBox Version: OSE Debian
Guest OSses: Windows (Multiples Versions)
Location: L'Orignal CA.
Contact:

Re: VBoxManage: error: Could not find a registered machine named...

Post by Guillaume Soucy »

Sorry I was root. Now it works... :D
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VBoxManage: error: Could not find a registered machine named...

Post by scottgus1 »

Glad you're up and running!

Virtualbox uses files stored in the user's home folder to configure itself. If the user account holding the files is not being used, then the home folder will point to a different folder, and the config files won't be found.
Post Reply