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

Discussions about using Windows guests in VirtualBox.
Post Reply
cdnov
Posts: 4
Joined: 20. Mar 2019, 22:27

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

Post 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
Last edited by socratis on 21. Mar 2019, 18:39, edited 2 times in total.
Reason: Marked as [Resolved].
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

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

Post 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
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
cdnov
Posts: 4
Joined: 20. Mar 2019, 22:27

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

Post 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)
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

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

Post 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.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
cdnov
Posts: 4
Joined: 20. Mar 2019, 22:27

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

Post by cdnov »

I found the problem. That's the Windows VM account permission as you said.
Thanks.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

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

Post 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](?).
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
cdnov
Posts: 4
Joined: 20. Mar 2019, 22:27

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

Post 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.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

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

Post 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?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply