1
0
-1

When attempting to audit a single computer. I am getting an error message: SWbemServicesEx: Provider Failure error (Line 1369)

See screenshots:

https://www.dropbox.com/s/iohv510mmx08p24/sshot01.jpg?dl=0

https://www.dropbox.com/s/937bsd2fzxpdt6p/sshot02.jpg?dl=0

 

    CommentAdd your comment...

    4 answers

    1.  
      2
      1
      0

      You might try the WMI Diagnosis Utility -

      http://www.microsoft.com/en-us/download/details.aspx?id=7684

      If you have Visual Studio installed you might try -

      https://msdn.microsoft.com/en-us/library/bb961987.aspx

      Failing both of those you can edit the script. Note the "on error resume next" and the "on error goto 0" lines. Those should force the script to skip that section if an error occurs.

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Definitely WMI issues on the system. Rebuilding WMI didn't work, but at least I know where the issue is. It appears to be only the SCSI provider. It's the only WMI Class I see that is failing.

         

        Thanks for your help

          CommentAdd your comment...
        1.  
          1
          0
          -1

          Running this on a Windows Server 2008 R2. WMI looks fine

           

          Please see attached code block requested...

           

            CommentAdd your comment...
          1.  
            1
            0
            -1

            Can you paste lines 1360 - 1380 from audit_windows.vbs so I can see the specific area causing the issue?

            In "my" audit_windows.vbs the line in question is

            Which should be present on all Windows PCs. If this is the same I'd guess your WMI is bad.

            http://blogs.technet.com/b/askperf/archive/2009/04/13/wmi-rebuilding-the-wmi-repository.aspx

              CommentAdd your comment...