Gotcha! I dont think it ever worked the way it should, it just failed more gracefully before.
Seems that the script will continue after the domain audit, and ends up in limbo, presumably this is why I end up with the CPU hogged by a whole bunch of cscript and cmd processes.
jaydee, try adding wscript.quit round about line 475, i.e. change things to look like this.
[code]
num_running = HowMany
end if
Next
' Domain audit finished, so we quit the script
Echo("Domain Audit Completed")
Wscript.Quit
'
end if
'''''''''''''''''''''''''''''''''''
' Read the text file if requested '
' and audit PCs within - line '
' by line '
'''''''''''''''''''''''''''''''''''
[/code]
Let me know if this fixes it. (or update to the latest SVN version of the script, 'cos I have modified it as per the above). I will have to make this slightly smarter, (i.e. ensure the email is sent, hanging processes are all killed etc.) but it works for me.