Need advice on Run Script from Task Server task.
I've been working on a toolkit for SMP health and self remediation for a while. I'm stuck on a few areas but one I'd love to be able to resolve soon is we come across situations where a client machine (or sometimes even a site server) will not accept tasks. Generally this is due to some of the DLLs being unregistered, but sometimes the service just needs a restart.
I have a deecnt check in place for machines that are online but the agent doesn't run a task, and can then put these into a filter. The problem I would have in running a script to fix these machines using Altiris is that the agent won't run the script. The other way would be to have the script run from the task server but unfortunately that actually runs the script ON the task server. Can anyone think of a method where I can get the task server's agent to run something against it's managed clients? I also tried to leverage psexec through the altiris agent but it doesn't seem to like that.
We put a fix for this (the unregistered DLLs) in group policy ages ago but I can't rely on people to reboot their machines nearly often enough, so I'd like additional remediation through SMP.