
CHAPTER D The vmrun Utility
97
RC1
Note: Before running this command on a Windows host, you must do one of the following:
• Change your working directory to the VMware Server C API directory. For example:
c:\Program Files\Vmware\Workstation
• Add the VMware Server C API directory to the system path. On Windows 2000 and XP, this
setting is changed from:
Control Panels > System > Advanced > Environment Variables > System variables > Path
Examples for vmrun:
For example, type this command to start a virtual machine:
• In a Linux terminal:
vmrun start /usr/local/VMs/<virtual_machine_name>.vmx
• On the Windows command line:
vmrun start c:\My Virtual Machines\<virtual_machine_name>.vmx
Note: Vmrun may time out (fail) with virtual machines that require input through a VMware Server
C API dialog box. To disable Workstation dialog boxes, insert the following line into the .vmx
configuration file for a virtual machine:
msg.autoAnswer = TRUE