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
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)
Please log in to answer
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.