12.0

Table Of Contents
Use the vmrun Utility
No configuration is needed to use the vmrun utility on a Mac OS X, OS X, or macOS host.
The vmrun utility is included with Fusion and ready to run in a terminal window.
Procedure
1 On your Mac, open a terminal window.
2 Run the vmrun command to list the command-line options.
Syntax of the vmrun Command
The vmrun command syntax can contain authentication flags, commands, and parameters.
The following syntax applies to the vmrun command.
vmrun [AUTHENTICATION-FLAGS] COMMAND [PARAMETERS]
Using Authentication Flags in vmrun Commands
You can use authentication flags in vmrun commands to provide information required to access a
system.
For example, you can use an authentication flag to specify the local host type because vmrun
commands apply to both VMware Workstation and VMware Fusion host types. You can also use
authentication flags to provide the credentials required to access encrypted virtual machines or a
guest operating system.
Authentication flags must appear before the command and command parameters.
The vmrun command supports the following authentication flags.
-T
hostType
-vp
encryptedVirtualMachinePassword
-gu
guestUser
-gp
guestPassword
Product Type
The -T flag is optional. When you run vmrun commands with Fusion, fusion is the default. Use the
-T flag for Fusion as follows.
vmrun -T fusion
Encrypted Virtual Machines
Encrypted virtual machines require a password for most operations.
-vp
encryptedVirtualMachinePassword
Using VMware Fusion
VMware, Inc. 192