Thursday, October 23, 2014

WMI Error 0x80041003 in Event Viwer while Windows Server 2008 startup


The error message in Event Viwer show as below:
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.


Here a script can fix this problem.
To run this script require administrator permission. Copy the script code are shown below
into fixwin7.vbs file, Then open the Command Prompt window as a Administrator and run this script file.

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
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
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''


Explorer crashes due MSVCR100.dll in Windows 7

Faulting application name: explorer.exe, version: 6.1.7601.17567, time stamp: 0x4d672ee4
Faulting module name: MSVCR100.dll, version: 10.0.40219.325, time stamp: 0x4df2bcac
Exception code: 0xc0000005
Fault offset: 0x000000000003c145
Faulting process id: 0x1be8
Faulting application start time: 0x01cf723c3fbeee54
Faulting application path: C:\Windows\explorer.exe
Faulting module path: C:\Windows\system32\MSVCR100.dll
Report Id: 825626cb-de2f-11e3-ab39-0026b904b93e


The synwinxt.dll of Synergy caused this issue reported before:

Solution:
go to the C:\Program Files\Synergy folder and rename the synwinxt.dll  to synwinxt.dll.bak