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

Validating the .vmx settings of a virtual machine (1003748)

Last Updated: 3/20/2024Categories: Total Views: 49845Language:
Chinese (Simplified)English

5 like this article

Subscribe to get an email
newsletter with new updates

5 people found this helpful Please provide article feedback:

Symptoms

Virtual machine does not power on.

Virtual machine does not boot.

Error messages are seen when powering on a virtual machine.

Purpose

This article assists you in determining if a virtual machine's configuration (.vmx ) file contains settings that are preventing it from powering on or causing error messages to appear during the power on process. To correct the problem these settings can be removed or a new configuration file built.

Resolution

To determine if there is a problem with your virtual machine's configuration (.vmx ) file:

Warning: If you are using Lab Manager, VMware recommends that you do not follow this procedure. Doing so may result in harm to your virtual machine. Instead, undeploy the virtual machine and redeploy it.

Verify that you are logged in as a user with administrator rights or root privileges.

Locate the .vmx file for your virtual machine:

For ESX Server host:

With the Virtual Infrastructure Client (VI Client) connect to the ESX Server host that is managing the virtual machine or to VirtualCenter.

Right-click the entry for the virtual machine.

Click Edit Settings.

Click the Options tab.

If not selected, click General Options.

Look at Virtual Machine Configuration File.

Note: The location of the .vmx file displayed here takes the form [server:datastore] directory/vm.vmx . Interpret the full path to this file on a server as /vmfs/volumes/datastore/directory/vm.vmx .

For other VMware products, see Locating a hosted virtual machine's files (1003880).

Navigate to the .vmx file and view its contents. Confirm the following:

You are able to view the contents. If you cannot view the contents, confirm the permissions on the file. For more information about ESX Server host, see Investigating power on permissions for ESX virtual machines (1003739). For more information about other VMware products, see Investigating power on permissions for hosted virtual machines (1003847).

The contents are readable and do not appear to be cut off or missing information. If the contents are not readable or are cut off, restore this file from a backup or proceed to step 4.

The entries make sense. If you see an entry for a virtual device or setting that doesn't match what you expect, edit the settings for the virtual machine from the VMware products user interface. If what is observed in the user interface seems correct, remove the device and add it back again or change the setting to something else and change it back again. If you see an entry that doesn't make any sense at all, remove it.

Note: Before saving changes to the .vmx file back it up.

Create a new virtual machine that points to the same virtual disks:

Note: You cannot perform this task with VMware Workstation Player or VMware Player or an ACE Instance.

Back up your virtual machine by cloning it or copying all of the files in its directory somewhere else.

Delete the existing .vmx file.

Create a new virtual machine.

Choose Custom for the type of virtual machine.

When prompted by the wizard for the location of the virtual machine, pick the same location as the existing virtual machine.

Choose all of the same settings as for the original virtual machine.

Click Use an existing virtual disk when prompted for the disk. Browse to the location of the original virtual machine's .vmdk files.

Note: If the original virtual machine had more than one virtual disk, you must edit the new virtual machine after it has been created to add these back in again.

Power on the new virtual machine after it is created.

If the problem no longer occurs, confirm that everything is now working as expected, and delete the copy of the virtual machine.

Related Information

验证虚拟机的 .vmx 设置

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)English

Attachments

Additional Resources

No results for undefined

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 VirtualCenter

VMware vCenter Lab Manager

VMware Server

VMware Player

VMware GSX Server

VMware Fusion

VMware ESX Server

VMware Converter

VMware ACE

view all

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