In an older version of KACE, we were using a custom script by KACE (runonce converter) that would allow us to set multiple reboots during post-install tasks (some software requires this and we run into some issues with certain software). I'm having problems with it in 3.6, and recall reading something last week somewhere that mentioned 3.6 allows for easy reboots. 

What is the best way to go about this, and have post-install tasks continue where they left off after reboot?

 

Answer Summary:
We haven't updated our K2000 to 3.6 yet, but my understanding is, if you go and edit the task itself, there is a new option - "Reboot required" - that you can check. Also, my understanding is that with the new Task Engine you don't need the PostInstall Task Converter anymore either.
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0

We haven't updated our K2000 to 3.6 yet, but my understanding is, if you go and edit the task itself, there is a new option - "Reboot required" - that you can check. Also, my understanding is that with the new Task Engine you don't need the PostInstall Task Converter anymore either.

Answered 02/24/2014 by: BHC-Austin
Fourth Degree Black Belt

  • Ha. beat me to it. Sorry for essentially posting the same thing.
Please log in to comment
0

I haven't had an opportunity to test this yet because we too just upgraded to 3.6. If you go into the post install task, I saw where there was a 're-boot required' checkbox. I will be interested to know if this does what you need.

Answered 02/24/2014 by: Kevino2010
Senior Purple Belt

Please log in to comment
0

Post Install Task Converter should not be used with 3.6.

The checkbox to which you are referring will take care of a reboot for you, you just need to make sure that your autologin count matches how many reboots you need.

Corey
Lead T3 Enterprise Solutions Consultant, K2000

 

Answered 02/24/2014 by: cserrins
Red Belt

  • ... so much for me hoping it would automatically add the autologin, which is what my scripts would do, example:

    Reboot Task
    REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V AutoAdminLogon /T REG_SZ /F /D "1"
    REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V AutoLogonCount /T REG_DWORD /F /D 1
    shutdown /f /r /t 5
    taskkill /f /IM runonce.exe
    start /wait ping 127.0.0.1 -n 30


    I suppose I could move the Registry lines to the end of the the command which needs the reboot, or otherwise will have to double check the config section for autologin count is exactly right.

    I'm guessing my current ones won't work as it's not runonce.exe being used now is it? Although... from task manager runonce is there... maybe I need to kill runonce and then taskengine.exe ?
    What does the reboot required checkbox actually do? Same as my task above?
Please log in to comment
Answer this question or Comment on this question for clarity