当使用nogui参数,出现“unknown error"错误,并不起作用。从网上找来了处理的方法,经过在VMWARE6.0测试成功。
1. EXPORT from the registry the keys at and under "HKEY_LOCAL_MACHINESOFTWAREVMware, Inc.VMware Workstation"
2. in the exported copy, delete all the stuff under the sub-key "Dormant", "License.ws.5.0" and "License.ws.6.0.200610"
3. There won't be much left, but in what is left, change the word "VMware Workstation" to "vmrun"
4. Merge this back into the registry. This is not easy because for some reason I can't add stuff under the key "HKEY_LOCAL_MACHINESOFTWAREVMware, Inc.vmrun", so I renamed that to something handy "vmrun-old", then the merge worked fine.
Now I have 2 copies in the registry of my licensing information (bad) but at least the vmrun seems to have worked with the nogui option.
For information, the registry info that I merged in looks like this (note I have obscured the company name, user name, my license number, and a few other things, so this shows the principle rather than MY details!)
(NOTE - this crazy posting system has converted the standard registry syntax into some insane http: hyperlinked mess. I've spent the last 20 minutes trying to get it to display properly and given up in disgust.)
Windows Registry Editor Version 5.00
http://HKEY_LOCAL_MACHINESOFTWAREVMware, Inc.vmrun
"ProductCode"="{A3FF5CB2-FB35-4658-8751-9EDE1D65B3AA}"
"ProductVersion"="6.0.2.59824"
"InstallPath"="C:
Program FilesVMware
VMware Workstation"
http://HKEY_LOCAL_MACHINESOFTWAREVMware, Inc.vmrunDormant
http://HKEY_LOCAL_MACHINESOFTWAREVMware, Inc.vmrunLicense.ws.6.0.200610
"StartFields"="Cpt, ProductID, LicenseVersion, LicenseType, Epoch"
"Cpt"="COPYRIGHT (c) VMware, Inc. 1999-2007"
"ProductID"="VMware Workstation for Win32"
"LicenseVersion"="6.0"
"LicenseType"="User"
"Epoch"="2006-10-1"
"Hash"="has is obscured"
"Serial"="this has been obscured"
"Name"="my-name"
"CompanyName"="my-companyl"
"LastModified"="2008-02-08 @ 00:33:22 UTC"
http://HKEY_LOCAL_MACHINESOFTWAREVMware, Inc.vmrunvolatile
"UUIDHost"="i have obscure the UUID host as well"
Looking at the log files, it does appear that this HACK is imperfect because there are differences between the NOGUI options and the normal way of running it up. These are that some of the preferences are not being applied (eg total memory for all VM's running on the host), so whilst it works it might not deliver exactly what is expected.
[@more@]来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/21100044/viewspace-1019594/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/21100044/viewspace-1019594/
本文介绍了一种解决VMware使用nogui参数时出现未知错误的方法。通过修改注册表项并删除特定子键来修复问题,使nogui选项生效。此方法已在VMWARE6.0中验证可行。
8649

被折叠的 条评论
为什么被折叠?



