I have been running into some trouble with offline reboots targeting laptops. The goal is for an example: "reboot Saturday morning at 6 am regardless if the device is connected to our k1000 or not. Now if you miss this reboot window (ex: device was asleep or hibernating), then reboot asap after the device is powered on."

I seem to not be able to force this kind of reboot at all with kace. I already know the script will work with an online script or via CMD, so it cant be the syntax of the commands. Just doesn't seems to pop as an offline script. Any ideas? xml of the script below

<?xml version="1.0" encoding="utf-8" ?>
<kbots xmlns="http://kace.com/Kbots.xsd">

<config name="!TEST- Reboot@ testing" type="job" id="1129" version="1516297757" description="testing reboot issues ">

<execute disconnected="true" logged_off="true">



<verify on_failure="break" attempts="1">

<file_exists path="C:\Windows\System32" file="shutdown.exe" />

<launch_program path="%WINDIR%\System32" program="shutdown.exe" wait="false" parms="/r /f /c &quot;Your device will reboot in 2 minutes to complete Microsoft updates. Please save your work now.&quot; /t 120" />
<log_message type="status" message="DOS reboot command excuted on system via kace" />

<log_message type="status" message="[ERROR] DOS reboot command unavailable." />






1 Comment   [ + ] Show Comment


  • What are your schedule settings?
    • I want to be able to set it on a Monday for the weekend when the reboots are needed. Not really on a schedule.
      But let's say I set it for "16 of February at 21:00"
      *allow run while disconnected
      *allow run without a logged-in user
      (I tried before with "run on next check-in", I dont think it worked. I also know now that this won't work until the device is live on the internal network and can talk to kace)
Please log in to comment

There are no answers at this time


Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja