4

在我的 SCVMM 服务器中,事件中记录了以下错误。

由于错误 0x80041003,无法在命名空间“//./root/CIMV2”中重新激活查询“SELECT * FROM __InstanceModificationEvent WITHIN 60 WHERE TargetInstance ISA“Win32_Processor”和 TargetInstance.LoadPercentage > 99”的事件过滤器。在问题得到纠正之前,无法通过此过滤器传递事件。

如何解决?

4

1 回答 1

8

从 Microsoft 尝试此解决方法。它实际上是一个很好的,并且带有对问题的“真实”解释。

总之,这是 ISO 创建过程中剩余的 WMI 注册,可以安全地删除。

对于 Windows 7,使用以下内容创建一个 .vbs 文件并从提升的命令提示符处执行它:

strComputer = "."

Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\subscription")

Set obj1 = objWMIService.ExecQuery("select * from __eventfilter where name='BVTFilter' and query='SELECT * FROM __InstanceModificationEvent WITHIN 60 WHERE TargetInstance ISA ""Win32_Processor"" AND TargetInstance.LoadPercentage > 99'")

For Each obj1elem in obj1

set obj2set = obj1elem.Associators_("__FilterToConsumerBinding")

set obj3set = obj1elem.References_("__FilterToConsumerBinding")

For each obj2 in obj2set

WScript.echo "Deleting the object"

WScript.echo obj2.GetObjectText_

obj2.Delete_

next

For each obj3 in obj3set

WScript.echo "Deleting the object"

WScript.echo obj3.GetObjectText_

obj3.Delete_

next

WScript.echo "Deleting the object"

WScript.echo obj1elem.GetObjectText_

obj1elem.Delete_

Next
于 2014-08-19T01:52:54.023 回答