Event ID 10 is logged in the Application log after you install Service Pack 1 for Windows 7 or Windows Server 2008 R2

 

Event ID 10 is logged in the Application log after you install Service Pack 1 for Windows 7 or Windows Server 2008 R2


https://docs.microsoft.com/en-us/troubleshoot/windows-client/deployment/event-10-is-logged-in-application-log



Resolution

To resolve the issue, run a script to stop the Event ID 10 messages. To run the script, follow these steps:

  1. In Notepad, create a new document named Workaround.txt.

  2. Copy the following script into notepad:

    VB
    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
    
  3. Save the text as Workaround.vbs.

  4. Close Notepad.

  5. Open an elevated command prompt:

    1. Select Start.
    2. Select Programs.
    3. Right-click on Command Prompt.
    4. Choose run as administrator.
  6. Change Directory to the one containing workaround.vbs, for example, CD c:\users\%username%.

  7. Run the script workaround.vbs.

After running the script, the Event ID 10 errors related to this event should stop occurring. This script doesn't remove any of the existing entries in the Event log, they would need to be manually cleared out of the application event log.

Comments

Popular posts from this blog

Extracting and using a modified VMWare Player BIOS or UEFI firmware

Activate Synology Active Backup for Business for DSM 6

Windows 11 internet/account bypass