在我的SCVMM服务器中,事件中会记录以下错误。
由于错误0x80041003,在命名空间“//./root/CIMV2”中无法重新激活带有查询“SELECT * FROM __InstanceModificationEvent WITHIN 60 WHERE TargetInstance ISA”Win32_Processor“AND TargetInstance.LoadPercentage> 99”的事件过滤器。在问题得到纠正之前,无法通过此过滤器传递事件。
如何解决?
答案 0 :(得分: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