系统城

windows10系统下应用程序WMI报错的解决方法

发布时间:2017-02-24 09:59:43    浏览数:2124

现在,很多朋友都将电脑系统升级到了windows10正式版,不过他们在使用新系统时也会遇到一点问题。比如,windows10系统错误之应用程序错误WMI错误。接下来,小编就为大家分享下处理该错误的方法。

推荐:win10精简版下载

windows10系统

WMI错误提示:

{Event filter with query "SELECT * FROM __InstanceModificationEvent WITHIN 60 WHERE TargetInstance ISA "Win32_Processor" AND TargetInstance.LoadPercentage > 99" could not be reactivated in namespace "//./root/CIMV2" because of error 0x80041003. Events cannot be delivered through this filter until the problem is corrected.}

解决方法:

1、新建一个文本,更名为【解决WMI报错.vbs】。

2、右键编辑【解决WMI报错.vbs】,将以下代码复制其中保存即可。

3、

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

4、弹出的对话框直接确定就可以了。

windows10系统下应用程序WMI报错的解决方法就为大家介绍到这里了。方法并不复杂,有同样需求的朋友们,赶紧也动手操作一遍吧!

相关教程: WPS怎么设置多个页眉页脚 几个步骤教你 PPT2021怎么设置文件保存格式 操作方法 CorelDRAW怎么制作暗角效果 友玩陪玩APP怎么入驻 快加入陪玩大家庭 WPS软件文字中表格如何排序_这里教给你

相关阅读

手机版   |   电脑版
Copyright @ 2011 系统城 版权声明 最新发布内容
fetch('https://api.xitongcheng.com/api/flow/model/article/category_id/143/model_id/30755/admin_id/0/type/0/domain/mip').then(function (res) {})