Open-AudIT
https://www.open-audit.org/phpBB3/

Audit Script Fails
https://www.open-audit.org/phpBB3/viewtopic.php?f=20&t=6395
Page 1 of 1

Author:  prenger745 [ Thu Jan 15, 2015 7:38 am ]
Post subject:  Audit Script Fails

I have used the script successfully on 370 Windows computers. The last five have been giving me fits. I physically went to the machine on these and start the script and it flashes up like it is starting but disappears almost instantly.

Is there anyway to find out what part of the audit is crashing out?

Thanks,
Dan

Author:  jpa [ Fri Jan 16, 2015 1:54 am ]
Post subject:  Re: Audit Script Fails

Start a cmd prompt, run the audit as below and report the output.
[code]cscript audit_windows.vbs[/code]

Author:  prenger745 [ Fri Jan 16, 2015 3:27 am ]
Post subject:  Re: Audit Script Fails

Thank you.

Here are the results:

audit_windows.vbs(377, 1) Microsoft VBScript runtime error: Class doesn't support Automation: 'GetObject'

Author:  prenger745 [ Fri Jan 16, 2015 6:48 am ]
Post subject:  Re: Audit Script Fails

I have only been able to run it on one of them so far but this is what I got back:




audit_windows.vbs(377, 1) Microsoft VBScript runtime error: Class doesn't support Automation: 'Get Object'


Thanks,
Dan

Author:  jpa [ Sat Jan 17, 2015 3:13 am ]
Post subject:  Re: Audit Script Fails

The script doesn't handle this failure well but it really shouldn't fail. Perhaps WMI is having problems on some machines.

[url=http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=7684]WMI Diagnosis Utility[/url]

Author:  prenger745 [ Wed Jan 21, 2015 4:40 am ]
Post subject:  Re: Audit Script Fails

Definitely something with WMI and what a rabbit-hole that is. I think for 2 machines, it might just be easier to re-image them.

Page 1 of 1 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/