Page 1 of 1

Why can not unregister machine?

Posted: 7. Sep 2021, 12:29
by aaronchen2k
2021/09/07 18:27:24 session.UnlockMachine error: VirtualBox error: rc=0x8000ffff The session is not locked (session state: Unlocked) (0x8000ffff)
2021/09/07 18:27:29 virtualbox.IMachineunregister error: VirtualBox error: rc=0x80bb0007 Cannot unregister the machine 'win10-01' while it is locked (0x80bb0007)

Re: Why can not unregister machine?

Posted: 7. Sep 2021, 14:40
by scottgus1
I have never played with the API. But I remember reading from other topics that "session locked" errors are used when the VM is still running or another VM depends on the locked VM, such as if it is a base VM for a linked clone.

Re: Why can not unregister machine?

Posted: 9. Sep 2021, 02:30
by aaronchen2k
scottgus1 wrote:I have never played with the API. But I remember reading from other topics that "session locked" errors are used when the VM is still running or another VM depends on the locked VM, such as if it is a base VM for a linked clone.
It works well now, thanks.