Page 1 of 1

Execute an .exe file on a virtual machine from the host OS?

Posted: 17. Nov 2014, 20:21
by lafolie78
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.

Re: Execute an .exe file on a virtual machine from the host

Posted: 18. Nov 2014, 18:21
by scottgus1
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...