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