Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The solution to ID10,WMI error of Windows7 event

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Recently, the computer crashed frequently, which was found by checking the log. Event ID10,WMI error

To find a solution by searching, copy the following code to a text file, save it as "repair .vbs", and run it all the way to determine.

Code:

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

The cause of the problem:

This stems from the Windows 7 SP1 DVD / ISO creation process. There is a problem during the creation process that causes the WMI registration to remain in DVD / ISO. Because registration can only work during DVD / ISO creation, it cannot run on a real-time system and causes these events. These events do not represent any problems in the system and can be safely ignored. However, if you want to prevent the generation of these events and want to manually delete this particular WMI registration, follow the steps mentioned in this article to run the workaround script.

Original address https://support.microsoft.com/en-us/help/2545227/event-id-10-is-logged-in-the-application-log-after-you-install-service#FixItForMeAlways

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report