2008年10月6日星期一

解决VMware启动故障

VMware启动时弹出对话框:

---------------------------
VMware Workstation Error
---------------------------
VMware Workstation unrecoverable error: (vmui)
Unable to create VmappPoll object: 没有注册类别. Reinstalling VMware Workstation may help.
A log file is available in "E:\temp\vmware-Victor.Woo\vmware-Victor.Woo-3912.log". A core file is available in "C:\Documents and Settings\Victor.Woo\Application Data\VMware\vmware-3912.dmp". Please request support and include the contents of the log file and core file.
To collect data to submit to VMware support, select Help > About and click "Collect Support Data". You can also run the "vm-support" script in the Workstation folder directly.
We will respond on the basis of your support entitlement.

---------------------------
确定
---------------------------

log里的内容是:

Oct 06 09:04:11.107: vmui| Msg_Post: Error
Oct 06 09:04:11.107: vmui| [msg.log.error.unrecoverable] VMware Workstation unrecoverable error: (vmui)
Oct 06 09:04:11.107: vmui| Unable to create VmappPoll object: 没有注册类别. Reinstalling VMware Workstation may help.
Oct 06 09:04:11.107: vmui| [msg.panic.haveLog] A log file is available in "E:\temp\vmware-Victor.Woo\vmware-Victor.Woo-3912.log". [msg.panic.haveCore] A core file is available in "C:\Documents and Settings\Victor.Woo\Application Data\VMware\vmware-3912.dmp". [msg.panic.requestSupport.withLogAndCore] Please request support and include the contents of the log file and core file. [msg.panic.requestSupport.vmSupport.windowsOrLinux]
Oct 06 09:04:11.107: vmui| To collect data to submit to VMware support, select Help > About and click "Collect Support Data". You can also run the "vm-support" script in the Workstation folder directly.
Oct 06 09:04:11.107: vmui| [msg.panic.response] We will respond on the basis of your support entitlement.
Oct 06 09:04:11.107: vmui| ----------------------------------------


经过一番查找,发现是3个dll的注册丢失了,而且这种现象连续3天出现。于是,写了一个批处理文件,需要的时候执行一下,万事大吉。

rem ----- repairvmware.bat -----
regsvr32.exe /s %ProgramFiles%\VMware\VMware Workstation\vmappsdk.dll
regsvr32.exe /s %ProgramFiles%\VMware\VMware Workstation\vmdbCOM.dll
regsvr32.exe /s %ProgramFiles%\VMware\VMware Workstation\vmnetBridge.dll

没有评论: