Good afternoon friends. I have a question for you.
Could you run a file, such as an .exe file on a virtual machine from the host OS without enter in the virtual machine window?
I would be grateful if you could help me, you who are the experts.
A greeting and thanks.
Execute an .exe file on a virtual machine from the host OS?
-
scottgus1
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: Execute an .exe file on a virtual machine from the host
Sho' nuff is!
The Virtualbox way is "Vboxmanage guestcontrol vmname execute" (See "Vboxmanage guestcontrol" in the help files).
If you're running a Microsoft host and guest, you can also use Microsoft Sysinternals' PsExec.
I believe having a username and password to log on with in the guest will aid these methods to work well. If typing a password each time you log on is a pain, and you have a Microsoft guest, using Sysinternals AutoLogOn will help.
There may be Linux equivalents to all this Microsoft stuff, but all I know of Linux is that one version is called Ubuntu...
The Virtualbox way is "Vboxmanage guestcontrol vmname execute" (See "Vboxmanage guestcontrol" in the help files).
If you're running a Microsoft host and guest, you can also use Microsoft Sysinternals' PsExec.
I believe having a username and password to log on with in the guest will aid these methods to work well. If typing a password each time you log on is a pain, and you have a Microsoft guest, using Sysinternals AutoLogOn will help.
There may be Linux equivalents to all this Microsoft stuff, but all I know of Linux is that one version is called Ubuntu...