4.9. Guest Control of Applications

The Guest Additions enable starting of applications inside a guest VM from the host system. This feature can be used to automate deployment of software within the guest.

For this to work, the application needs to be installed on the guest. No additional software needs to be installed on the host. Additionally, text mode output to stdout and stderr can be shown on the host for further processing. There are options to specify user credentials and a timeout value, in milliseconds, to limit the time the application is able to run.

The Guest Additions for Windows and Linux allow for automatic updating. This applies for already installed Guest Additions versions. Also, copying files from/to the host as well as various other file system operations is available.

To use these features, use the Oracle VM VirtualBox command line. See Section 7.33, “VBoxManage guestcontrol”.