Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

My Subscriptions

Loading

Knowledge Base

Locating a hosted virtual machine's files (1003880)

Last Updated: 3/20/2024Categories: Total Views: 85748Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglish

55 like this article

Subscribe to get an email
newsletter with new updates

55 people found this helpful Please provide article feedback:

Purpose

This article guides you through the process of locating the files that comprise a virtual machine on a Windows or Linux host. These files include configuration files, log files, and virtual disk files.

For more information about this process on a Macintosh host, see Locating the virtual machine bundle in VMware Fusion (1007599).

Resolution

For reference, virtual machine log files are named vmware.log, configuration files have a .vmx extension, and virtual disk files have a .vmdk extension.

Determining the location of a virtual machine's files may differ between Windows and Linux hosts, depending on the VMware product being used and its version. Refer to the section that matches your product version and host operating system.

Note: For these procedures, results may not be possible unless you are logged in as a user with either Administrator rights, root access, or the user who created the virtual machine.

Locating VMware Workstation and VMware Server configuration and log files

For the location of the log and configuration files:

Select the virtual machine from the VMware application window

Click VM > Settings.

Click Options.

Click Advanced. Under File locations you will see Configuration and Log. You can find the files in those directories.

Note: If the path to the log file is blank, the log file is in the same location as the configuration file.

For the location of the virtual disk files, look in the directory where the configuration (.vmx ) file 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 .vmx file in a text editor. Search the file for all lines of text ending in .vmdk . Any virtual disk files that are not located in this directory have their full path listed on this line of text.

Locating virtual machine files on a Windows host

The default location for virtual machine files is the folder My Virtual Machines in the My Documents folder of the home directory of the user who created the virtual machines. If you are logged in as this user, you can:

Select Start>Run. The Run dialog appears.

Type %userprofile% .

Click OK to see the home directory.

If you are still unable to locate the virtual machine files, you must search the host hard drive for virtual machine configuration files.

To search the host hard drive:

Open a command prompt. For more information, see Opening a command or shell prompt (1003892).

Enter this command:

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.

For the location of the virtual disk files, look in 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 disk files that are not located in the current directory have their full path listed on this line of text.

Locating virtual machine files on a Linux 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 Server, the default location of virtual machine files is the directory /var/lib/vmware/Virtual Machines .

If you are still unable to locate the virtual machine files, you must search the host hard drive for virtual machine configuration files.

To search the host hard drive:

Open a shell prompt. For more information, see Opening a command or shell prompt (1003892).

Enter this command:

find / -name "*.vmx"

The results of this comand 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.

Related Information

Opening a command or shell prompt
Locating the virtual machine bundle in VMware Fusion
Ubicar archivos en una máquina virtual hospedada
Como localizar os arquivos de uma máquina virtual hospedada
查找托管的虚拟机文件
ホスト型仮想マシンのファイルを探す

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglish

Attachments

Additional Resources

KB
•
Verificação da integridade de arquivo da máquina virtual hospedada (1003846)

KB
•
ホストされた仮想マシンに対して十分なディスクの空き領域があることの確認 (1003856)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Workstation Player

VMware Workstation

VMware Server

VMware Player

VMware GSX Server

VMware ACE

Related Versions:

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant