I need to add a computer account to a security group via a script post image. I have the script working, but the computer needs to be on the domain for the script to run.
The problem I'm having is in my imaging job, usually the last thing I run is an apply system config task which joins computer and dumps computer in right OU. This reboots the computer leaving it at the CTRL ALT DEL screen. If I add the script task after this, it never runs as if the agent isn't loading because no one is logged in.
I tried changing the Altiris Agent task to start automatically instead of on a delay, but it still times out.
I tried changing my imaging procedure so the deploy job has credentials to join the domain, but it doesn't join the domain, it stays in workgroup. I'm not sure why.
The task has to run as part of imaging because the security group is what allows computer to join wifi, it can't run later as part of some managed policies.
Any ideas? Should the agent not be checking for jobs at startup?
I'm 7.5 SP1 and latest hotfix.