Hello,
A new clean install of Windows 7 Pro on Intel NUC i5/8GB. Trying to clear some event log errors.
I have one particular error:
Source: WMI Event ID: 10
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.
After Googling Reading I found references to fix this with a .vbs script... But they have 2 different scripts
I'm not sure if they are the same..?? I don't understand the code...
Any guidance welcome... Thanks
Fix Script 1
Fix Script 2
A new clean install of Windows 7 Pro on Intel NUC i5/8GB. Trying to clear some event log errors.
I have one particular error:
Source: WMI Event ID: 10
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.
After Googling Reading I found references to fix this with a .vbs script... But they have 2 different scripts
I'm not sure if they are the same..?? I don't understand the code...
Any guidance welcome... Thanks
Fix Script 1
Code:
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_
next
Fix Script 2
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
My Computer
- Computer type
- PC/Desktop
- Computer Manufacturer/Model Number
- Jetway Barebones
- OS
- Windows 7 Pro 64Bit
- CPU
- N3845
- Motherboard
- Jetway Barebones
- Memory
- 4GB
- Graphics Card(s)
- Onboard Intel
- Hard Drives
- Sata 120GB SSD