/build/static/layout/Breadcrumb_cap_w.png

Post Install Scripts - Issue

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.

Example:

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   [ + ] Show comments

Answers (3)

Posted by: dyehardfan 13 years ago
Second Degree Blue Belt
0
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.
Posted by: hutcha4113 13 years ago
Second Degree Blue Belt
0
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.
Posted by: hutcha4113 13 years ago
Second Degree Blue Belt
0
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ