Opened 15 months ago
Last modified 4 months ago
#21822 new defect
VBoxManage guestcontrol works for calc.exe but not for WINWORD.EXE
Reported by: | tvg | Owned by: | |
---|---|---|---|
Component: | guest control | Version: | VirtualBox-7.0.10 |
Keywords: | Cc: | ||
Guest type: | Windows | Host type: | Linux |
Description
I managed to open the Calculator on my Windows 10 guest from my Ubuntu 23.04 host using the command:
VBoxManage guestcontrol $MY_VM_NAME run --exe "C:\\Windows\\System32\\calc.exe" --username $MY_USERNAME --password $MY_PASSWORD
However, when doing the same for Microsoft Office apps or Adobe Acrobat Reader, it doesn't work:
VBoxManage guestcontrol $MY_VM_NAME run --exe "C:\\Program Files\\Microsoft Office\\root\\Office16\\WINWORD.EXE" --username $MY_USERNAME --password $MY_PASSWORD
In this case, Microsoft Word shows up in the Background processes list of the Task Manager.
This has been discussed on the forum: https://forums.virtualbox.org/viewtopic.php?t=109933
Attachments (1)
Change History (9)
comment:1 by , 15 months ago
comment:2 by , 14 months ago
More elements can be found here: https://askubuntu.com/questions/1484798/opening-applications-on-windows-10-virtual-machine-from-ubuntu-23-04
comment:3 by , 14 months ago
I've upgraded to Ubuntu 23.10. Unfortunately, that did not solved the issue.
comment:5 by , 12 months ago
The issue comes from VirtualBox Guest Additions (GA) v7. Downgraded the GA to a v6 version solve the problem.
None of the GA v7 seems to work.
Then, I've downgraded both VirtualBox and the GA to the v6.1.48.
It seems there is a bug to fix in v7 to make the 'VBoxManage guestcontrol' command working properly.
comment:6 by , 12 months ago
FWIW, the issue is also reproducible with "C:\Windows\System32\notepad.exe" in a Windows 10 guest.
comment:7 by , 9 months ago
The following bug might be related to this one: https://www.virtualbox.org/ticket/21230
I've create a HelloWorld script that I converted to an executable file on the guest. From the host, when I do
note that "Hello, World!" shows up in the Terminal of my host instead of the guest.