When attempting to audit a single computer. I am getting an error message: SWbemServicesEx: Provider Failure error (Line 1369)
You might try the WMI Diagnosis Utility -
If you have Visual Studio installed you might try -
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.
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
Running this on a Windows Server 2008 R2. WMI looks fine
Please see attached code block requested...
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.