WMI : Event 10 – Error 0x80041003.

Windows Management Instruction errors are the bain of my existance, several times a day I come across WMI errors in the office but now to top it off I come home to a nice relaxing night and am confronted with a slower loading machine.

Upon investigating the EventViewer (which can be access by typing eventvwr in the run bar) sit a red error and just look what appears next to it in the source….. WMI!

Screen Shot of WMI EventID 10

Screen Shot of WMI EventID 10

When exploring further in the general tab I am given the followin message:

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.


The details tab provides the following key points:

Provider Name= Microsoft-Windows-WMI
Guid= {1edeee53-0afe-4609-b846-d8c0b2075b1f}
EventSourceName= WinMgmt
EventID Qualifiers= 49152
EventiD= 10

This error is present when a user or program tries to access WMI with the incorrect permissions (according to microsoft) but what they do not like to highlight is that this can happen when WMI has become corrupt after installing Service Pack 1.


Fixing WMI Error 0x80041003 in Windows XP

To fix the following error please follow the following steps:

  1. Open notpad and save the file called WindowsFix – Event 10.vbs
  2. Copy the following into notepad
  3. strComputer = “.”
    Set objWMIService = GetObject(“winmgmts:” _
    & “{impersonationLevel=impersonate}!\\” _
    & strComputer & “\root\subscription”)

    Set obj1 = objWMIService.Get(“__EventFilter.Name=’BVTFilter'”)

    set obj2set = obj1.Associators_(“__FilterToConsumerBinding”)

    set obj3set = obj1.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 obj1.GetObjectText_
    obj1.Delete_

  4. Save the changes
  5. Run the file WindowsFix – Event 10.vbs

 

Fixing WMI Error 0x80041003 in Windows 7

To fix the following error please follow the following steps:

  1. Open notpad and save the file called WindowsFix – Event 10.vbs
  2. Copy the following into notepad
  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. Save the changes
  5. Run the file WindowsFix – Event 10.vbs
  6. Open an elevated command prompt (to do this follow the bullet points below)
  7. – Click on start
    – Click on Programs
    – Right-Click on Command Prompt
    – Choose run as administrator

  8. Drag the WindowsFix – Event 10.vbs file onto the elivated Command Prompt
  9. Run script by pressing enter
You can leave a response, or trackback from your own site.

Leave a Reply