Windows7事件ID10,WMI错误的解决方法
2021-02-07 20:15
标签:adp support iso sso ext str put subscript log strComputer = "." Set objWMIService = GetObject("winmgmts:" 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 问题原因: Windows7事件ID10,WMI错误的解决方法 标签:adp support iso sso ext str put subscript log 原文地址:https://blog.51cto.com/shujuliu/2430510
通过搜索找到解决方法,拷贝以下代码到文本文件里,另存为扩展名为“修复.vbs”,并运行一路确定。
代码:
& "{impersonationLevel=impersonate}!\"
& strComputer & "\root\subscription")
这起源于Windows 7 SP1 DVD / ISO创建过程。创建过程中存在导致WMI注册保留在DVD / ISO中的问题。由于注册只能在DVD / ISO创建过程中工作,因此无法在实时系统上运行并导致这些事件。这些事件不表示系统中的任何问题,可以安全地忽略。但是,如果您希望阻止生成这些事件并希望手动删除此特定WMI注册,请按照本文中提到的步骤运行变通方法脚本。
原文地址https://support.microsoft.com/en-us/help/2545227/event-id-10-is-logged-in-the-application-log-after-you-install-service#FixItForMeAlways
文章标题:Windows7事件ID10,WMI错误的解决方法
文章链接:http://soscw.com/index.php/essay/52312.html