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, Workstation saves the virtual machine package to a default location, which might vary.
Examples of the vmrun command include the relative path to the .vmx file instead of the absolute paths that follow.
-
C:\Users\<username>\Documents\Virtual Machines
-
C:\Users\<username>\Documents\Virtual Machines\Ubuntu\Ubuntu.vmx
Important: For
vmrun commands that require VMware Tools, install the latest VMware Tools package and, especially after operating system updates, keep VMware Tools up‐to‐date.