4.9. Guest Control of Applications

The Guest Additions enable starting of applications inside a VM from the host system.

For this to work, the application needs to be installed inside 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.

This feature can be used to automate deployment of software within the guest.

The Guest Additions for Windows allow for automatic updating. This applies for already installed Guest Additions version 4.0 or later. Also, copying files from host to the guest as well as remotely creating guest directories is available.

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