I am attempting to script a few items to run when the agent first checks in and I'm not having much success. Reading the forums someone suggested using a template to schedule the procedures and this is what I've done. This morning I created a template and scheduled a procedure to occur. Sure enough when I installed the agent from this template the procedure executed, but once two hours had passed (beyond the window) the procedure doesn’t get applied to the new agent. I assume if I created a 365 day window the procedures would execute but there are no guaranties of the execution occurring immediately upon installation. I’m sure this is possible I’m just missing something obvious, any ideas?
Do you have Policy Management installed ... and do you require the script(s) to just run a single time only and never again ?