script to enable disable users in ou based on time
Having had a few issues were we have forgot to enable users accounts for controlled assessments, i am looking for a script solution.
I have created a few vb scripts that enable and ones that disable users in a certain OUs.
At the moment i am having to use the windows scheduler to set when the different scripts run. Just done this for tomorrow and it required setting up 6 ST's to enable & then disable the 3 groups. Not good when rsi interferes.
I could do with a script that will run continously in the background on our 2003 ad server and monitor the system clock and run one of the vbscript files that enable/disable the accounts at the required times.