user_VBoxManage.xml revision ae56268ed43efa582cc3605ea0270106562a306d
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>As briefly mentioned in <xref linkend="frontends" />, VBoxManage is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the command-line interface to VirtualBox. With it, you can completely
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync control VirtualBox from the command line of your host operating system.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VBoxManage supports all the features that the graphical user interface
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync gives you access to, but it supports a lot more than that. It exposes
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync really all the features of the virtualization engine, even those that
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync cannot (yet) be accessed from the GUI.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>You will need to use the command line if you want to</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>use a different user interface than the main GUI (for example,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VBoxSDL or the VBoxHeadless server);</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>control some of the more advanced and experimental
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync configuration settings for a VM.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>There are two main things to keep in mind when using
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage</computeroutput>: First,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage</computeroutput> must always be used with a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync specific "subcommand", such as "list" or "createvm" or "startvm". All the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync subcommands that <computeroutput>VBoxManage</computeroutput> supports are
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync described in detail in <xref linkend="vboxmanage" />.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Second, most of these subcommands require that you specify a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync particular virtual machine after the subcommand. There are two ways you
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync can do this:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>You can specify the VM name, as it is shown in the VirtualBox
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync GUI. Note that if that name contains spaces, then you must enclose the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync entire name in double quotes (as it is always required with command
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync line arguments that contain spaces).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>For example:<screen>VBoxManage startvm "Windows XP"</screen></para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>You can specify the UUID, which is the internal unique
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync identifier that VirtualBox uses to refer to the virtual machine.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Assuming that the aforementioned VM called "Windows XP" has the UUID
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync shown below, the following command has the same effect as the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync previous:<screen>VBoxManage startvm 670e746d-abea-4ba6-ad02-2a3b043810a5</screen></para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>You can type <computeroutput>VBoxManage list vms</computeroutput> to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync have all currently registered VMs listed with all their settings,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync including their respective names and UUIDs.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Some typical examples of how to control VirtualBox from the command
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync line are listed below:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>To create a new virtual machine from the command line and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync immediately register it with VirtualBox, use
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage createvm</computeroutput> with the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--register</computeroutput> option,<footnote>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <screen>$ VBoxManage createvm --name "SUSE 10.2" --register
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncVirtualBox Command Line Management Interface Version $VBOX_VERSION_MAJOR.$VBOX_VERSION_MINOR.$VBOX_VERSION_BUILD
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync(C) 2005-$VBOX_C_YEAR $VBOX_VENDOR
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncAll rights reserved.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncVirtual machine 'SUSE 10.2' is created.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncUUID: c89fc351-8ec6-4f02-a048-57f4d25288e5
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncSettings file: '/home/username/.VirtualBox/Machines/SUSE 10.2/SUSE 10.2.xml'
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>As can be seen from the above output, a new virtual machine has
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync been created with a new UUID and a new XML settings file.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>To show the configuration of a particular VM, use
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage showvminfo</computeroutput>; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync linkend="vboxmanage-showvminfo" /> for details and an example.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>To change settings while a VM is powered off, use
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage modifyvm</computeroutput>, e.g. as
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync follows:<screen>VBoxManage modifyvm "Windows XP" --memory "512MB"</screen></para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>For details, see <xref linkend="vboxmanage-modifyvm" />.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync <para>To change the storage configuration (e.g. to add a storage
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync controller and then a virtual disk), use <computeroutput>VBoxManage
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync storagectl</computeroutput> and <computeroutput>VBoxManage
e7c4c205cb0af88b5ef0786be46da94847a9a37bvboxsync linkend="vboxmanage-storageattach" /> for details.</para>
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>To control VM operation, use one of the following:<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>To start a VM that is currently powered off, use
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage startvm</computeroutput>; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync linkend="vboxmanage-startvm" /> for details.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>To pause or save a VM that is currently running or change
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync some of its settings, use <computeroutput>VBoxManage
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync linkend="vboxmanage-controlvm" /> for details.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>When running VBoxManage without parameters or when supplying an
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync invalid command line, the below syntax diagram will be shown. Note that
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the output will be slightly different depending on the host platform; when
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync in doubt, check the output of <computeroutput>VBoxManage</computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync for the commands available on your particular host.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Each time VBoxManage is invoked, only one command can be executed.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync However, a command might support several subcommands which then can be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync invoked in one single call. The following sections provide detailed
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync reference information on the different commands.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>list</computeroutput> command gives relevant
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync information about your system and information about VirtualBox's current
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync settings.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The following subcommands are available with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage list</computeroutput>: <itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>vms</computeroutput> lists all virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machines currently registered with VirtualBox. By default this
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync displays a compact list with each VM's name and UUID; if you also
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>-l</computeroutput>, this will be a detailed list as
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync with the <computeroutput>showvminfo</computeroutput> command (see
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync below).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>runningvms</computeroutput> lists all
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync currently running virtual machines by their unique identifiers
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (UUIDs) in the same format as with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>ostypes</computeroutput> lists all guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync operating systems presently known to VirtualBox, along with the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync identifiers used to refer to them with the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>modifyvm</computeroutput> command.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
241adddf415cbdf66230864a215b24415f482e72vboxsync <computeroutput>hostfloppies</computeroutput>, respectively, list
241adddf415cbdf66230864a215b24415f482e72vboxsync DVD, floppy, bridged networking and host-only networking interfaces
241adddf415cbdf66230864a215b24415f482e72vboxsync on the host, along with the name used to access them from within
241adddf415cbdf66230864a215b24415f482e72vboxsync VirtualBox.</para>
241adddf415cbdf66230864a215b24415f482e72vboxsync </listitem>
241adddf415cbdf66230864a215b24415f482e72vboxsync <computeroutput>dhcpservers</computeroutput>, respectively, list
241adddf415cbdf66230864a215b24415f482e72vboxsync bridged network interfaces, host-only network interfaces and DHCP
241adddf415cbdf66230864a215b24415f482e72vboxsync servers currently available on the host. Please see <xref
241adddf415cbdf66230864a215b24415f482e72vboxsync linkend="networkingdetails" /> for details on these.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync <para><computeroutput>hostinfo</computeroutput> displays information
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync about the host system, such as CPUs, memory size and operating
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync system version.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync <para><computeroutput>hostcpuids</computeroutput> dumps the CPUID
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync parameters for the host CPUs. This can be used for a more fine
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync grained analyis of the host's virtualization capabilities.</para>
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync </listitem>
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync <para><computeroutput>hddbackends</computeroutput> lists all known
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync virtual disk back-ends of VirtualBox. For each such format (such as
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync VDI, VMDK or RAW), this lists the back-end's capabilities and
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync configuration.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
241adddf415cbdf66230864a215b24415f482e72vboxsync <computeroutput>floppies</computeroutput> all give you information
241adddf415cbdf66230864a215b24415f482e72vboxsync about virtual disk images currently in use by VirtualBox, including
241adddf415cbdf66230864a215b24415f482e72vboxsync all their settings, the unique identifiers (UUIDs) associated with
241adddf415cbdf66230864a215b24415f482e72vboxsync them by VirtualBox and all files associated with them. This is the
241adddf415cbdf66230864a215b24415f482e72vboxsync command-line equivalent of the Virtual Media Manager; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync <para><computeroutput>usbhost</computeroutput> supplies information
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync about USB devices attached to the host, notably information useful
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync for constructing USB filters and whether they are currently in use
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync by the host.</para>
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync </listitem>
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync <para><computeroutput>usbfilters</computeroutput> lists all global
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync USB filters registered with VirtualBox -- that is, filters for
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync devices which are accessible to all virtual machines -- and displays
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync the filter parameters.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
241adddf415cbdf66230864a215b24415f482e72vboxsync <para><computeroutput>systemproperties</computeroutput> displays
241adddf415cbdf66230864a215b24415f482e72vboxsync some global VirtualBox settings, such as minimum and maximum guest
241adddf415cbdf66230864a215b24415f482e72vboxsync RAM and virtual hard disk size, folder settings and the current
241adddf415cbdf66230864a215b24415f482e72vboxsync authentication library in use.</para>
241adddf415cbdf66230864a215b24415f482e72vboxsync </listitem>
241adddf415cbdf66230864a215b24415f482e72vboxsync <para><computeroutput>extpacks</computeroutput> displays all
241adddf415cbdf66230864a215b24415f482e72vboxsync VirtualBox extension packs currently installed; see <xref
241adddf415cbdf66230864a215b24415f482e72vboxsync linkend="vboxmanage-extpack" /> for more information.</para>
241adddf415cbdf66230864a215b24415f482e72vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>showvminfo</computeroutput> command shows
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync information about a particular virtual machine. This is the same
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync information as <computeroutput>VBoxManage list vms --long</computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync would show for all virtual machines.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>You will get information similar to the following:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncVirtualBox Command Line Management Interface Version $VBOX_VERSION_MAJOR.$VBOX_VERSION_MINOR.$VBOX_VERSION_BUILD
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync(C) 2005-$VBOX_C_YEAR $VBOX_VENDOR
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncAll rights reserved.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncName: Windows XP
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncUUID: 1bf3464d-57c6-4d49-92a9-a5cc3816b7e7
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncConfig file: /home/username/.VirtualBox/Machines/Windows XP/Windows XP.xml
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncMemory size: 512MB
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncVRAM size: 12MB
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNumber of CPUs: 2
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncSynthetic Cpu: off
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncBoot menu mode: message and menu
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncBoot Device (1): DVD
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncBoot Device (2): HardDisk
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncBoot Device (3): Not Assigned
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncBoot Device (4): Not Assigned
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncTime offset: 0 ms
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncHardw. virt.ext exclusive: on
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNested Paging: on
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncVT-x VPID: off
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncState: powered off (since 2009-10-20T14:52:19.000000000)
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncMonitor count: 1
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync3D Acceleration: off
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync2D Video Acceleration: off
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncTeleporter Enabled: off
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncTeleporter Port: 0
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncTeleporter Address:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncTeleporter Password:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncStorage Controller (0): IDE Controller
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncStorage Controller Type (0): PIIX4
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncStorage Controller (1): Floppy Controller 1
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncStorage Controller Type (1): I82078
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncIDE Controller (0, 0): /home/user/windows.vdi (UUID: 46f6e53a-4557-460a-9b95-68b0f17d744b)
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncIDE Controller (0, 1): /home/user/openbsd-cd46.iso (UUID: 4335e162-59d3-4512-91d5-b63e94eebe0b)
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncFloppy Controller 1 (0, 0): /home/user/floppy.img (UUID: 62ac6ccb-df36-42f2-972e-22f836368137)
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNIC 1: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNIC 2: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNIC 3: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNIC 4: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNIC 5: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNIC 6: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNIC 7: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNIC 8: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncUART 1: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncUART 2: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncAudio: disabled (Driver: Unknown)
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncClipboard Mode: Bidirectional
4791a729647f035b6561d292c9f848dd1fc797a9vboxsyncVRDE: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncUSB: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncUSB Device Filters:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync<none>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncShared folders:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync<none>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncStatistics update: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <title>VBoxManage registervm / unregistervm</title>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>registervm</computeroutput> command allows you
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to import a virtual machine definition in an XML file into VirtualBox. The
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine must not conflict with one already registered in VirtualBox and it
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync may not have any hard or removable disks attached. It is advisable to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync place the definition file in the machines folder before registering
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>When creating a new virtual machine with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage createvm</computeroutput> (see below), you
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync can directly specify the <computeroutput>--register</computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync option to avoid having to register it separately.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>unregistervm</computeroutput> command
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync unregisters a virtual machine. If
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--delete</computeroutput> is also specified, the following
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync files will automatically be deleted as well:<orderedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>all hard disk image files, including differencing files, which
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync are used by the machine and not shared with other machines;</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>saved state files that the machine created, if any (one if the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine was in "saved" state and one for each online
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync snapshot);</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>the machine directory, if it is empty after having deleted all
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the above.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <title id="vboxmanage-createvm">VBoxManage createvm</title>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command creates a new XML virtual machine definition
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync file.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>--name <name></computeroutput> parameter
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync is required and must specify the name of the machine. Since this name is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync used by default as the file name of the settings file (with the extension
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>.xml</computeroutput>) and the machine folder (a subfolder
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync of the <computeroutput>.VirtualBox/Machines</computeroutput> folder), it
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync must conform to your host operating system's requirements for file name
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync specifications. If the VM is later renamed, the file and folder names will
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync change automatically.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <path></computeroutput> option is used, the machine folder will be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync named <computeroutput><path></computeroutput>. In this case, the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync names of the file and the folder will not change if the virtual machine is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync renamed.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>By default, this command only creates the XML file without
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync automatically registering the VM with your VirtualBox installation. To
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync register the VM instantly, use the optional
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--register</computeroutput> option, or run
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage registervm</computeroutput> separately
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync afterwards.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command changes the properties of a registered virtual machine
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync which is not running. Most of the properties that this command makes
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync available correspond to the VM settings that VirtualBox graphical user
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync interface displays in each VM's "Settings" dialog; these were described in
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <xref linkend="BasicConcepts" />. Some of the more advanced settings,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync however, are only available through the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage</computeroutput> interface.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>These commands require that the machine is powered off (neither
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync running nor in "saved" state). Some machine settings can also be changed
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync while a machine is running; those settings will then have a corresponding
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync subcommand with the <computeroutput>VBoxManage controlvm</computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync subcommand (see <xref linkend="vboxmanage-controlvm" />).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The following general settings are available through
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage modifyvm</computeroutput>:<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--name <name></computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync changes the VM's name and possibly renames the internal virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine files, as described with <computeroutput>VBoxManage
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--ostype <ostype></computeroutput>:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync This specifies what guest operating system is supposed to run in
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the VM. To learn about the various identifiers that can be used
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync here, use <computeroutput>VBoxManage list
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <memorysize></computeroutput>: This sets the amount of RAM,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync in MB, that the virtual machine should allocate for itself from
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the host. See the remarks in <xref linkend="gui-createvm" /> for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync more information.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--vram <vramsize></computeroutput>:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync This sets the amount of RAM that the virtual graphics card should
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync have. See <xref linkend="settings-display" /> for details.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--acpi on|off</computeroutput>;
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--ioapic on|off</computeroutput>: These two
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync determine whether the VM should have ACPI and I/O APIC support,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync respectively; see <xref linkend="settings-motherboard" /> for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync details.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <uuid></computeroutput>: The UUID presented to the guest via
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync memory tables (DMI/SMBIOS), hardware and guest properties. By
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync default this is the same as the VM uuid. Useful when cloning a VM.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Teleporting takes care of this automatically.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--cpus <cpucount></computeroutput>:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync This sets the number of virtual CPUs for the virtual machine (see
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <xref linkend="settings-processor" />). If CPU hot-plugging is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync enabled (see below), this then sets the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <emphasis>maximum</emphasis> number of virtual CPUs that can be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync plugged into the virtual machines.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--rtcuseutc on|off</computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync option lets the real-time clock (RTC) operate in UTC time (see
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--cpuhotplug on|off</computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync enables CPU hot-plugging. When enabled, virtual CPUs can be added
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to and removed from a virtual machine while it is running. See
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <xref linkend="cpuhotplug" /> for more information.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <id></computeroutput>: If CPU hot-plugging is enabled (see
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync above), this adds a virtual CPU to the virtual machines (or
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync removes one). <computeroutput><id></computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync specifies the index of the virtual CPU to be added or removed and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync must be a number from 0 to the maximum no. of CPUs configured with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the <computeroutput>--cpus</computeroutput> option. CPU 0 can
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync never be removed.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
223935479ac42db56b7b7a7d16548d590022996avboxsync <1-100></computeroutput>: This setting controls how much cpu
223935479ac42db56b7b7a7d16548d590022996avboxsync time a virtual CPU can use. A value of 50 implies a single virtual
223935479ac42db56b7b7a7d16548d590022996avboxsync CPU can use up to 50% of a single host CPU.</para>
fd60bfdb327b9b1e7a6d084cf368fb7f07c566cfvboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--synthcpu on|off</computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync setting determines whether VirtualBox will expose a synthetic CPU
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to the guest to allow live migration between host systems that
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync differ significantly.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--pae on|off</computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--hpet on|off</computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync enables/disables a High Precision Event Timer (HPET) which can
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync replace the legacy system timers. This is turned off by default.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Note that Windows supports a HPET only from Vista onwards.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync <para><computeroutput>--hwvirtex on|off</computeroutput>: This
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync enables or disables the use of hardware virtualization extensions
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync (Intel VT-x or AMD-V) in the processor of your host system; see
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--hwvirtexexcl on|off</computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync specifies whether VirtualBox will make exclusive use of the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync hardware virtualization extensions (Intel VT-x or AMD-V) in the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync processor of your host system; see <xref linkend="hwvirt" />. If
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync you wish to simultaneously share these extensions with other
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync hypervisors, then you must disable this setting. Doing so has
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync negative performance implications.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--nestedpaging on|off</computeroutput>: If
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync hardware virtualization is enabled, this additional setting
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync enables or disables the use of the nested paging feature in the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync processor of your host system; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--largepages on|off</computeroutput>: If
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync hardware virtualization <emphasis>and</emphasis> nested paging are
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync enabled, for Intel VT-x only, an additional performance
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync improvement of up to 5% can be obtained by enabling this setting.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync This causes the hypervisor to use large pages to reduce TLB use
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync and overhead.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--vtxvpid on|off</computeroutput>: If
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync hardware virtualization is enabled, for Intel VT-x only, this
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync additional setting enables or disables the use of the tagged TLB
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (VPID) feature in the processor of your host system; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--accelerate3d on|off</computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync enables, if the Guest Additions are installed, whether hardware 3D
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync acceleration should be available; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>You can influence the BIOS logo that is displayed when a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync virtual machine starts up with a number of settings. Per default,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync a VirtualBox logo is displayed.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync on|off</computeroutput> and <computeroutput>--bioslogofadeout
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync on|off</computeroutput>, you can determine whether the logo should
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync fade in and out, respectively.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <msec></computeroutput> you can set how long the logo should
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync be visible, in milliseconds.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <imagepath></computeroutput> you can, if you are so
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync inclined, replace the image that is shown, with your own logo. The
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync image must be an uncompressed 256 color BMP file.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync disabled|menuonly|messageandmenu</computeroutput>: This specifies
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync whether the BIOS allows the user to select a temporary boot
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync device. <computeroutput>menuonly</computeroutput> suppresses the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync message, but the user can still press F12 to select a temporary
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync boot device.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync none|floppy|dvd|disk|net</computeroutput>: This specifies the boot
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync order for the virtual machine. There are four "slots", which the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VM will try to access from 1 to 4, and for each of which you can
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync set a device that the VM should attempt to boot from.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync default|<path></computeroutput>: This allows you to specify
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the folder in which snapshots will be kept for a virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--firmware efi|bios</computeroutput>:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Specifies which firmware is used to boot particular virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine: EFI or BIOS. Use EFI only if your fully understand what
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync you're doing.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <size></computeroutput> sets the default size of the guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync memory balloon, that is, memory allocated by the VirtualBox Guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Additions from the guest operating system and returned to the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync hypervisor for re-use by other virtual machines. <size> must
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync be specified in megabytes. The default size is 0 megabytes. For
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync details, see <xref linkend="guestadd-balloon" />.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The following networking settings are available through
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage modifyvm</computeroutput>. With all these
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync settings, the decimal number directly following the option name ("1-N"
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync in the list below) specifies the virtual network adapter whose settings
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync should be changed.<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync none|null|nat|bridged|intnet|hostonly|vde</computeroutput>: With
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync this, you can set, for each of the VM's virtual network cards,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync what type of networking should be available. They can be not
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync present (<computeroutput>none</computeroutput>), not connected to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the host (<computeroutput>null</computeroutput>), use network
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync address translation (<computeroutput>nat</computeroutput>),
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync bridged networking (<computeroutput>bridged</computeroutput>) or
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync communicate with other virtual machines using internal networking
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (<computeroutput>intnet</computeroutput>), host-only networking
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (<computeroutput>hostonly</computeroutput>) or on Linux and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync FreeBSD hosts a Virtual Distributed Ethernet switch
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (<computeroutput>vde</computeroutput>). These options correspond
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to the modes which are described in detail in <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Am79C970A|Am79C973|82540EM|82543GC|82545EM|virtio</computeroutput>:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync This allows you, for each of the VM's virtual network cards, to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync specify which networking hardware VirtualBox presents to the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync on|off</computeroutput>: This allows you to temporarily disconnect
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync a virtual network interface, as if a network cable had been pulled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync from a real network card. This might be useful for resetting
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync certain software components in the VM.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>With the "nictrace" options, you can optionally trace
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync network traffic by dumping it to a file, for debugging
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync purposes.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync on|off</computeroutput>, you can enable network tracing for a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync particular virtual network card.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>If enabled, you must specify with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--nictracefile<1-N>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <filename></computeroutput> what file the trace should be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync logged to.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync none|<devicename></computeroutput>: If bridged networking
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync has been enabled for a virtual network card (see the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--nic</computeroutput> option above; otherwise
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync this setting has no effect), use this option to specify which host
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync interface the given virtual network interface will use. For
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync details, please see <xref linkend="network_bridged" />.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync none|<devicename></computeroutput>: If host-only networking
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync has been enabled for a virtual network card (see the --nic option
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync above; otherwise this setting has no effect), use this option to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync specify which host-only networking interface the given virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync network interface will use. For details, please see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync network</computeroutput>: If internal networking has been enabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync for a virtual network card (see the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--nic</computeroutput> option above; otherwise
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync this setting has no effect), use this option to specify the name
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync of the internal network (see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync auto|<mac></computeroutput>: With this option you can set
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the MAC address of the virtual network card. Normally, each
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync virtual network card is assigned a random address by VirtualBox at
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VM creation.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync network</computeroutput>: If Virtual Distributed Ethernet is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync available on the host and has been enabled for a virtual network
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync card (see the <computeroutput>--nic</computeroutput> option above;
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync otherwise this setting has no effect). Use this option to specify
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the name of a VDE network for the interface to connect to (see
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync documentation).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The following NAT networking settings are available through
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage modifyvm</computeroutput>. With all these
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync settings, the decimal number directly following the option name ("1-N"
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync in the list below) specifies the virtual network adapter whose
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync settings should be changed.<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [<name>],tcp|udp,[<hostip>],<hostport>,[<guestip>],
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <guestport></computeroutput>: This option defines a NAT
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync port-forwarding rule (please see <xref linkend="natforward" />
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync for details).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <name></computeroutput>: This option deletes a NAT
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync port-forwarding rule (please see <xref linkend="natforward" />
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync for details).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <prefix></computeroutput>: This option defines a prefix
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync for the built-in TFTP server, i.e. where the boot file is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync located (please see <xref linkend="nat-tftp" /> and <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <bootfile></computeroutput>: This option defines the TFT
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync boot file (please see <xref linkend="nat-adv-tftp" /> for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync details).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <tftpserver></computeroutput>: This option defines the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync TFTP server address to boot from (please see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--natdnspassdomain<1-N>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync on|off</computeroutput>: This option specifies whether the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync built-in DHCP server passes the domain name for network name
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync resolution.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync on|off</computeroutput>: This option makes the NAT engine proxy
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync all guest DNS requests to the host's DNS servers (please see
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <xref linkend="nat-adv-dns" /> for details).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--natdnshostresolver<1-N>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync on|off</computeroutput>: This option makes the NAT engine use
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the host's resolver mechanisms to handle DNS requests (please
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync see <xref linkend="nat-adv-dns" /> for details).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [<mtu>],[<socksnd>],[<sockrcv>],[<tcpsnd>],
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [<tcprcv>]</computeroutput>: This option controls several
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync NAT settings (please see <xref linkend="nat-adv-settings" /> for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync details).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync default|[log],[proxyonly],[sameports]</computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync option defines behaviour of NAT engine core: log - enables
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync logging, proxyonly - switches of aliasing mode makes NAT
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync transparent, sameports enforces NAT engine to send packets via
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the same port as they originated on, default - disable all
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync mentioned modes above . (please see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync <title>Serial port, audio, clipboard, remote desktop and USB
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync settings</title>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The following other hardware settings are available through
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage modifyvm</computeroutput>:<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--uart<1-N> off|<I/O base>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <IRQ></computeroutput>: With this option you can configure
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync virtual serial ports for the VM; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync linkend="serialports" /> for an introduction.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <arg></computeroutput>: This setting controls how VirtualBox
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync connects a given virtual serial port (previously configured with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the <computeroutput>--uartX</computeroutput> setting, see above)
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to the host on which the virtual machine is running. As described
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync in detail in <xref linkend="serialports" />, for each such port,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync you can specify <computeroutput><arg></computeroutput> as
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync one of the following options:<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>disconnected</computeroutput>: Even
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync though the serial port is shown to the guest, it has no
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "other end" -- like a real COM port without a cable.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <pipename></computeroutput>: On a Windows host, this
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync tells VirtualBox to create a named pipe on the host named
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput><pipename></computeroutput> and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync connect the virtual serial device to it. Note that Windows
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync requires that the name of a named pipe begin with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>On a Linux host, instead of a named pipe, a local
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync domain socket is used.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <pipename></computeroutput>: This operates just like
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>server ...</computeroutput>, except that the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync pipe (or local domain socket) is not created by VirtualBox,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync but assumed to exist already.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput><devicename></computeroutput>:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync If, instead of the above, the device name of a physical
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync hardware serial port of the host is specified, the virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync serial port is connected to that hardware port. On a Windows
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync host, the device name will be a COM port such as
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>COM1</computeroutput>; on a Linux host, the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync device name will look like
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>/dev/ttyS0</computeroutput>. This allows you
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to "wire" a real serial port to a virtual machine.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--audio none|null|oss</computeroutput>: With
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync this option, you can set whether the VM should have audio
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync support.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync disabled|hosttoguest|guesttohost|bidirectional</computeroutput>:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync With this setting, you can select whether the guest operating
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync system's clipboard should be shared with the host; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync linkend="generalsettings" />. This requires that the Guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Additions be installed in the virtual machine.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <count></computeroutput>: This enables multi-monitor
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync support; see <xref linkend="settings-display" />.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--usb on|off</computeroutput>: This option
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync enables or disables the VM's virtual USB controller; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--usbehci on|off</computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync option enables or disables the VM's virtual USB 2.0 controller;
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync see <xref linkend="settings-usb" /> for details.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The following settings that affect remote machine behavior are
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync available through <computeroutput>VBoxManage
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync <para><computeroutput>--vrde on|off</computeroutput>: With the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VirtualBox graphical user interface, this enables or disables the
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync VirtualBox remote desktop extension (VRDE) server. Note that if
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync you are using <computeroutput>VBoxHeadless</computeroutput> (see
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync <xref linkend="vboxheadless" />), VRDE is enabled by
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync default.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync default|<ports></computeroutput>: A port or a range of ports
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync the VRDE server can bind to; "default" or "0" means port 3389, the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync standard port for RDP. You can specify a comma-separated list of
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync ports or ranges of ports. Use a dash between two port numbers to
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync specify a range. The VRDE server will bind to <emphasis
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync role="bold">one</emphasis> of available ports from the specified
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync list. Only one machine can use a given port at a time. For
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync example, the option <computeroutput> --vrdeport
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync 5000,5010-5012</computeroutput> will tell the server to bind to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync one of following ports: 5000, 5010, 5011 or 5012.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync address></computeroutput>: The IP address of the host network
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync interface the VRDE server will bind to. If specified, the server
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync will accept connections only on the specified host network
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync interface.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync null|external|guest</computeroutput>: This allows you to choose
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync whether and how authorization will be performed; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync <para><computeroutput>--vrdemulticon on|off</computeroutput>: This
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync enables multiple connections to the same VRDE server, if the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync <para><computeroutput>--vrdereusecon on|off</computeroutput>: This
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync specifies the VRDE server behavior when multiple connections are
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync disabled. When this option is enabled, the server will allow a new
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync client to connect and will drop the existing connection. When this
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync option is disabled (this is the default setting), a new connection
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync will not be accepted if there is already a client connected to the
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync server.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync <para><computeroutput>--vrdevideochannel on|off</computeroutput>:
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync This enables video redirection, if it is supported by the VRDE
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync server; see <xref lang="" linkend="vrde-videochannel" />.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync <percent></computeroutput>: Sets the image quality for video
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>With the following commands for <computeroutput>VBoxManage
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync modifyvm</computeroutput> you can configure a machine to be a target for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync teleporting. See <xref linkend="teleporting" /> for an
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync introduction.<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--teleporter on|off</computeroutput>: With
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync this setting you turn on or off whether a machine waits for a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync teleporting request to come in on the network when it is started.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync If "on", when the machine is started, it does not boot the virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine as it would normally; instead, it then waits for a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync teleporting request to come in on the port and address listed with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the next two parameters.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <port></computeroutput>, <computeroutput>--teleporteraddress
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <address></computeroutput>: these must be used with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync --teleporter and tell the virtual machine on which port and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync address it should listen for a teleporting request from another
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync virtual machine. <computeroutput><port></computeroutput> can
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput><address></computeroutput> can be any IP
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync address or hostname and specifies the TCP/IP socket to bind to.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync The default is "0.0.0.0", which means any address.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <password></computeroutput>: if this optional argument is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync given, then the teleporting request will only succeed if the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync source machine specifies the same password as the one given with
ae56268ed43efa582cc3605ea0270106562a306dvboxsync this command.<note>
ae56268ed43efa582cc3605ea0270106562a306dvboxsync <para>Currently, the password is stored without encryption
ae56268ed43efa582cc3605ea0270106562a306dvboxsync (i.e. in clear text) in the XML machine configuration
ae56268ed43efa582cc3605ea0270106562a306dvboxsync file.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--cpuid <leaf> <eax> <ebx>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <ecx> <edx></computeroutput>: Advanced users can use
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync this command before a teleporting operation to restrict the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync virtual CPU capabilities that VirtualBox presents to the guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync operating system. This must be run on both the source and the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync target machines involved in the teleporting and will then modify
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync what the guest sees when it executes the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>CPUID</computeroutput> machine instruction. This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync might help with misbehaving applications that wrongly assume that
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync certain CPU capabilities are present. The meaning of the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync parameters is hardware dependent; please refer to the AMD or Intel
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync processor manuals.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command imports a virtual appliance in OVF format by copying
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the virtual disk images and creating virtual machines in VirtualBox. See
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <xref linkend="ovf" /> for an introduction to appliances.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>import</computeroutput> subcommand takes at
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync least the path name of an OVF file as input and expects the disk images,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync if needed, in the same directory as the OVF file. A lot of additional
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync command-line options are supported to control in detail what is being
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync imported and modify the import parameters, but the details depend on the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync content of the OVF file.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>It is therefore recommended to first run the import subcommand with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>-n</computeroutput> option. This will then print a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync description of the appliance's contents to the screen how it would be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync imported into VirtualBox, together with the optional command-line options
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to influence the import behavior.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>As an example, here is the screen output with a sample appliance
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync containing a Windows XP guest:<screen>VBoxManage import WindowsXp.ovf --dry-run
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncVirtual system 0:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync 0: Suggested OS type: "WindowsXP"
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all)
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync 1: Suggested VM name "Windows XP Professional_1"
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (change with "--vsys 0 --vmname <name>")
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync 3: Number of CPUs: 1
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (change with "--vsys 0 --cpus <n>")
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync 4: Guest memory: 956 MB (change with "--vsys 0 --memory <MB>")
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync 5: Sound card (appliance expects "ensoniq1371", can change on import)
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (disable with "--vsys 0 --unit 5 --ignore")
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync 6: USB controller
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (disable with "--vsys 0 --unit 6 --ignore")
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync 7: Network adapter: orig bridged, config 2, extra type=bridged
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (disable with "--vsys 0 --unit 8 --ignore")
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync 9: SCSI controller, type BusLogic
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (change with "--vsys 0 --unit 9 --scsitype {BusLogic|LsiLogic}";
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync disable with "--vsys 0 --unit 9 --ignore")
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync10: IDE controller, type PIIX4
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (disable with "--vsys 0 --unit 10 --ignore")
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync11: Hard disk image: source image=WindowsXp.vmdk,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync target path=/home/user/disks/WindowsXp.vmdk, controller=9;channel=0
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (change controller with "--vsys 0 --unit 11 --controller <id>";
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync disable with "--vsys 0 --unit 11 --ignore")</screen></para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>As you can see, the individual configuration items are numbered, and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync depending on their type support different command-line options. The import
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync subcommand can be directed to ignore many such items with a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--vsys X --unit Y --ignore</computeroutput> option, where
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync X is the number of the virtual system (zero unless there are several
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync virtual system descriptions in the appliance) and Y the item number, as
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync printed on the screen.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>In the above example, Item #1 specifies the name of the target
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine in VirtualBox. Items #9 and #10 specify hard disk controllers,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync respectively. Item #11 describes a hard disk image; in this case, the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync additional <computeroutput>--controller</computeroutput> option indicates
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync which item the disk image should be connected to, with the default coming
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync from the OVF file.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>You can combine several items for the same virtual system behind the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync same <computeroutput>--vsys</computeroutput> option. For example, to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync import a machine as described in the OVF, but without the sound card and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync without the USB controller, and with the disk image connected to the IDE
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync controller instead of the SCSI controller, use this:<screen>VBoxManage import WindowsXp.ovf
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync --vsys 0 --unit 5 --ignore --unit 6 --ignore --unit 11 --controller 10</screen></para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command exports one or more virtual machines from VirtualBox
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync into a virtual appliance in OVF format, including copying their virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync disk images to compressed VMDK. See <xref linkend="ovf" /> for an
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync introduction to appliances.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>export</computeroutput> command is simple to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync use: list the machine (or the machines) that you would like to export to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the same OVF file and specify the target OVF file after an additional
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>-o</computeroutput> option. Note that the directory of the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync target OVF file will also receive the exported disk images in the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync compressed VMDK format (regardless of the original format) and should have
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync enough disk space left for them.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Beside a simple export of a given virtual machine, you can append
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync several product information to the appliance file. Use
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--version</computeroutput> to specify this additional
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync information. For legal reasons you may add a license text or the content
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync of a license file by using the <computeroutput>--eula</computeroutput> and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--eulafile</computeroutput> option respectively. As with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync OVF import, you must use the <computeroutput>--vsys X</computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync option to direct the previously mentioned options to the correct virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>For virtualization products which aren't fully compatible with the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync OVF standard 1.0 you can enable a OVF 0.9 legacy mode with the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--legacy09</computeroutput> option.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command starts a virtual machine that is currently in the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "Powered off" or "Saved" states.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This is provided for backwards compatibility only. We recommend to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync start virtual machines directly by running the respective front-end, as
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync you might otherwise miss important error and state information that
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VirtualBox may display on the console. This is especially important for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync front-ends other than <computeroutput>VirtualBox</computeroutput>, our
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync graphical user interface, because those cannot display error messages in
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync a popup window. See <xref linkend="vboxheadless" /> for more
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync information.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The optional <computeroutput>--type</computeroutput> specifier
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync determines whether the machine will be started in a window (GUI mode,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync which is the default) or whether the output should go through
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync <computeroutput>VBoxHeadless</computeroutput>, with VRDE enabled or not;
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync see <xref linkend="vboxheadless" /> for more information. The list of
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync types is subject to change, and it's not guaranteed that all types are
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync accepted by any product variant.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glosslist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Starts a VM showing a GUI window. This is the default.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync <para>Starts a VM without a window for remote display only.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glosslist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>controlvm</computeroutput> subcommand allows you
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to change the state of a virtual machine that is currently running. The
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync following can be specified:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>VBoxManage controlvm <vm>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync pause</computeroutput> temporarily puts a virtual machine on hold,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync without changing its state for good. The VM window will be painted
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync in gray to indicate that the VM is currently paused. (This is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync equivalent to selecting the "Pause" item in the "Machine" menu of
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the GUI.)</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Use <computeroutput>VBoxManage controlvm <vm>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync resume</computeroutput> to undo a previous
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>pause</computeroutput> command. (This is equivalent
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to selecting the "Resume" item in the "Machine" menu of the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync GUI.)</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>VBoxManage controlvm <vm>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync reset</computeroutput> has the same effect on a virtual machine as
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync pressing the "Reset" button on a real computer: a cold reboot of the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync virtual machine, which will restart and boot the guest operating
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync system again immediately. The state of the VM is not saved
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync beforehand, and data may be lost. (This is equivalent to selecting
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the "Reset" item in the "Machine" menu of the GUI.)</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>VBoxManage controlvm <vm>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync poweroff</computeroutput> has the same effect on a virtual machine
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync as pulling the power cable on a real computer. Again, the state of
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the VM is not saved beforehand, and data may be lost. (This is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync equivalent to selecting the "Close" item in the "Machine" menu of
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the GUI or pressing the window's close button, and then selecting
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "Power off the machine" in the dialog.)</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>After this, the VM's state will be "Powered off". From there,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync it can be started again; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>VBoxManage controlvm <vm>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync savestate</computeroutput> will save the current state of the VM to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync disk and then stop the VM. (This is equivalent to selecting the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "Close" item in the "Machine" menu of the GUI or pressing the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync window's close button, and then selecting "Save the machine state"
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync in the dialog.)</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>After this, the VM's state will be "Saved". From there, it can
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync be started again; see <xref linkend="vboxmanage-startvm" />.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>VBoxManage controlvm <vm> teleport
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync --hostname <name> --port <port> [--password
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <password>]</computeroutput> makes the machine the source of a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync teleporting operation and initiates a teleport to the given target.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync See <xref linkend="teleporting" /> for an introduction. If the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync optional password is specified, it must match the password that was
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync given to the <computeroutput>modifyvm</computeroutput> command for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the target machine; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync linkend="vboxmanage-modifyvm-teleport" /> for details.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>A few extra options are available with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>controlvm</computeroutput> that do not directly affect the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VM's running state:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>setlinkstate<1-N></computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync operation connects or disconnects virtual network cables from their
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync network interfaces.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync null|nat|bridged|intnet|hostonly</computeroutput>: With this, you can
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync set, for each of the VM's virtual network cards, what type of
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync networking should be available. They can be not connected to the host
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (<computeroutput>null</computeroutput>), use network address
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync translation (<computeroutput>nat</computeroutput>), bridged networking
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (<computeroutput>bridged</computeroutput>) or communicate with other
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync virtual machines using internal networking
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (<computeroutput>intnet</computeroutput>) or host-only networking
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (<computeroutput>hostonly</computeroutput>). These options correspond
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to the modes which are described in detail in <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>usbattach</computeroutput> and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>usbdettach</computeroutput> make host USB devices
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync visible to the virtual machine on the fly, without the need for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync creating filters first. The USB devices can be specified by UUID
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (unique identifier) or by address on the host system.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync usbhost</computeroutput> to locate this information.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync <para><computeroutput>vrde on|off</computeroutput> lets you enable or
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync disable the VRDE server, if it is installed.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync <para><computeroutput>vrdeport default|<ports></computeroutput>
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync changes the port or a range of ports that the VRDE server can bind to;
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "default" or "0" means port 3389, the standard port for RDP. For
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync details, see the description for the
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync <computeroutput>--vrdeport</computeroutput> option in <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>setvideomodehint</computeroutput> requests that
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the guest system change to a particular video mode. This requires that
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the Guest Additions be installed, and will not work for all guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync systems.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>setcredentials</computeroutput> operation is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync used for remote logons in Windows guests. For details, please refer to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>guestmemoryballoon</computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync operation changes the size of the guest memory balloon, that is,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync memory allocated by the VirtualBox Guest Additions from the guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync operating system and returned to the hypervisor for re-use by other
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync virtual machines. This must be specified in megabytes. For details,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
223935479ac42db56b7b7a7d16548d590022996avboxsync <1-100></computeroutput>: This operation controls how much cpu
223935479ac42db56b7b7a7d16548d590022996avboxsync time a virtual CPU can use. A value of 50 implies a single virtual CPU
223935479ac42db56b7b7a7d16548d590022996avboxsync can use up to 50% of a single host CPU.</para>
fd60bfdb327b9b1e7a6d084cf368fb7f07c566cfvboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command discards the saved state of a virtual machine which is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync not currently running, which will cause its operating system to restart
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync next time you start it. This is the equivalent of pulling out the power
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync cable on a physical machine, and should be avoided if possible.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command is used to control snapshots from the command line. A
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync snapshot consists of a complete copy of the virtual machine settings,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync copied at the time when the snapshot was taken, and optionally a virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine saved state file if the snapshot was taken while the machine was
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync running. After a snapshot has been taken, VirtualBox creates differencing
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync hard disk for each normal hard disk associated with the machine so that
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync when a snapshot is restored, the contents of the virtual machine's virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync hard disks can be quickly reset by simply dropping the pre-existing
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync differencing files.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>take</computeroutput> operation takes a snapshot
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync of the current state of the virtual machine. You must supply a name for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the snapshot and can optionally supply a description. The new snapshot is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync inserted into the snapshots tree as a child of the current snapshot and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync then becomes the new current snapshot.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>delete</computeroutput> operation deletes a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync snapshot (specified by name or by UUID). This can take a while to finish
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync since the differencing images associated with the snapshot might need to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync be merged with their child differencing images.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>restore</computeroutput> operation will restore
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the given snapshot (specified by name or by UUID) by resetting the virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine's settings and current state to that of the snapshot. The previous
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync current state of the machine will be lost. After this, the given snapshot
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync becomes the new "current" snapshot so that subsequent snapshots are
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync inserted under the snapshot from which was restored.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>restorecurrent</computeroutput> operation is a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync shortcut to restore the current snapshot (i.e. the snapshot from which the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync current state is derived). This subcommand is equivalent to using the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "restore" subcommand with the name or UUID of the current snapshot, except
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync that it avoids the extra step of determining that name or UUID.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>With the <computeroutput>edit</computeroutput> operation, you can
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync change the name or description of an existing snapshot.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>With the <computeroutput>showvminfo</computeroutput> operation, you
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync can view the virtual machine settings that were stored with an existing
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync snapshot.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>This command attaches/modifies/removes a storage controller. After
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync this, virtual media can be attached to the controller with the
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <computeroutput>storageattach</computeroutput> command (see the next
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync section).</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <screen>VBoxManage storagectl <uuid|vmname>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync --name <name>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--controller <LsiLogic/BusLogic/IntelAhci/PIIX3/
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--sataideemulation<1-4> <1-30>]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--sataportcount <1-30>]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--hostiocache on|off]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--remove]</screen>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Name of the storage controller. Mandatory.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Define the type of the system bus to which the storage
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync controller must be connected.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Allows to choose the type of chipset being emulated for the
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync given storage controller.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>This specifies which SATA ports should operate in IDE
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync emulation mode. As explained in <xref
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync linkend="harddiskcontrollers" />, by default, this is the case for
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync SATA ports 1-4; with this command, you can map four IDE channels
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync to any of the 30 supported SATA ports.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>This determines how many ports the SATA controller should
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync support.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Configures the use of the host I/O cache for all disk images
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync attached to this storage controller. For details, please see <xref
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Removes the storage controller from the VM config.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <title id="vboxmanage-storageattach">VBoxManage storageattach</title>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>This command attaches/modifies/removes a storage medium connected to
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync a storage controller that was previously added with the
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <computeroutput>storagectl</computeroutput> command (see the previous
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync section). The syntax is as follows:</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <screen>VBoxManage storageattach <uuid|vmname>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync --storagectl <name>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync --port <number>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync --device <number>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync [--type dvddrive|hdd|fdd]
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync [--medium none|emptydrive|
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <uuid>|<filename>|host:<drive>|iscsi]
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync [--mtype normal|writethrough|immutable|shareable]
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync [--comment <text>]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--passthrough on|off]
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync [--bandwidthgroup name|none]
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync [--forceunmount]
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync [--server <name>|<ip>]
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync [--target <target>]
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync [--port <port>]
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync [--lun <lun>]
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync [--encodedlun <lun>]
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync [--username <username>]
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync [--password <password>]
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>A number of parameters are commonly required; the ones at the end of
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync the list are required only for iSCSI targets (see below).</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Name of the storage controller. Mandatory. The list of the
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync storage controllers currently attached to a VM can be obtained
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync with <computeroutput>VBoxManage showvminfo</computeroutput>; see
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
223935479ac42db56b7b7a7d16548d590022996avboxsync <para>The number of the storage controller's port which is to be
223935479ac42db56b7b7a7d16548d590022996avboxsync modified. Mandatory.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
223935479ac42db56b7b7a7d16548d590022996avboxsync <para>The number of the port's device which is to be modified.
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync Mandatory.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Define the type of the drive to which the medium is being
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync attached/detached/modified. This argument can only be omitted if
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync the type of medium can be determined from either the medium given
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync with the <computeroutput>--medium</computeroutput> argument or
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync from a previous medium attachment.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Specifies what is to be attached. The following values are
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync supported:<itemizedlist>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>"none": Any existing device should be removed from the
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync given slot.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </listitem>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>"emptydrive": For a virtual DVD or floppy drive only,
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync this makes the device slot behaves like a removeable drive
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync into which no media has been inserted.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </listitem>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>If a UUID is specified, it must be the UUID of a
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync storage medium that is already known to VirtualBox (e.g.
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync because it has been attached to another virtual machine).
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync See <xref linkend="vboxmanage-list" /> for how to list known
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync media. This medium is then attached to the given device
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync slot.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </listitem>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>If a filename is specified, it must be the full path
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync of an existing disk image (ISO, RAW, VDI, VMDK or other),
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync which is then attached to the given device slot.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </listitem>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>"host:<drive>": For a virtual DVD or floppy
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync drive only, this connects the given device slot to the
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync specified DVD or floppy drive on the host computer.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </listitem>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>"iscsi": For virtual hard disks only, this allows for
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync specifying an iSCSI target. In this case, more parameters
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync must be given; see below.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </listitem>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Some of the above changes, in particular for removeable
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync media (floppies and CDs/DVDs), can be effected while a VM is
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync running. Others (device changes or changes in hard disk device
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync slots) require the VM to be powered off.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Defines how this medium behaves with respect to snapshots
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync and write operations. See <xref linkend="hdimagewrites" /> for
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync details.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Any description that you want to have stored with this
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync medium (optional; for example, for an iSCSI target, "Big storage
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync server downstairs"). This is purely descriptive and not needed for
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync the medium to function correctly.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>For a virtual DVD drive only, you can enable DVD writing
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync support (currently experimental; see <xref
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Sets the bandwidth group to use for the given device; see
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>For a virtual DVD or floppy drive only, this forcibly
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync unmounts the DVD/CD/Floppy or mounts a new DVD/CD/Floppy even if
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync the previous one is locked down by the guest for reading. Again,
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync see <xref linkend="storage-cds" /> for details.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>When "iscsi" is used with the
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync <computeroutput>--medium</computeroutput> parameter for iSCSI support --
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync see <xref linkend="storage-iscsi" /> --, additional parameters must or can
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync be used:<glosslist>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>The host name or IP address of the iSCSI target;
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync required.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Target name string. This is determined by the iSCSI target
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync and used to identify the storage resource; required.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>TCP/IP port number of the iSCSI service on the target
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync (optional).</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Logical Unit Number of the target resource (optional).
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync Often, this value is zero.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Username and password for target authentication, if required
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync (optional).<note>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Currently, username and password are stored without
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync encryption (i.e. in clear text) in the XML machine
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync configuration file.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>If specified, connect to the iSCSI target via Internal
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync Networking. This needs further configuration which is described in
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>This command creates/deletes/modifies bandwidth groups of the given
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync virtual machine:<screen>VBoxManage bandwidthctl <uuid|vmname>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync --name <name>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync [--add disk
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>See <xref linkend="storage-bandwidth-limit" /> for an introduction
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync to bandwidth limits. The parameters mean:<glosslist>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync <glossentry>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync </glossdef>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync </glossentry>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync <glossentry>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync <para>Name of the bandwidth group. Mandatory.</para>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync </glossdef>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync </glossentry>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync <glossentry>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync <para>Creates a new bandwdith group with the given type.</para>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync </glossdef>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync </glossentry>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync <glossentry>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync <para>Deletes a bandwdith group if it isn't used anymore.</para>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync </glossdef>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync </glossentry>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync <glossentry>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync <para>Sets the limit for the given group to the specified amount.
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync Can be changed while the VM is running.</para>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync </glossdef>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command shows information about a virtual hard disk image,
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync notably its size, its size on disk, its type and the virtual machines
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync which use it.<note>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>For compatibility with earlier versions of VirtualBox, the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "showvdiinfo" command is also supported and mapped internally to the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "showhdinfo" command.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command creates a new virtual hard disk image. The syntax is as
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync follows:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <screen>VBoxManage createhd --filename <filename>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync --size <megabytes>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--format VDI|VMDK|VHD] (default: VDI)
25e9e0a33eafedabbd0628909c4973b91283a8c7vboxsync [--variant Standard,Fixed,Split2G,Stream,ESX]</screen>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Allows to choose a file name. Mandatory.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Allows to define the image capacity, in 1 MiB units.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Mandatory.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Allows to choose a file format for the output file different
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync from the file format of the input file.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Allows to choose a file format variant for the output file.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync It is a comma-separated list of variant flags. Not all
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync combinations are supported, and specifying inconsistent flags will
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync result in an error message.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>For compatibility with earlier versions of VirtualBox, the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "createvdi" command is also supported and mapped internally to the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "createhd" command.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>With the <computeroutput>modifyhd</computeroutput> command, you can
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync change the characteristics of a disk image after it has been
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync created:<screen>VBoxManage modifyhd <uuid>|<filename>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync [--type normal|writethrough|immutable|shareable|
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync readonly|multiattach]
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync [--autoreset on|off]
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync [--compact]
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync [--resize <megabytes>|--resizebyte <bytes>]</screen><note>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync <para>Despite the "hd" in the subcommand name, the command works with
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync all disk images, not only hard disks. For compatibility with earlier
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync versions of VirtualBox, the "modifyvdi" command is also supported and
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync mapped internally to the "modifyhd" command.</para>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync <para>The following options are available:<itemizedlist>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync <para>With the <computeroutput>--type</computeroutput> argument, you
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync can change the type of an existing image between the normal,
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync immutable, write-through and other modes; see <xref
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync </listitem>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync <para>For immutable (differencing) hard disks only, the
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync <computeroutput>--autoreset on|off</computeroutput> option
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync determines whether the disk is automatically reset on every VM
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync startup (again, see <xref linkend="hdimagewrites" />). The default
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync is "on".</para>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync </listitem>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync <para>With the <computeroutput>--compact</computeroutput> option,
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync can be used to compact disk images, i.e. remove blocks that only
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync contains zeroes. This will shrink a dynamically expanding image
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync again; it will reduce the <emphasis>physical</emphasis> size of the
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync image without affecting the logical size of the virtual disk.
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync Compaction works both for base images and for diff images created as
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync part of a snapshot.</para>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync <para>For this operation to be effective, it is required that free
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync space in the guest system first be zeroed out using a suitable
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync software tool. For Windows guests, you can use the
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync <computeroutput>sdelete</computeroutput> tool provided by Microsoft.
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync Execute <computeroutput>sdelete -c</computeroutput> in the guest to
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync zero the free disk space before compressing the virtual disk
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync image.</para>
8f20906c81b61659ea4f978566d0e34223c451e1vboxsync <para>Please note that compacting is currently only available for
8f20906c81b61659ea4f978566d0e34223c451e1vboxsync VDI images. A similar effect can be achieved by zeroing out free
8f20906c81b61659ea4f978566d0e34223c451e1vboxsync blocks and then cloning the disk to any other dynamically expanding
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync format. You can use this workaround until compacting is also
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync supported for disk formats other than VDI.</para>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync </listitem>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync <para>The --resize option allows you to expand the capacity of an
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync existing image; this increases the <emphasis>logical</emphasis> size
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync of a virtual disk without affecting the physical size much.<footnote>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync <para>Image resizing was added with VirtualBox 4.0.</para>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync </footnote> This currently works only for the VDI and VHD formats,
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync and only for the dynamically expanding variants. For example, if you
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync originally created a 10G disk which is now full, you can use the
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync --resize command to add more space to the virtual disk without
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync having to create a new image and copy all data from within a virtual
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync machine.</para>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command duplicates a registered virtual hard disk image to a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync new image file with a new unique identifier (UUID). The new image can be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync transferred to another host system or imported into VirtualBox again using
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the Virtual Media Manager; see <xref linkend="vdis" /> and <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync linkend="cloningvdis" />. The syntax is as follows:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <screen>VBoxManage clonehd <uuid>|<filename> <outputfile>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--format VDI|VMDK|VHD|RAW|<other>]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--variant Standard,Fixed,Split2G,Stream,ESX]
25e9e0a33eafedabbd0628909c4973b91283a8c7vboxsync [--existing]</screen>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Allow to choose a file format for the output file different
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync from the file format of the input file.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Allow to choose a file format variant for the output file.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync It is a comma-separated list of variant flags. Not all
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync combinations are supported, and specifying inconsistent flags will
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync result in an error message.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
085a27f357b04458f6cdf3ba497eaa54ac5a128fvboxsync <glossentry>
085a27f357b04458f6cdf3ba497eaa54ac5a128fvboxsync <para>Perform the clone operation to an already existing
085a27f357b04458f6cdf3ba497eaa54ac5a128fvboxsync destination medium. Only the portion of the source medium which
085a27f357b04458f6cdf3ba497eaa54ac5a128fvboxsync fits into the destination medium is copied. This means if the
17014a9ecba37ba2cd8919ec9f040ceb9c2a5445vboxsync destination medium is smaller than the source only a part of it is
17014a9ecba37ba2cd8919ec9f040ceb9c2a5445vboxsync copied, and if the destination medium is larger than the source
085a27f357b04458f6cdf3ba497eaa54ac5a128fvboxsync the remaining part of the destination medium is unchanged.</para>
085a27f357b04458f6cdf3ba497eaa54ac5a128fvboxsync </glossdef>
085a27f357b04458f6cdf3ba497eaa54ac5a128fvboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>For compatibility with earlier versions of VirtualBox, the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "clonevdi" command is also supported and mapped internally to the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "clonehd" command.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command converts a raw disk image to a VirtualBox Disk Image
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (VDI) file. The syntax is as follows:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <screen>VBoxManage convertfromraw <filename> <outputfile>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--format VDI|VMDK|VHD]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--variant Standard,Fixed,Split2G,Stream,ESX]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncVBoxManage convertfromraw stdin <outputfile> <bytes>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--format VDI|VMDK|VHD]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--variant Standard,Fixed,Split2G,Stream,ESX]</screen>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Select the disk image format to create. Default is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VDI.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Allow to choose a file format variant for the output file.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync It is a comma-separated list of variant flags. Not all
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync combinations are supported, and specifying inconsistent flags will
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync result in an error message.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glosslist> The second form forces VBoxManage to read the content for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the disk image from standard input (useful for using that command in a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync pipe).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>For compatibility with earlier versions of VirtualBox, the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "convertdd" command is also supported and mapped internally to the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "convertfromraw" command.</para>
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync <para>This commands removes a hard disk, DVD or floppy image from a
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync VirtualBox media registry.<footnote>
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync <para>Before VirtualBox 4.0, it was necessary to call VBoxManage
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync openmedium before a medium could be attached to a virtual machine;
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync that call "registered" the medium with the global VirtualBox media
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync registry. With VirtualBox 4.0 this is no longer necessary; media are
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync added to media registries automatically. The "closemedium" call has
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync been retained, however, to allow for explicitly removing a medium from
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync a registry.</para>
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync <para>Optionally, you can request that the image be deleted. You will get
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync appropriate diagnostics that the deletion failed, however the image will
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync become unregistered in any case.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <title>VBoxManage getextradata/setextradata</title>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>These commands let you attach and retrieve string data to a virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine or to a VirtualBox configuration (by specifying
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>global</computeroutput> instead of a virtual machine
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync name). You must specify a key (as a text string) to associate the data
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync with, which you can later use to retrieve it. For example:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <screen>VBoxManage setextradata Fedora5 installdate 2006.01.01
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncVBoxManage setextradata SUSE10 installdate 2006.02.02</screen>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>would associate the string "2006.01.01" with the key installdate for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the virtual machine Fedora5, and "2006.02.02" on the machine SUSE10. You
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync could retrieve the information as follows:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <screen>VBoxManage getextradata Fedora5 installdate</screen>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <screen>VirtualBox Command Line Management Interface Version $VBOX_VERSION_MAJOR.$VBOX_VERSION_MINOR.$VBOX_VERSION_BUILD
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync(C) 2005-$VBOX_C_YEAR $VBOX_VENDOR
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncAll rights reserved.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncValue: 2006.01.01</screen>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command is used to change global settings which affect the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync entire VirtualBox installation. Some of these correspond to the settings
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync in the "Global settings" dialog in the graphical user interface. The
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync following properties are available:<glosslist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This specifies the default folder in which virtual machine
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync definitions are kept; see <xref linkend="vboxconfigdata" /> for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync details.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
3933885bc0c2c93436d858a14564c6179ec72872vboxsync <para>This specifies which library to use when "external"
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync authentication has been selected for a particular virtual machine;
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync see <xref linkend="vbox-auth" /> for details.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This specifies which library the web service uses to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync authenticate users. For details about the VirtualBox web service,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync please refer to the separate VirtualBox SDK reference (see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
3933885bc0c2c93436d858a14564c6179ec72872vboxsync <glossentry>
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync <para>This specifies which library implements the VirtualBox
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync Remote Desktop Extension.</para>
3933885bc0c2c93436d858a14564c6179ec72872vboxsync </glossdef>
3933885bc0c2c93436d858a14564c6179ec72872vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This selects whether or not hardware virtualization support
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync is enabled by default.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <title>VBoxManage usbfilter add/modify/remove</title>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>usbfilter</computeroutput> commands are used for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync working with USB filters in virtual machines, or global filters which
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync affect the whole VirtualBox setup. Global filters are applied before
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine-specific filters, and may be used to prevent devices from being
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync captured by any virtual machine. Global filters are always applied in a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync particular order, and only the first filter which fits a device is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync applied. So for example, if the first global filter says to hold (make
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync available) a particular Kingston memory stick device and the second to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync ignore all Kingston devices, that memory stick will be available to any
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine with an appropriate filter, but no other Kingston device
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync will.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>When creating a USB filter using <computeroutput>usbfilter
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync add</computeroutput>, you must supply three or four mandatory parameters.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync The index specifies the position in the list at which the filter should be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync placed. If there is already a filter at that position, then it and the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync following ones will be shifted back one place. Otherwise the new filter
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync will be added onto the end of the list. The
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>target</computeroutput> parameter selects the virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine that the filter should be attached to or use "global" to apply it
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to all virtual machines. <computeroutput>name</computeroutput> is a name
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync for the new filter and for global filters,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>action</computeroutput> says whether to allow machines
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync access to devices that fit the filter description ("hold") or not to give
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync them access ("ignore"). In addition, you should specify parameters to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync filter by. You can find the parameters for devices attached to your system
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync using <computeroutput>VBoxManage list usbhost</computeroutput>. Finally,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync you can specify whether the filter should be active, and for local
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync filters, whether they are for local devices, remote (over an RDP
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync connection) or either.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>When you modify a USB filter using <computeroutput>usbfilter
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync modify</computeroutput>, you must specify the filter by index (see the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync output of <computeroutput>VBoxManage list usbfilters</computeroutput> to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync find global filter indexes and that of <computeroutput>VBoxManage
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync showvminfo</computeroutput> to find indexes for individual machines) and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync by target, which is either a virtual machine or "global". The properties
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync which can be changed are the same as for <computeroutput>usbfilter
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync add</computeroutput>. To remove a filter, use <computeroutput>usbfilter
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync remove</computeroutput> and specify the index and the target.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command allows you to share folders on the host computer with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync guest operating systems. For this, the guest systems must have a version
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync of the VirtualBox Guest Additions installed which supports this
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync functionality.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Shared folders are described in detail in <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command supports monitoring the usage of system resources.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Resources are represented by various metrics associated with the host
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync system or a particular VM. For example, the host system has a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>CPU/Load/User</computeroutput> metric that shows the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync percentage of time CPUs spend executing in user mode over a specific
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync sampling period.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Metric data is collected and retained internally; it may be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync retrieved at any time with the <computeroutput>VBoxManage metrics
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync query</computeroutput> subcommand. The data is available as long as the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync background <computeroutput>VBoxSVC</computeroutput> process is alive. That
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync process terminates shortly after all VMs and frontends have been
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync closed.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>By default no metrics are collected at all. Metrics collection does
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync not start until <computeroutput>VBoxManage metrics setup</computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync is invoked with a proper sampling interval and the number of metrics to be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync retained. The interval is measured in seconds. For example, to enable
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync collecting the host processor and memory usage metrics every second and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync keeping the 5 most current samples, the following command can be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync used:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <screen>VBoxManage metrics setup --period 1 --samples 5 host CPU/Load,RAM/Usage</screen>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Metric collection can only be enabled for started VMs. Collected
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync data and collection settings for a particular VM will disappear as soon as
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync it shuts down. Use <computeroutput>VBoxManage metrics list
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </computeroutput> subcommand to see which metrics are currently available.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync You can also use <computeroutput>--list</computeroutput> option with any
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync subcommand that modifies metric settings to find out which metrics were
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync affected.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Note that the <computeroutput>VBoxManage metrics
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync setup</computeroutput> subcommand discards all samples that may have been
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync previously collected for the specified set of objects and metrics.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>To enable or disable metrics collection without discarding the data
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage metrics enable</computeroutput> and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage metrics disable</computeroutput> subcommands
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync can be used. Note that these subcommands expect metrics, not submetrics,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync like <code>CPU/Load</code> or <code>RAM/Usage</code> as parameters. In
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync other words enabling <code>CPU/Load/User</code> while disabling
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <code>CPU/Load/Kernel</code> is not supported.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The host and VMs have different sets of associated metrics.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Available metrics can be listed with <computeroutput>VBoxManage metrics
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>A complete metric name may include an aggregate function. The name
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync has the following form:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>Category/Metric[/SubMetric][:aggregate]</computeroutput>.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync For example, <computeroutput>RAM/Usage/Free:min</computeroutput> stands
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync for the minimum amount of available memory over all retained data if
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync applied to the host object.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Subcommands may apply to all objects and metrics or can be limited
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to one object or/and a list of metrics. If no objects or metrics are given
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync in the parameters, the subcommands will apply to all available metrics of
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync all objects. You may use an asterisk
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync ("<computeroutput>*</computeroutput>") to explicitly specify that the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync command should be applied to all objects or metrics. Use "host" as the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync object name to limit the scope of the command to host-related metrics. To
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync limit the scope to a subset of metrics, use a metric list with names
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync separated by commas.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>For example, to query metric data on the CPU time spent in user and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync kernel modes by the virtual machine named "test", you can use the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync following command:</para>
362fc246fd66786ddb3178d29dca8879a3276be5vboxsync <screen>VBoxManage metrics query test CPU/Load/User,CPU/Load/Kernel</screen>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The following list summarizes the available subcommands:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glosslist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This subcommand shows the parameters of the currently existing
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync metrics. Note that VM-specific metrics are only available when a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync particular VM is running.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This subcommand sets the interval between taking two samples
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync of metric data and the number of samples retained internally. The
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync retained data is available for displaying with the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <code>query</code> subcommand. The <computeroutput>--list
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </computeroutput> option shows which metrics have been modified as
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the result of the command execution.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This subcommand "resumes" data collection after it has been
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync stopped with <code>disable</code> subcommand. Note that specifying
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync submetrics as parameters will not enable underlying metrics. Use
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--list</computeroutput> to find out if the command
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync did what was expected.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This subcommand "suspends" data collection without affecting
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync collection parameters or collected data. Note that specifying
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync submetrics as parameters will not disable underlying metrics. Use
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--list</computeroutput> to find out if the command
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync did what was expected.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This subcommand retrieves and displays the currently retained
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync metric data.<note>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <code>query</code> subcommand does not remove or
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "flush" retained data. If you query often enough you will see
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync how old samples are gradually being "phased out" by new
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync samples.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This subcommand sets the interval between taking two samples
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync of metric data and the number of samples retained internally. The
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync collected data is displayed periodically until Ctrl-C is pressed
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync unless the <computeroutput>--detach</computeroutput> option is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync specified. With the <computeroutput>--detach</computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync option, this subcommand operates the same way as <code>setup</code>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync does. The <computeroutput>--list</computeroutput> option shows which
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync metrics match the specified filter.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glosslist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The "guestproperty" commands allow you to get or set properties of a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync running virtual machine. Please see <xref linkend="guestadd-guestprops" />
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync for an introduction. As explained there, guest properties are arbitrary
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync key/value string pairs which can be written to and read from by either the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync guest or the host, so they can be used as a low-volume communication
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync channel for strings, provided that a guest is running and has the Guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Additions installed. In addition, a number of values whose keys begin with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "/VirtualBox/" are automatically set and maintained by the Guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Additions.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The following subcommands are available (where
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput><vm></computeroutput>, in each case, can either be a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VM name or a VM UUID, as with the other VBoxManage commands):<itemizedlist>
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync <para><computeroutput>enumerate <vm> [--patterns
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <pattern>]</computeroutput>: This lists all the guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync properties that are available for the given VM, including the value.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync This list will be very limited if the guest's service process cannot
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync be contacted, e.g. because the VM is not running or the Guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Additions are not installed.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>If <computeroutput>--patterns <pattern></computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync is specified, it acts as a filter to only list properties that match
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the given pattern. The pattern can contain the following wildcard
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync characters:<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>*</computeroutput> (asterisk):
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync represents any number of characters; for example,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "<computeroutput>/VirtualBox*</computeroutput>" would match
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync all properties beginning with "/VirtualBox".</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>?</computeroutput> (question mark):
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync represents a single arbitrary character; for example,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "<computeroutput>fo?</computeroutput>" would match both "foo"
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync and "for".</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>|</computeroutput> (pipe symbol): can be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync used to specify multiple alternative patterns; for example,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "<computeroutput>s*|t*</computeroutput>" would match anything
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync starting with either "s" or "t".</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>get <vm></computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync retrieves the value of a single property only. If the property
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync cannot be found (e.g. because the guest is not running), this will
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync print "No value set!".</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>set <vm> <property> [<value>
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync [--flags <flags>]]</computeroutput>: This allows you to set a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync guest property by specifying the key and value. If
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput><value></computeroutput> is omitted, the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync property is deleted. With <computeroutput>--flags</computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync you can optionally specify additional behavior (you can combine
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync several by separating them with commas):<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>TRANSIENT</computeroutput>: the value
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync will not be stored with the VM data when the VM exits;</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>RDONLYGUEST</computeroutput>: the value
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync can only be changed by the host, but the guest can only read
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>RDONLYHOST</computeroutput>: reversely,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the value can only be changed by the guest, but the host can
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync only read it;</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>READONLY</computeroutput>: a combination
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync of the two, the value cannot be changed at all.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>wait <vm> <pattern> --timeout
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <timeout></computeroutput>: This waits for a particular value
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync described by "pattern" to change or to be deleted or created. The
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync pattern rules are the same as for the "enumerate" subcommand
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync above.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The "guestcontrol" commands allow you to control certain things
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync inside a guest from the host. Please see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync linkend="guestadd-guestcontrol" /> for an introduction.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <screen>VBoxManage guestcontrol <command></screen>
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync <para>The following subcommands are available (where
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync <computeroutput><vm></computeroutput>, in each case, can either be a
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync VM name or a VM UUID, as with the other VBoxManage commands):<itemizedlist>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para><computeroutput>execute</computeroutput>, which allows for
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync executing a program/script (process) which is already installed and
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync runnable on the guest. This command only works while a VM is up and
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync running and has the following syntax:</para>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <screen>VBoxManage guestcontrol exec[ute] <vmname>|<uuid>
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync <path to program>
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync --username <name> --password <password>
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync [--arguments "<arguments>"]
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync [--environment "<NAME>=<VALUE> [<NAME>=<VALUE>]"]
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync [--flags <flags>] [--timeout <msec>]
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync [--verbose] [--wait-for exit,stdout,stderr||]</screen>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Absolute path and process name of process to execute
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync in the guest, e.g.
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <computeroutput>C:\Windows\System32\calc.exe</computeroutput></para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossterm>--arguments "<arguments>"</glossterm>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>One or more arguments to pass to the process being
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync executed.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Arguments containing spaces must be enclosed in
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync quotation marks. More than one
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <computeroutput>--arguments</computeroutput> at a time can
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync be specified to keep the command line tidy.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossterm>--environment
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync "<NAME>=<VALUE>"</glossterm>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>One or more environment variables to be set or
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync unset.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>By default, the new process in the guest will be
223935479ac42db56b7b7a7d16548d590022996avboxsync created with the standard environment of the guest OS. This
223935479ac42db56b7b7a7d16548d590022996avboxsync option allows for modifying that environment. To set/modify
223935479ac42db56b7b7a7d16548d590022996avboxsync a variable, a pair of
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <computeroutput>NAME=VALUE</computeroutput> must be
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync specified; to unset a certain variable, the name with no
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync value must set, e.g.
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Arguments containing spaces must be enclosed in
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync quotation marks. More than one
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <computeroutput>--environment</computeroutput> at a time can
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync be specified to keep the command line tidy.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Additional flags to set. This is not used at the
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync moment.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Value (in milliseconds) that specifies the time how
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync long the started process is allowed to run and how long
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync VBoxManage waits for getting output from that process. If no
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync timeout is specified, VBoxManage will wait forever until the
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync started process ends or an error occured.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Name of the user the process should run under. This
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync user must exist on the guest OS.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Password of the user account specified with
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <computeroutput>--username</computeroutput>. If not given,
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync an empty password is assumed.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Tells VBoxManage to wait for a certain action to
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync happen and react to it. The following actions are available:
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glosslist>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Waits until the process ends and outputs its
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Waits until the process ends and outputs its
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync that VBoxManage retrieves the output collected from
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync the guest process's stdout and stderr.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>On Windows there are certain limitations for graphical
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync applications; please see <xref linkend="KnownIssues" /> for more
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync information.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </note> Examples: <screen>VBoxManage --nologo guestcontrol execute "My VM" "/bin/ls" --arguments "-l /usr"
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync --username foo --password bar --wait-for stdout</screen> <screen>VBoxManage --nologo guestcontrol execute "My VM" "c:\\windows\\system32\\ipconfig.exe"
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync --username foo --password bar --wait-for stdout</screen> Note that
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync the double backslashes in the second example are only required on
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync Unix hosts.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </listitem>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para><computeroutput>copyto</computeroutput>, which allows copying
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync files from the host to the guest (only with installed Guest
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync Additions 4.0 and later).</para>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <screen>VBoxManage copyto|cp <vmname>|<uuid>
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync <source on host> <destination on guest>
c7c82344f2d7b1d7e2117d778e29e8c1c4e1049evboxsync --username <name> --password <password>
c7c82344f2d7b1d7e2117d778e29e8c1c4e1049evboxsync [--dryrun] [--follow] [--recursive] [--verbose]</screen>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Absolute path of source file(s) on host to copy over
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync to the guest, e.g.
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <computeroutput>C:\Windows\System32\calc.exe</computeroutput>.
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync This also can be a wildcard expression, e.g.
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <computeroutput>C:\Windows\System32\*.dll</computeroutput></para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Name of the user the copy process should run under.
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync This user must exist on the guest OS.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Password of the user account specified with
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <computeroutput>--username</computeroutput>. If not given,
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync an empty password is assumed.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Tells VBoxManage to only perform a dry run instead of
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync really copying files to the guest.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
c7c82344f2d7b1d7e2117d778e29e8c1c4e1049evboxsync <glossentry>
241adddf415cbdf66230864a215b24415f482e72vboxsync <para>Enables following symlinks on the host's
241adddf415cbdf66230864a215b24415f482e72vboxsync source.</para>
c7c82344f2d7b1d7e2117d778e29e8c1c4e1049evboxsync </glossdef>
c7c82344f2d7b1d7e2117d778e29e8c1c4e1049evboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
241adddf415cbdf66230864a215b24415f482e72vboxsync <para>Recursively copies files/directories of the specified
241adddf415cbdf66230864a215b24415f482e72vboxsync source.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Additional flags to set. This is not used at the
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync moment.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </listitem>
241adddf415cbdf66230864a215b24415f482e72vboxsync <para><computeroutput>createdirectory</computeroutput>, which allows
241adddf415cbdf66230864a215b24415f482e72vboxsync copying files from the host to the guest (only with installed Guest
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync Additions 4.0 and later).</para>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <screen>VBoxManage createdir[ectory]|mkdir|md <vmname>|<uuid>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <directory to create on guest>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync [--username "<name>"] [--password "<password>"]
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync [--parents] [--mode <mode>] [--verbose]</screen>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <glossentry>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync </glossdef>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync </glossentry>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <glossentry>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <glossterm>directory to create on guest</glossterm>
241adddf415cbdf66230864a215b24415f482e72vboxsync <para>Absolute path of directory/directories to create on
241adddf415cbdf66230864a215b24415f482e72vboxsync guest, e.g. <computeroutput>D:\Foo\Bar</computeroutput>.
241adddf415cbdf66230864a215b24415f482e72vboxsync Parent directories need to exist (e.g. in this example
241adddf415cbdf66230864a215b24415f482e72vboxsync <computeroutput>D:\Foo</computeroutput>) when switch
241adddf415cbdf66230864a215b24415f482e72vboxsync <computeroutput>--parents</computeroutput> is omitted. The
241adddf415cbdf66230864a215b24415f482e72vboxsync specified user must have appropriate rights to create the
241adddf415cbdf66230864a215b24415f482e72vboxsync specified directory.</para>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync </glossdef>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync </glossentry>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <glossentry>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <para>Name of the user the copy process should run under.
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync This user must exist on the guest OS.</para>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync </glossdef>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync </glossentry>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <glossentry>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <para>Password of the user account specified with
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <computeroutput>--username</computeroutput>. If not given,
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync an empty password is assumed.</para>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync </glossdef>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync </glossentry>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <glossentry>
241adddf415cbdf66230864a215b24415f482e72vboxsync <para>Also creates not yet existing parent directories of
241adddf415cbdf66230864a215b24415f482e72vboxsync the specified directory, e.g. if the directory
241adddf415cbdf66230864a215b24415f482e72vboxsync <computeroutput>D:\Foo\Bar</computeroutput> does not exist
241adddf415cbdf66230864a215b24415f482e72vboxsync yet it will be created. Without specifying
241adddf415cbdf66230864a215b24415f482e72vboxsync <computeroutput>--parent</computeroutput> the action would
241adddf415cbdf66230864a215b24415f482e72vboxsync have failed.</para>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync </glossdef>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync </glossentry>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <glossentry>
241adddf415cbdf66230864a215b24415f482e72vboxsync <para>Sets the permission mode of the specified directory.
241adddf415cbdf66230864a215b24415f482e72vboxsync Only octal modes (e.g.
241adddf415cbdf66230864a215b24415f482e72vboxsync <computeroutput>0755</computeroutput>) are supported right
241adddf415cbdf66230864a215b24415f482e72vboxsync now.</para>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync </glossdef>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync </glossentry>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync <glossentry>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync </glossdef>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync </glossentry>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync </listitem>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync <para><computeroutput>updateadditions</computeroutput>, which allows
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync for updating an already installed Guest Additions version on the
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync guest (only already installed Guest Additions 4.0 and later).</para>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync <screen>VBoxManage guestcontrol updateadditions <vmname>|<uuid>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync [--source "<guest additions .ISO file to use>"] [--verbose]</screen>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync <glossentry>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync </glossdef>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync </glossentry>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync <glossentry>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync <glossterm>--source "<guest additions .ISO file to
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync use>"</glossterm>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync <para>Full path to an alternative VirtualBox Guest Additions
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync .ISO file to use for the Guest Additions update.</para>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync </glossdef>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </listitem>
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync <para>The "debugvm" commands are for experts who want to tinker with the
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync exact details of virtual machine execution. Like the VM debugger described
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync in <xref linkend="debugger" />, these commands are only useful if you are
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync very familiar with the details of the PC architecture and how to debug
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync software.</para>
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync <para>The subcommands of "debugvm" all operate on a running virtual
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync machine. The following are available:<itemizedlist>
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync <para>With <computeroutput>dumpguestcore --filename
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync <name></computeroutput>, you can create a system dump of the
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync running VM, which will be written into the given file. This file
7b45e137929ef8ecfd0d3446c64a588509931e56vboxsync will have the standard ELF core format (with custom sections); see
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync </listitem>
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync <para>The <computeroutput>injectnmi</computeroutput> command causes
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync a non-maskable interrupt (NMI) in the guest, which might be useful
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync for certain debugging scenarios. What happens exactly is dependent
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync on the guest operating system, but an NMI can crash the whole guest
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync operating system. Do not use unless you know what you're
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync doing.</para>
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync </listitem>
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync <para>The <computeroutput>statistics</computeroutput> command can be
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync used to display VMM statistics on the command line. The
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync <computeroutput>--reset</computeroutput> option will reset
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync statistics. The affected statistics can be filtered with the
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync <computeroutput>--pattern</computeroutput> option, which accepts
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync DOS/NT-style wildcards (<computeroutput>?</computeroutput> and
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The "dhcpserver" commands allow you to control the DHCP server that
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync is built into VirtualBox. You may find this useful when using internal or
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync host-only networking. (Theoretically, you can enable it for a bridged
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync network as well, but that will likely cause conflicts with other DHCP
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync servers in your physical network.)</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Use the following command line options:<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>If you use internal networking for a virtual network adapter
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync of a virtual machine, use <computeroutput>VBoxManage dhcpserver add
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync --netname <network_name></computeroutput>, where
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput><network_name></computeroutput> is the same
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync network name you used with <computeroutput>VBoxManage modifyvm
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <vmname> --intnet<X>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>If you use host-only networking for a virtual network adapter
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync of a virtual machine, use <computeroutput>VBoxManage dhcpserver add
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync --ifname <hostonly_if_name></computeroutput> instead, where
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput><hostonly_if_name></computeroutput> is the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync same host-only interface name you used with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage modifyvm <vmname>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync --hostonlyadapter<X>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Alternatively, you can also use the --netname option as with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync internal networks if you know the host-only network's name; you can
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync see the names with <computeroutput>VBoxManage list
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync hostonlyifs</computeroutput> (see <xref linkend="vboxmanage-list" />
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync above).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The following additional parameters are required when first adding a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync DHCP server:<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>With <computeroutput>--ip</computeroutput>, specify the IP
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync address of the DHCP server itself.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>With <computeroutput>--netmask</computeroutput>, specify the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync netmask of the network.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>With <computeroutput>--lowerip</computeroutput> and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--upperip</computeroutput>, you can specify the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync lowest and highest IP address, respectively, that the DHCP server
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync will hand out to clients.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Finally, you must specify <computeroutput>--enable</computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync or the DHCP server will be created in the disabled state, doing
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync nothing.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>After this, VirtualBox will automatically start the DHCP server for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync given internal or host-only network as soon as the first virtual machine
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync which uses that network is started.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Reversely, use <computeroutput>VBoxManage dhcpserver
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync remove</computeroutput> with the given <computeroutput>--netname
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <network_name></computeroutput> or <computeroutput>--ifname
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <hostonly_if_name></computeroutput> to remove the DHCP server again
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync for the given internal or host-only network.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>To modify the settings of a DHCP server created earlier with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage dhcpserver add</computeroutput>, you can use
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage dhcpserver modify</computeroutput> for a given
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync network or host-only interface name.</para>
241adddf415cbdf66230864a215b24415f482e72vboxsync <para>The "extpack" command allows you to add or remove VirtualBox
241adddf415cbdf66230864a215b24415f482e72vboxsync extension packs, as described in <xref
241adddf415cbdf66230864a215b24415f482e72vboxsync <para>To add a new extension pack, use <computeroutput>VBoxManage
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync extpack install <tarball></computeroutput>.</para>
241adddf415cbdf66230864a215b24415f482e72vboxsync </listitem>
241adddf415cbdf66230864a215b24415f482e72vboxsync <para>To remove a previously installed extension pack, use
241adddf415cbdf66230864a215b24415f482e72vboxsync <computeroutput>VBoxManage extpack uninstall
241adddf415cbdf66230864a215b24415f482e72vboxsync <name></computeroutput>. You can use
241adddf415cbdf66230864a215b24415f482e72vboxsync <computeroutput>VBoxManage list extpacks</computeroutput> to show
241adddf415cbdf66230864a215b24415f482e72vboxsync the names of the extension packs which are currently installed;
241adddf415cbdf66230864a215b24415f482e72vboxsync please see <xref linkend="vboxmanage-list" /> also. The optional
241adddf415cbdf66230864a215b24415f482e72vboxsync <computeroutput>--force</computeroutput> parameter can be used to
241adddf415cbdf66230864a215b24415f482e72vboxsync override the refusal of an extension pack to be uninstalled.</para>
241adddf415cbdf66230864a215b24415f482e72vboxsync </listitem>
241adddf415cbdf66230864a215b24415f482e72vboxsync cleanup</computeroutput> command can be used to remove temporary
241adddf415cbdf66230864a215b24415f482e72vboxsync files and directories that may have been left behind if a previous
241adddf415cbdf66230864a215b24415f482e72vboxsync install or uninstall command failed.</para>
241adddf415cbdf66230864a215b24415f482e72vboxsync </listitem>