Page 1 of 1

[Resolved] Windows 10 VM guest addition does not work with installation exe

Posted: 20. Mar 2019, 22:52
by cdnov
Hi,
I am using Debian 9 host and Windows 10 guest. My Virtualbox manager is 5.2.6, so the same version for WIndows 10 guest addition.

When I am using guestcontrol to invoke an exe file to run in the Windows 10 VM, it only works with exe that run (for example calc, notepad, or our own apps). However it does not work with any exe that do the installation into the VM.

For example, if I do this command from the Linux host:

Code: Select all

vboxmanage guestcontrol <VM name> --username <name>  --password <password> -v run --exe  C:/tmpInstall/filename.exe  -- <appname> --mode unattended
I have these errors:

Code: Select all

Creating guest session to start...
Successfully started guest session (ID 1)
Starting guest process
VBoxManage: error:  VERR_UNRESOLVED_ERROR
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb005) component GuestProcessWrap, interface IGuestProcess, callee nsISupports
VBoxManage: error: Context: "WaitForArray(ComSafeArraysInParam(aWaitStartFlags), gctlRunGetRemainingTime(msStart, cMsTimeout), &waitResult)" at line1529 
Closing guest session...
Any of you have similar issues?
Thanks

Re: Windows 10 VM guest addition does not work with installation exe

Posted: 20. Mar 2019, 23:17
by socratis
Not a lot of users use "guestcontrol", and I don't remember anyone that was dealing with an installer. A program that may require a change in the credentials from the user that you logged in, for example. Is the user that you're logging in an admin of the guest?

Can you share some more details? Like where we can get the specific installer that you're trying to use? There maybe something wrong with the specific installer for example.

A log wouldn't hurt either. A complete VBox.log, from a complete VM run, where the problem occurs:
  • Start the VM from cold-boot (not from a paused or saved state) / Observe problem / Shutdown the VM (force close it if you have to).
  • With the VM completely shut down (not paused or saved), right-click on the VM in the VirtualBox Manager and select "Show Log".
  • Save only the first "VBox.log", ZIP it and attach it to your response. See the "Upload attachment" tab below the reply form.
Image

Re: Windows 10 VM guest addition does not work with installation exe

Posted: 21. Mar 2019, 00:32
by cdnov
Thanks for replying.
The user that we use is the administrator. It has full access.
Those exe installers that I have been trying, I can run successfully when I log into the VM and double click the exe.

We had this worked successfully with Debian 7 and Windows 7 (with corresponding virtualbox and guest addition)

Re: Windows 10 VM guest addition does not work with installation exe

Posted: 21. Mar 2019, 00:37
by socratis
socratis wrote:where we can get the specific installer that you're trying to use? There maybe something wrong with the specific installer for example.
socratis wrote:A log wouldn't hurt either.

Re: Windows 10 VM guest addition does not work with installation exe

Posted: 21. Mar 2019, 18:34
by cdnov
I found the problem. That's the Windows VM account permission as you said.
Thanks.

Re: Windows 10 VM guest addition does not work with installation exe

Posted: 21. Mar 2019, 18:38
by socratis
Glad you found it, but not so glad that you didn't share any specifics... :?
Next time someone that comes with a similar problem, we may have to rely on luck/hunch instead of actual knowledge...

Marking as [Resolved](?).

Re: [Resolved] Windows 10 VM guest addition does not work with installation exe

Posted: 21. Mar 2019, 20:00
by cdnov
Basically, the default account when we created the VM is local administrator. I am not sure it does not have all the permission to let vboxmanage guestcontrol do installation.
In the VM, I created another administrator account and use that one. And it works!
Thanks.

Re: [Resolved] Windows 10 VM guest addition does not work with installation exe

Posted: 21. Mar 2019, 22:12
by socratis
Thanks for the followup...
cdnov wrote: I am not sure it does not have all the permission to let vboxmanage guestcontrol do installation.
That might not be a "guestcontrol" issue, that could be a Win10 issue, Microsoft is full of surprises. Any idea what the differences between the two admin accounts might be?