Contents

Previous Next

VMrun Command Line Application
VMware Workstation includes a separate application vmrun for operating teams or virtual machines from the command line. To launch this application:
  • From the command prompt:
  • vmrun COMMAND [OPTION]
    Valid commands and options are described in the following table:
    Command
    Description
    Option
    list
    Lists all running virtual machines.
    None
    start
    Start a VM.
    Path to vmxf file
    stop
    Stop a VM or Team.
    Path to vmxf file (VM)
    or
    Path to vmtm file (Team)
    reset
    Reset a VM or Team.
    Path to vmxf file (VM)
    or
    Path to vmtm file (Team)
    suspend
    Suspend a VM or Team.
    Path to vmxf file (VM)
    or
    Path to vmtm file (Team)
    upgradevm
    Upgrades a virtual machine to the current workstation virtual hardware and disk formats. Upgrading allows the greatest compatability with the lastest Workstation features.
    Note: You must upgrade VMware Tools from within the guest operating system. See Install VMware Tools.
    Path to vmxf file
    For example
  • In a Linux terminal, you can type this command to start a team.
  • vmrun start /usr/local/VMs/team.vmtm
  • On the Windows commandline, type this command to start a team:
  • vmrun start c:\My Virtual Machines\team.vmtm
    Note: Vmrun may time out (fail) with virtual machines that require input through a VMware Workstation dialog box. To disable Workstation dialog boxes, insert the following line into the .vmx configuration file for a virtual machine:
    msg.autoAnswer = TRUE


    Previous Next

    © 1998-2004 VMware, Inc. All rights reserved.