11.0

Table Of Contents
-gu
guestUser
-gp
guestPassword
Running vmrun Commands
The vmrun commands have syntax and other requirements that you must follow.
Path to VMX File
VMware stores virtual machines as a package that includes the virtual machine settings file,
filename
.vmx, and the virtual disks.
When required, you must provide the path to the .vmx file. The examples that follow are of default paths
to Windows and Linux virtual machine for Mac OS X, OS X, or macOS.
Unless you specify a file location for a virtual machine when you create it, Fusion saves the virtual
machine package to a default location, which can vary. See Default File Location of a Virtual Machine.
Examples of the vmrun command include the relative path to the .vmx file instead of the absolute paths
that follow.
n
your home directory
/Virtual\ Machines.localized/Win10.vmwarevm/Win10.vmx
n
your home directory
/Virtual\ Machines.localized/Ubuntu16.vmwarevm/Ubuntu16.vmx
Important For vmrun commands that require VMware Tools, install the latest VMware Tools package
and, especially after operating system updates, keep VMware Tools uptodate.
Disabling Dialog Boxes
To prevent the vmrun utility from failing when you provide user input through a dialog box, you can disable
dialog boxes.
The vmrun utility might time out and fail when you use the utility on a virtual machine that requires user
input through a dialog box.
To disable dialog boxes, insert the following line in the virtual machine configuration file, the .vmx file.
msg.autoAnswer = TRUE
Syntax of vmrun Commands
The vmrun commands are divided into function categories.
The following tables list vmrun commands and parameters for Fusion according to their function.
Parameters are listed one per line. Parameters enclosed in square brackets are optional. The vertical bar
indicates a keyword choice.
Using VMware Fusion
VMware, Inc. 186