VM Virtual machine configuration file (. vmx) Corruption fix

Source: Internet
Author: User

Source://http://blog.csdn.net/houffee/article/details/18398603

VM Virtual machines use the. vmx file to save all hardware and software configurations for the virtual machine, and if accidental corruption occurs, a failure to open the virtual machine can occur with the following symptom: Open the. vmk file in the virtual machine directory with text viewing software found to be garbled (normal readable text, display configuration information in the virtual machine)


Repair method:
This method only applies if the. vmx file is damaged and other files are intact.
Example: the virtual machine name is XP, the virtual machine directory is E:\XP\, the configuration file name is XP.VMX (except the directory name is created for itself, the rest of the file name is the VM virtual machine automatically created)
1, delete xp.vmx (note Do not delete the wrong, the system default is not to display the extension of the method to display the extension of their own Baidu a bit)
2. Open E:\XP\vmware.log with Notepad
3, find "Jan 23:13:15.438:vmx| DICT---CONFIGURATION "segment (Front is date and time, do not seat)
4, start copying from the bottom line to "Jan 23:13:15.440:vmx| DICT---user DEFAULTS "the top line ends without duplicating '---CONFIG ' and '---USER DEFA '. Two lines)
5, create a new Notepad, paste the copied text
6. Remove the date-time flag from the front for example: "Jan 23:13:15.438:vmx| DICT config.version = 8 "
Leave only "config.version = 8" After removing the front flag
7, all modified according to the above format, and then give all lines of the character after the equal sign with double quotation marks (note Do not use the Chinese input method of double quotation marks)
For example: Config.version = 8 changed to Config.version = "8"
8, modify all the above formats.
9, confirm that the changes are correct, save as "virtual machine name. VMX", same as the original configuration name, for example XP.VMX
10. Open the Vmx file and turn on the virtual machine

VM Virtual machine configuration file (. vmx) Corruption fix

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.