Hi Everyone,

I am running into a problem with the Post Install Scripts, during a System Image Deploy. I have a series of post install tasks, that are supposed to run in succession.


1)Task - Change Computer name to match asset tag in BIOS (this one runs)
2)Reboot PC
3)Join Domain
4)Reboot PC
5)Add Wireless Profile.

Option 1 and 2 work. However when I log back into the PC, option 3 does not start. No errors displayed anywhere...nothing in event viewer that I can see, advising why it does not work.

At this point, I am stumped. I thought that each time I logged in with the Local Admin account, the Post Install tasks would pickup where they left off, until they were all finished.

Image Details - Windows 7 with SP1 Professional. Image has been sysprep'd (Generalize oobe).
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


Is your Wireless Profile AD integrated or just a wep/wsa key? If its the latter do it before domain joining, if it's the former put a RegKey in your Join and Name Domain to do it on first reboot after domain joining. KACE broke post installation with Windows 7, but they'll say it's MS' fault. The way batch files are handled by the registry are apparently different and they haven't taken the time to do "dynamic" batch files where the system would realize a reboot was being called and insert a reg key to pick up on the batch where it left off. It can be done, relativelysimply, but hasn't. I use the Name and Join Domain and use a RegKey in my Domain Joining .vbs script to run another script after the domain join bootup to change the default admin password as Win7 doesn't like the special characters we use in our Admin password during OS installation.
Answered 06/27/2011 by: dyehardfan
Second Degree Blue Belt

Please log in to comment
Can you provide more details on what you mean by RegKey? Assuming I need to put something in the registry...just not sure what.

Sounds like you put something in the script, so when the PC restarts, it begins running remaining tasks...however I am not a scripting guru (or windows 7 for that matter...hahahahaha) so some help on that would be great.

Thanks in advance.
Answered 06/28/2011 by: hutcha4113
Second Degree Blue Belt

Please log in to comment
Ok. The answer to this issue, was the reboot steps. I guess the Post Install tasks do not pick up again, after a machine is restarted (Thought they were all supposed to run).

I will have to change the order. Answer I got from support is to put everything I want done/installed first, and anything that requires a reboot last.

That seems to be working.
Answered 07/07/2011 by: hutcha4113
Second Degree Blue Belt

Please log in to comment