vmware 虚拟机长时间不用,恢复快照时出现如下错误:An error caused the restore operation to fail. Cancel the restore operation and correct the .....Discard...Cancel....
度娘没有解决,
然后Google,解决如下:
Locate the folder containing the file that comprise the Virtual Machine and then with VMware Workstation closed, or at the least the Tab for the target Virtual Machine in the VMware Workstation GUI closed, delete the following files: .vmss, .nvram and .lck files/folders.
Next edit the .vmx configuration file so the checkpoint.vmState option shows: checkpoint.vmState = ""
概括来说就是:
在虚拟机存放目录下找到.vmss,.nvram,和.lck 文件(夹),然后删除,
而后,用记事本编辑.vmx文件,将checkpoint.vmState 设置为:checkpoint.vmState = ""