/build/static/layout/Breadcrumb_cap_w.png

Reboots during Postinstallation Tasks

Thought I'd share something I needed to call support on yesterday, since one of my postinstallation tasks needed a reboot prior to running and by default the C:\KACE folder gets wiped on the final reboot. Currently no KB on this and I didn't see much here in the forums, so hopefully this can help someone.

John
_________________

Facilitate rebooting between postinstallation tasks without clearing C:\KACE folder during scripted install
_________________

Postinstallation Tasks

1) Reboot
2) Buffer for Reboot
3) Sleep

* Put tasks in this order prior to postinstallation task that requires a reboot prior to run/install.
_________________

1) Reboot

Name Reboot
Type BAT Script
Runtime Envir Windows

BAT Script shutdown -r -t 05 -f
_________________

2) Buffer for Reboot

Name Buffer for Reboot
Type BAT Script
Runtime Envir Windows

BAT Script ping loopback -n 60
_________________

3) Sleep

Name Sleep
Type Application
Runtime Envir Windows
File ksleep32.exe

Command Line ksleep32.exe 60


* note - separate EXEs for x86 and x64:

* for x86, copy ksleep.exe from \\ikbox\peinst\winpe_build\x86\windows\system32
and rename to ksleep32.exe prior to creating Postinstallation Task

* for x64, copy ksleep.exe from \\ikbox\peinst\winpe_build\amd64\windows\system32
and rename to ksleep64.exe prior to creating Postinstallation Task
_________________

solution provided by Gerald Mack
_________________

2011-12-21 - jv

0 Comments   [ + ] Show comments

Answers (0)

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