Vmwareworkstation打开虚拟机失败,提⽰xxx.vmx⽂件不是有效的配置⽂件Vmware workstation打开虚拟机失败,提⽰xxx.vmx⽂件不是有效的配置⽂件
Cause :⾮正常关机造成vmx损坏,这个从⽂件⽬录中可以看到使⽤的.vmx⽂件已经空了,所以会打不开虚拟机.
修复步骤:
修复⽅法⼀
1. 使⽤vmware.log⽂件中的内容进⾏修复.
2. 打开vmware.log⽂件,其中⼤概是这样的.到DICT部分,⽐如下⾯的:
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT --- USER PREFERENCES C:\Users\Administrator\AppData\Roaming\VMware\preferences.ini 2016-03-28T21:45:37.118+08:00| vmx| I120: DICT unt = "1"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.hostMRU0.name = "localhost"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.unt = "1"
蜂巢剧院
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.unt = "2"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.window0.sidebar = "TRUE"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.window0.sidebar.width = "200"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.window0.statusBar = "TRUE"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.window0.tabs = "TRUE"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.window0.thumbnailBar = "FALSE"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.window0.thumbnailBar.size = "100"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.window0.thumbnailBar.view = "opened-vms"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.window0.placement.left = "0"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.p = "0"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.window0.placement.right = "1244"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.window0.placement.bottom = "860"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.window0.maximized = "FALSE"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.sharedFolder.maxNum = "1"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.sharedFolder0.vmPath = "/vm/#303002942e2a6b18/"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.sharedFolder0.guestName = "myfolders"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.sharedFolder0.hostPath = "F:\vmware\SAS unversity\SASUniversityEdition\myfolders"
罗拉个人资料2016-03-28T21:45:37.118+08:00| vmx| I120: DICT abled = "TRUE"读取配置文件失败
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.window0.tab0.dest = ""
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.window0.tab0.file = ""
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.pe = "home"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.window0.tab0.focused = "FALSE"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.window0.tab1.dest = ""
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.window0.tab1.file = "F:\vmware\Asianux\Asianux Server 3 64 位.vmx"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.pe = "vm"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT pref.ws.session.window0.tab1.focused = "TRUE"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT vmWizard.guestKey = "rhel6-64"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT vmWizard.installMediaType = "iso"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT unt = "1"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT vmWizard.isoLocationMRU0.location = "D:\迅雷下载\rhel-server-6.3-x86_64-dvd.iso"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT --- USER DEFAULTS C:\Users\Administrator\AppData\Roaming\VMware\config.ini
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT --- HOST DEFAULTS C:\ProgramData\VMware\VMware Workstation\config.ini
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT authd.client.port = "902"小说版权
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT authd.proxy.nfc = "vmware-hostd:ha-nfc"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT installerDefaults.autoSoftwareUpdateEnabled = "no"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT installerDefaults.autoSoftwareUpdateEnabled.epoch = "15397"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT installerDefaultsponentDownloadEnabled = "yes"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT installerDefaults.dataCollectionEnabled = "no"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT installerDefaults.dataCollectionEnabled.epoch = "15397"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT installerDefaults.dataCollectionEnabled.epoch = "15397"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT --- SITE DEFAULTS C:\ProgramData\VMware\VMware Workstation\config.ini
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT authd.client.port = "902"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT authd.proxy.nfc = "vmware-hostd:ha-nfc"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT installerDefaults.autoSoftwareUpdateEnabled = "no"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT installerDefaults.autoSoftwareUpdateEnabled.epoch = "15397"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT installerDefaultsponentDownloadEnabled = "yes"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT installerDefaults.dataCollectionEnabled = "no"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT installerDefaults.dataCollectionEnabled.epoch = "15397"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT --- NONPERSISTENT
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT vmx.stdio.keep = "TRUE"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT gui.available = "TRUE"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT --- COMMAND LINE
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT vmx.stdio.keep = "TRUE"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT gui.available = "TRUE"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT --- RECORDING
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT vmx.stdio.keep = "TRUE"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT gui.available = "TRUE"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT --- CONFIGURATION F:\vmware\RedhatLinux\Red Hat Enterprise Linux 6 64 位.vmx 2016-03-28T21:45:37.118+08:00| vmx| I120: DICT config.version = "8"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT virtualHW.version = "10"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT vcpu.hotadd = "TRUE"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT scsi0.present = "TRUE"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT scsi0.virtualDev = "lsilogic"
2016-03-28T21:45:37.118+08:00| vmx| I120: DICT sata0.present = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT memsize = "2048"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT mem.hotadd = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT scsi0:0.present = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT scsi0:0.fileName = "Red Hat Enterprise Linux 6 64 位.vmdk"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT sata0:0.present = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT sata0:0.fileName = "autoinst.iso"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT sata0:0.deviceType = "cdrom-image"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT sata0:1.present = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT sata0:1.fileName = "D:\迅雷下载\rhel-server-6.3-x86_64-dvd.iso"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT sata0:1.deviceType = "cdrom-image"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT ethernet0.present = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: tionType = "hostonly"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT ethernet0.virtualDev = "e1000"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT ethernet0.wakeOnPcktRcv = "FALSE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT ethernet0.addressType = "generated"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT usb.present = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT ehci.present = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT ehci.pciSlotNumber = "35"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT sound.present = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT sound.fileName = "-1"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT sound.autodetect = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT serial0.present = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT serial0.fileType = "thinprint"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT pciBridge0.present = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT pciBridge4.present = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT pciBridge4.virtualDev = "pcieRootPort"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT pciBridge4.functions = "8"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT pciBridge5.present = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT pciBridge5.virtualDev = "pcieRootPort"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT pciBridge5.functions = "8"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT pciBridge6.present = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT pciBridge6.present = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT pciBridge6.virtualDev = "pcieRootPort"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT pciBridge6.functions = "8"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT pciBridge7.present = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT pciBridge7.virtualDev = "pcieRootPort"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT pciBridge7.functions = "8"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT vmci0.present = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT hpet0.present = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT usb.vbluetooth.startConnected = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT displayName = "Red Hat Enterprise Linux 6 64 位"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT guestOS = "rhel6-64"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT nvram = "Red Hat Enterprise Linux 6 64 位.nvram"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT virtualHW.productCompatibility = "hosted"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT powerType.powerOff = "soft"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT powerType.powerOn = "soft"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT powerType.suspend = "soft"
2016-03-28T21:45:37.119+08:00| vmx| I120: set = "soft"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT extendedConfigFile = "Red Hat Enterprise Linux 6 64 位.vmxf"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT floppy0.present = "FALSE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT uuid.bios = "56 4d 41 da 43 3d 3a af-da 62 9e 8b 23 f4 cd 66"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT uuid.location = "56 4d 41 da 43 3d 3a af-da 62 9e 8b 23 f4 cd 66"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT replay.supported = "FALSE"
李琳老公
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT replay.filename = ""
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT do = ""
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT pciBridge0.pciSlotNumber = "17"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT pciBridge4.pciSlotNumber = "21"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT pciBridge5.pciSlotNumber = "22"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT pciBridge6.pciSlotNumber = "23"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT pciBridge7.pciSlotNumber = "24"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT scsi0.pciSlotNumber = "16"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT usb.pciSlotNumber = "32"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT ethernet0.pciSlotNumber = "33"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT sound.pciSlotNumber = "34"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT vmci0.pciSlotNumber = "36"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT sata0.pciSlotNumber = "37"
2016-03-28T21:45:37.119+08:00| vmx| I120: atedAddress = "00:0c:29:f4:cd:66"
2016-03-28T21:45:37.119+08:00| vmx| I120: atedAddressOffset = "0"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT vmci0.id = "603245926"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT vmotion.checkpointFBSize = "33554432"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT cleanShutdown = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT softPowerOff = "FALSE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT usb:0.present = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT usb:0.deviceType = "hid"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT usb:0.port = "0"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT usb:0.parent = "-1"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT usb:1.speed = "2"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT usb:1.present = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT usb:1.deviceType = "hub"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT usb:1.port = "1"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT usb:1.parent = "-1"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT tools.syncTime = "FALSE"
2016-03-28T21:45:37.119+08:00| vmx| I120: indInstall = "FALSE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT toolsInstallManager.updateCounter = "1"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT unity.wasCapable = "TRUE"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT checkpoint.vmState = "Red Hat Enterprise Linux 6 64 位-7ceca6d7.vmss"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT --- USER DEFAULTS C:\Users\Administrator\AppData\Roaming\VMware\config.ini
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT --- USER DEFAULTS C:\Users\Administrator\AppData\Roaming\VMware\config.ini
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT --- HOST DEFAULTS C:\ProgramData\VMware\VMware Workstation\config.ini
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT authd.client.port = "902"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT authd.proxy.nfc = "vmware-hostd:ha-nfc"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT installerDefaults.autoSoftwareUpdateEnabled = "no"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT installerDefaults.autoSoftwareUpdateEnabled.epoch = "15397"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT installerDefaultsponentDownloadEnabled = "yes"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT installerDefaults.dataCollectionEnabled = "no"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT installerDefaults.dataCollectionEnabled.epoch = "15397"
钉钉打卡分享到照片墙怎么取消2016-03-28T21:45:37.119+08:00| vmx| I120: DICT --- SITE DEFAULTS C:\ProgramData\VMware\VMware Workstation\config.ini
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT authd.client.port = "902"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT authd.proxy.nfc = "vmware-hostd:ha-nfc"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT installerDefaults.autoSoftwareUpdateEnabled = "no"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT installerDefaults.autoSoftwareUpdateEnabled.epoch = "15397"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT installerDefaultsponentDownloadEnabled = "yes"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT installerDefaults.dataCollectionEnabled = "no"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT installerDefaults.dataCollectionEnabled.epoch = "15397"
2016-03-28T21:45:37.119+08:00| vmx| I120: DICT --- GLOBAL SETTINGS C:\ProgramData\VMware\VMware Workstation\settings.ini
3. 截取其中的部分作为配置内容,具体的节点是DICT — CONFIGURATION之下到 DICT — USER DEFAULTS 之间的部分,不包括
两⾏。然后新建⼀个.vmx⽂件,内容的第⼀⾏写.encoding = “GBK”,其中GBK或者UTF8可以从log⽂件中搜到。
4. 重新启动虚拟机即可。
修复⽅法⼆
1. 观察⽬录下是否有同名的vmx⽂件,后⾯带了~,如果有的话就很简单。
2. 将.vmx⽂件删除,将后缀名为.vmx~的⽂件命名为.vmx即可。
3. 重启虚拟机