VBoxManage: error: Adding machine 'Windows 10' to the autostart database failed with VERR_ACCESS_DEN

Discussions related to using VirtualBox on Linux hosts.
Post Reply
a_subscriber
Posts: 18
Joined: 26. Jul 2021, 15:33

VBoxManage: error: Adding machine 'Windows 10' to the autostart database failed with VERR_ACCESS_DEN

Post by a_subscriber »

Host: Linux Mint 20
Guest VB: "Windows 10"

I try to set autostart virtual machine "Windows 10".

But get error when try to this command:

Code: Select all

VBoxManage modifyvm "Windows 10" --autostart-enabled on
Error:

VBoxManage: error: Adding machine 'Windows 10' to the autostart database failed with VERR_ACCESS_DENIED
VBoxManage: error: Details: code NS_ERROR_UNEXPECTED (0x8000ffff), component SessionMachine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "COMSETTER(AutostartEnabled)(ValueUnion.f)" at line 3171 of file VBoxManageModifyVM.cpp
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VBoxManage: error: Adding machine 'Windows 10' to the autostart database failed with VERR_ACCESS

Post by scottgus1 »

a_subscriber wrote:Host: Linux
a_subscriber wrote:VERR_ACCESS_DENIED
Permissions.... In Linux it's always permissions. Somebody chmod'd something. :lol:

What that something is will have to be helped along by a forum guru. Check https://www.virtualbox.org/manual/ch09. ... tart-linux for folders and files that the autostart service may use.
Post Reply