Board logo

标题: [系统相关] wmic相关命令全部提示“未知wmic意外”,请问是怎么回事? [打印本页]

作者: zhouyongjun    时间: 2009-5-23 17:32     标题: wmic相关命令全部提示“未知wmic意外”,请问是怎么回事?

我电脑有关wmic的一切命令都不能用了,输入wmic process ,提示“未知wmic意外”,其他命令也如此。
我把我另一台电脑上C:\WINDOWS\system32\wbem\wmic.exe 拷过来覆盖这台电脑上同目录下及dllcache文件夹下的文件,仍然是同样问题。(另一台电脑wmic正常)
我在百度上搜索,搜到一条同样问题,但是没有答案。如果哪位知道请帮下忙,谢谢。
作者: zhouyongjun    时间: 2009-5-24 20:27

看来百度上要搜到两条没有答案的此记录了。
可能是我描述得不够详细,但是只提示“未知wmic意外”,没其他的报错,其他方面我实在不知道到哪里去看。
出现这种问题的原因可能太多了,我也不知道从哪里下手,就算大家不能确定是什么原因也希望可以给我指点下方向,说下可能的原因。
我现在想好好学下wmic知识,这个东东却不能用了,5~5~5~
作者: zhouyongjun    时间: 2009-5-30 12:31

我找到WMIC的日志文件,里面有错误信息,不过我看不懂,蛮烦大家帮我分析下原因
WMIC.LOG
  1. ERROR IWbemServices::GetObject(L"MSFT_CliAlias.FriendlyName='for'", 0, NULL, -) - FAILED! error# 80041002 05/23/2009 17:06:28:703 thread:1320 [d:\xpsp\admin\wmi\wbem\tools\wmic\cmdalias.cpp.241]
  2. ERROR command: for /?, Utility returned error ID. - FAILED! error# 44135 05/23/2009 17:06:28:703 thread:1320 [d:\xpsp\admin\wmi\wbem\tools\wmic\formatengine.cpp.429]
  3. ERROR IWbemServices::GetObject(L"MSFT_CliAlias.FriendlyName='jf'", 0, NULL, -) - FAILED! error# 80041002 05/23/2009 20:25:49:468 thread:3716 [d:\xpsp\admin\wmi\wbem\tools\wmic\cmdalias.cpp.241]
  4. ERROR command: jf, Utility returned error ID. - FAILED! error# 44135 05/23/2009 20:25:49:484 thread:3716 [d:\xpsp\admin\wmi\wbem\tools\wmic\formatengine.cpp.429]
  5. ERROR IWbemServices::GetObject(L"MSFT_CliAlias.FriendlyName='color'", 0, NULL, -) - FAILED! error# 80041002 05/23/2009 20:25:59:796 thread:3716 [d:\xpsp\admin\wmi\wbem\tools\wmic\cmdalias.cpp.241]
  6. ERROR command: color 3f, Utility returned error ID. - FAILED! error# 44135 05/23/2009 20:25:59:796 thread:3716 [d:\xpsp\admin\wmi\wbem\tools\wmic\formatengine.cpp.429]
  7. ERROR IWbemServices::GetObject(L"MSFT_CliAlias.FriendlyName='cls'", 0, NULL, -) - FAILED! error# 80041002 05/23/2009 20:26:04:890 thread:3716 [d:\xpsp\admin\wmi\wbem\tools\wmic\cmdalias.cpp.241]
  8. ERROR command: cls, Utility returned error ID. - FAILED! error# 44135 05/23/2009 20:26:04:890 thread:3716 [d:\xpsp\admin\wmi\wbem\tools\wmic\formatengine.cpp.429]
  9. ERROR command: , Utility returned error ID. - FAILED! error# 44001 05/30/2009 11:50:55:078 thread:1508 [d:\xpsp\admin\wmi\wbem\tools\wmic\formatengine.cpp.429]
  10. ERROR IWbemServices::GetObject(L"MSFT_CliAlias.FriendlyName='wmic'", 0, NULL, -) - FAILED! error# 80041002 05/30/2009 11:50:55:078 thread:1508 [d:\xpsp\admin\wmi\wbem\tools\wmic\cmdalias.cpp.241]
  11. ERROR command: wmic cpu get maxclockspeed /translate:basicxml /format:rawxml.xsl, Utility returned error ID. - FAILED! error# 44135 05/30/2009 11:50:55:078 thread:1508 [d:\xpsp\admin\wmi\wbem\tools\wmic\formatengine.cpp.429]
  12. ERROR command:  , Utility returned error ID. - FAILED! error# 44001 05/30/2009 11:50:55:078 thread:1508 [d:\xpsp\admin\wmi\wbem\tools\wmic\formatengine.cpp.429]
  13. ERROR command: , Utility returned error ID. - FAILED! error# 44001 05/30/2009 11:51:39:359 thread:1508 [d:\xpsp\admin\wmi\wbem\tools\wmic\formatengine.cpp.429]
  14. ERROR IWbemServices::GetObject(L"MSFT_CliAlias.FriendlyName='wmic'", 0, NULL, -) - FAILED! error# 80041002 05/30/2009 11:51:39:375 thread:1508 [d:\xpsp\admin\wmi\wbem\tools\wmic\cmdalias.cpp.241]
  15. ERROR command: wmic cpu get maxclockspeed /translate:basicxml /format:rawxml.xsl, Utility returned error ID. - FAILED! error# 44135 05/30/2009 11:51:39:375 thread:1508 [d:\xpsp\admin\wmi\wbem\tools\wmic\formatengine.cpp.429]
  16. ERROR command:  , Utility returned error ID. - FAILED! error# 44001 05/30/2009 11:51:39:375 thread:1508 [d:\xpsp\admin\wmi\wbem\tools\wmic\formatengine.cpp.429]
  17. ERROR command: , Utility returned error ID. - FAILED! error# 44001 05/30/2009 11:52:42:265 thread:1508 [d:\xpsp\admin\wmi\wbem\tools\wmic\formatengine.cpp.429]
  18. ERROR command: , Utility returned error ID. - FAILED! error# 44001 05/30/2009 11:52:42:937 thread:1508 [d:\xpsp\admin\wmi\wbem\tools\wmic\formatengine.cpp.429]
  19. ERROR command: , Utility returned error ID. - FAILED! error# 44001 05/30/2009 11:52:43:234 thread:1508 [d:\xpsp\admin\wmi\wbem\tools\wmic\formatengine.cpp.429]
  20. ERROR command: , Utility returned error ID. - FAILED! error# 44001 05/30/2009 11:52:43:390 thread:1508 [d:\xpsp\admin\wmi\wbem\tools\wmic\formatengine.cpp.429]
  21. ERROR command: , Utility returned error ID. - FAILED! error# 44001 05/30/2009 11:52:43:562 thread:1508 [d:\xpsp\admin\wmi\wbem\tools\wmic\formatengine.cpp.429]
  22. ERROR IWbemServices::GetObject(L"MSFT_CliAlias.FriendlyName='wmic'", 0, NULL, -) - FAILED! error# 80041002 05/30/2009 11:52:46:750 thread:1508 [d:\xpsp\admin\wmi\wbem\tools\wmic\cmdalias.cpp.241]
  23. ERROR command: wmic /?, Utility returned error ID. - FAILED! error# 44135 05/30/2009 11:52:46:750 thread:1508 [d:\xpsp\admin\wmi\wbem\tools\wmic\formatengine.cpp.429]
复制代码

作者: zhouyongjun    时间: 2009-7-10 22:55

前段时间这个问题突然好了,也不知道是什么原因
但是前几天GHOST还原系统后又出现这个问题了
真是晕死了~~~~(>_<)~~~~
现在百度,谷歌搜索“未知WMIC意外”我的问题都排到第一个去了。正如我2楼说的...
就没有哪位高手能帮忙解决吗?
作者: 愚无尽    时间: 2009-7-25 19:55

晕死啦,我也遇到同样的问题,不解中。。。




欢迎光临 批处理之家 (http://bbs.bathome.net/) Powered by Discuz! 7.2