AnsweredAssumed Answered

Error Code 22:Failed to execute WMI query

Question asked by Ashish Singh on Nov 5, 2014
Latest reply on Dec 16, 2014 by Qsingh

Need help to resolve ,

 

Created a custom WMI Based control to check MaxLogSize for Application/Security/System Logs . for Majority of servers there are no issues , getting the expected result . For Few servers getting this error - Error Code 22:Failed to execute WMI query.

However WMI is enabled on those servers and i am able t o run the WMI Query Localy on these servers .

Querry - Select MaxFileSize from Win32_NTEventLogFile where LogFileName = 'Security'

Namespace - root\cimv2

 

Outcomes