This bug was noted that it has been resolved and the cause of the issue when creating an wmi alert in MSDB ( SQL Server 2005), isMsg 22022, Level 16, State 1, Line 0SQLServerAgent Error: WMI error: 0x80041003.Msg 14511, Level 16, State 1, Procedure sp_verify_alert, Line 300The @wmi_query could not be executed in the @wmi_namespace provided. Verify that an event class selected in the query exists in the namespace and that the query has the correct syntax.I read the fix to this issue which is caused from a SQL Server having a name longer than 15 Characters. In my case this wasnt the cause of the problem.I can successfully create the WMI alert, IF the SQL agent is running as the local system account, but if try to create the alert when the SQL agent is running on a (domain level account with local admin access to the Server) it fails with the exact same errror above.To me it looks like there is authentication issue with WMI from the SQL agent account that is creating this issue.
Version
Category
Operating System