Results 1 to 2 of 2

Thread: Windows 7 Error: Event ID 10

  1. #1
    Administrator Lloyd_mcse's Avatar
    Join Date
    Jun 2008
    Location
    Sudbury, Suffolk
    Posts
    2,917

    Default Windows 7 Error: Event ID 10

    I noticed this error in the Event Viewer yesterday....

    Event ID 10 — Event Filter Query Functionality

    Cause
    This originated in the Windows 7 SP1 DVD/ISO creation process. There was an issue in the creation process that caused a WMI registration to remain in the DVD/ISO. Since the registration is designed to work only during the DVD/ISO creation process, it fails to run on a live system and causes these events. These events are not indicative of any issue in the system and can be safely ignored. If however you want to prevent these events from getting generated and want to remove this specific WMI registration manually, please follow the steps mentioned in this article for running the workaround script.

    A fix can be found here...

    http://support.microsoft.com/kb/2545227

    I created the Workaround.vbs detailed in the above link, which has stopped the error.

  2. #2
    Administrator Lloyd_mcse's Avatar
    Join Date
    Jun 2008
    Location
    Sudbury, Suffolk
    Posts
    2,917

    Default

    Let me fix it myself

    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

    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

    a. Click on start

    b. Click on Programs

    c. Right-Click on Command Prompt

    d. Choose run as administrator

    6) Change Directory to the one containing workaround.vbs: ( Example CD c:\users\%username%

    7) Run cscript workaround.vbs

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

    Note: There can be other reasons for Event ID 10 error messages, this only prevents the error message listed above from occurring.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •