Knowledge Base

Search the Knowledge Base: |
Search the Knowledge Base: |
Locating a hosted virtual machine's files
Purpose
This document guides you through the process of locating the files that comprise a virtual machine. These files include configuration files, log files, and virtual disk files.
Resolution
Locating VMware Workstation 6.x and VMware Server 1.x virtual machine files
- Select the virtual machine from the VMware application window
- Click Edit virtual machine settings.
- Click Options.
-
Click Advanced. Look at the bottom right of the Virtual Machine Settings window.
Note: If the path to the log file is blank, the log file is in the same location as the configuration file.
Locating virtual machine files on a Windows host
- Select Start>Run. The Run dialog appears.
- Type %userprofile% .
- Click OK to see the home directory.
To search the host hard drive:
-
Type the following and press Enter:
C:\>dir \*.vmx /s/p
This returns directory paths to all virtual machine configuration files. Based on the name of the virtual machine whose files you are looking for, use Windows Explorer to navigate to the location of the directory containing its .vmx file.
Locating virtual machine files on a Linux or Mac OS host.
To determine the default location of virtual machine files for the product in use:
-
In VMware Workstation or VMware ACE, the default location of virtual machine files is the directory /home/username/vmware , where username is the user who created the virtual machine.
-
In VMware Fusion, the default location of virtual machine files is the folder Virtual Machines in the Documents folder of the user who created the virtual machine. To access this when logged in as that user:
-
Click Go.
-
Click Home.
-
Double-click Documents.
-
-
In VMware Server, the default location of virtual machine files is the directory /var/lib/vmware/Virtual Machines .
-
Type the following and press Enter:
find / -name "*.vmx"
-
The results of step 2 list all virtual machine configuration files. Search the results for the name of a virtual machine file you are interested in locating. The results also list the path to the directory where these files are located.
For the location of the virtual disk files, access the directory where the configuration file ( .vmx ) is located. If there are no .vmdk files there or you suspect that there are not enough .vmdk files to account for the number of virtual disks for this virtual machine, edit the configuration file in a text editor. Search this file for all lines of text ending in .vmdk . Any virtual disks whose files are not located in the current directory have their full path listed on this line of text.
Feedback
- KB Article: 1003880
- Updated: Aug 14, 2009
- Products:
VMware ACE
VMware Fusion
VMware GSX Server
VMware Player
VMware Server
VMware Workstation

