"the guest execution service is not ready"

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Plagrö
Posts: 140
Joined: 27. May 2018, 14:57

"the guest execution service is not ready"

Post by Plagrö »

My host: Linux
My guest: Windows 8.1
VirtualBox version: 6.1.30

This command is part of a bash script executed in Linux:

Code: Select all

VBoxManage guestcontrol "Windows8.1" start  --username MyUsername  --password XXXX  --exe "%SystemRoot%\system32\cmd.exe"  -- 'cmd' /c start "run this" taskkill /IM VBoxService.exe
Mostly this command works as expected.

But sometimes I get the following message:
ksnip_20220104-101142.png
ksnip_20220104-101142.png (4.11 KiB) Viewed 5736 times
What does this mean?
Is there something I can do?

Help is very appreciated. Thank you.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: "the guest execution service is not ready"

Post by scottgus1 »

I don't recognize this one. You could try web-searching the error message with the site restrictor " site:forums.virtualbox.org" to see if it has come up before.
Plagrö wrote:Mostly this command works as expected.

But sometimes I get the following message:
Is there a pattern to the error happening? Such as right after VM boot? Under heavy VM activity? Right after the script ran successfully? Other times?

And lest we chase an "XY problem", please explain why you're trying to taskkill VBoxService.exe?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: "the guest execution service is not ready"

Post by mpack »

I have a vague notion that this indicates a version mismatch. Make sure the GAs are installed and match the host VirtualBox version.
Plagrö
Posts: 140
Joined: 27. May 2018, 14:57

Re: "the guest execution service is not ready"

Post by Plagrö »

Thank you both.
scottgus1 wrote: Is there a pattern to the error happening? Such as right after VM boot? Under heavy VM activity? Right after the script ran successfully? Other times?
mpack wrote:I have a vague notion that this indicates a version mismatch. Make sure the GAs are installed and match the host VirtualBox version.
Not sure. Maybe it was, because I have not updated the new version of GuestAdditions in my Win8.1 VM?

I will observe whether the problem occurs again with the next GuestAdditions update or earlier.
scottgus1 wrote: And lest we chase an "XY problem", please explain why you're trying to taskkill VBoxService.exe?
It's because of this issue:
viewtopic.php?f=7&t=101507#p492687
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: "the guest execution service is not ready"

Post by fth0 »

Regarding only the information in this thread, I'd question if the command is simply executed too early. Regarding the other thread, I don't know why the processes remain. How are the topics related?
Post Reply