I finally got my image up and running, but the company I just started at is using a different container to store their computers in AD. When I use the MachineObjectOU line in sysprep, it seems to join the domain properly, but I am not getting my login script. Any ideas on why that might happen?
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Login scripts are assigned to the user account or the OU the users are in. If the company is reorganizing its AD structure, then I would check (or have someone else check) to ensure that the scripts are assigned properly.

Startup scripts are applied to PCs or OUs with PCs in them. If you find a startup script is not running, you should again check to see if the AD reorganization has caused any changes with policies.

I'd also try manually adding a machine to the domain then moving its account into your target OU. See if the proper settings are applied then. If the scripts run when everything is done manually, then try troubleshooting the imaging process. In your case, I'd be more inclined to suspect that the problem is caused by the Active Directory changes than the imaging process.
Answered 05/25/2006 by: Dr. Soup
Senior Yellow Belt

Please log in to comment
Give us more details, buddy.
Are you running kix / vbs / dos scripts?
Are scripts logon or startup, as Dr Soup mentioned?
Are they assigned via user profiles, or through GPOs?
Are machines Win2K or XP?

Not getting login script = it never runs, or runs sporadically, or errors out, or runs invisible?
Answered 05/25/2006 by: revizor
Third Degree Blue Belt

Please log in to comment
The issue was that the MachineObjectOU line in sysprep never joins the domain properly for me. After testing it out I was able to log into the domain and manually map my drives, but in AD nothing was shown. Its like I wasn't there. I did a search and found out that I was in a workgroup still. I think that it was too funky so I ended up writing a VBScript to move the object to the right OU after sysprep. So far so good.

Thanks for your advice

On a different topic, Hardware Profiles are user based, but in the registry? I need to keep my wireless disabled when its docked and enable it when its not. I've narrowed it down to registry entries just wanted to confirm with you guys to see if that is true or not?
Answered 06/02/2006 by: TNguyen81
Senior Yellow Belt

Please log in to comment