/build/static/layout/Breadcrumb_cap_w.png

Reboots with windows 7 scripted install

I've tried to delay the next item with some suggestions in the forums (ping commands, opening default programs) but rebooting during a post install with windows 7 is hit or miss. I don't have a K1 appliance (i'm working on mgmt). I mean it is rather crazy that you can't reboot with the number of program installs and drivers going into the scripted image. Has anyone had any success?

0 Comments   [ + ] Show comments

Answers (10)

Posted by: ngbrown24 13 years ago
Blue Belt
1
yes

reboot script:

/start wait Shutdown -r -f -t 60

then i do a dummy ping to delay the next post install task (i found it would start the next once before the reboot occured)

start /wait ping 127.0.0.1 -n 20
Posted by: ngbrown24 13 years ago
Blue Belt
1
also tried to reduce the reboot time from 1 or 10 seconds. same results. it works only part of the time
Posted by: ngbrown24 13 years ago
Blue Belt
1
With windows 7, you need to initiate a run once command after a reboot to guarantee that post install tasks kick off.
Posted by: CraigEmmottOLSH 13 years ago
Senior Yellow Belt
1
Do you mean the remaining post install tasks in the KACE GUI will continue to run after reboot, or do you mean that you have to create a run once command for each post install task to be done after reboot?
Posted by: ngbrown24 13 years ago
Blue Belt
1
Essentially I'm installing my applications, scripted events and file copies (including all the drivers I want to install) with kace post installs, then putting one run once command to point to a batch file that installs all the drivers after reboot.
Posted by: warmep 12 years ago
Third Degree Green Belt
1
I have a script that we've been working on that should help with tasks not waiting properly or not surviving reboots. Please shoot me a PM if you'd like to try it out.
Posted by: scottlutz 13 years ago
Orange Senior Belt
0
Crazy question, but have you tried a reboot as a PostInstallation task?
Posted by: CraigEmmottOLSH 13 years ago
Senior Yellow Belt
0
Thats what we have had to resort to as well. I hope there is an offical solution to this soon.
Posted by: jrscribner 13 years ago
Purple Belt
0
I'm a little confused as to how your doing this could you shed some light on it for me a little? Here is what my scripted install currently does postinstallation:
1. Basic Windows Applications Bundle (Adobe Reader, Flash, Shockwave, JRE, Firefox)
2. Change Workstation Name using WSNAME
3. Install Office 2010
4. Install K1000 agent
5. Reboot
6. Join Domain (Using a Powershell script)

I seem to get all the way to the reboot and sometimes it will join the other times it doesn't do I need to do something different?
Posted by: dogfish182 13 years ago
Orange Belt
0
jrscribner, I was having problems with the domain join as well and I discovered that it was because the powershell was running before the network was up and running, so it won't find the domain.

Put this in your powershell script before the domain join

Start-Sleep -s 20

(change the number to number of seconds you want) and it should join every time.
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