|
Moderator |
|
Joined: Tue Jan 25, 2005 3:09 am Posts: 2140 Location: Scotland
|
[quote="adavis"]i did that and what happend was it audited the main domain even though i had specified the school domain.
You will need to run the audit of both domains from machines that are members of the domain in question, this is because currently the audit is run as the current user, so obviously is sees only the domain the current user is in. I audit several domains, using a scheduled task which runs a batch file on a Domain Controller in each domain (it could just as easily run from a worksation provided the user running the scheduled task had sufficient rights in that domain).
The trick in my case is to copy the config file to a suitable location on each server along with a copy of the audit.vbs (actually my batch file goes and fetches the latest version from my development box, but that's not really necessary, so long as you are not changing anything in the audit.vbs file)
The batch file lives in c:\Program Files\OpenAudit on each DC along with audit.vbs and audit.config
The scheduled task runs C:\Program Files\OpenAudit\audit.bat and its working folder is C:\Program Files\OpenAudit
audit.bat looks a bit like...
[code] @echo off xcopy \\mydevelopmentbox\oa\scripts\audit.vbs .\audit.vbs /y cscript .\audit.vbs [/code]
Where \\mydevelopmentbox\oa is a share of the oa folder, readable by the user(s) doing the remote audits.
The task is set to run every 2 hours throughout the day
I may put all of this in a FAQ if you like, but I hope this points you in the right direction.
|
|