/build/static/layout/Breadcrumb_cap_w.png
10/10/2018 164 views
hkxnUH.png
0 Comments   [ + ] Show comments

Comments


All Answers

0

I made a copy of the KACE shutdown script and changed the  -s (for shutdown) to -r (reboot)

Also there is a warning message prompt for the user and you can set that to whatever time you like.
Mine is set for 30 seconds [ /C shutdown -r -c "Reboot by administrator" -t 30 -d U:00:00 ]







Answered 01/22/2019 by: ogradyrw
White Belt

0
There is usually a default script on every KACE box to do just that title "Restart Machine" . You will need to enable the script, set the alerts and select a target for it to work.
Answered 10/11/2018 by: Hobbsy
Red Belt

0
  • C:\WINDOWS\system32\shutdown.exe -r

in a bat shutdown  /r

in a vbscript :
  • Option Explicit
    Dim objShell
    Set objShell = WScript.CreateObject("WScript.Shell")
    objShell.Run "C:\WINDOWS\system32\shutdown.exe -r -t 0"
Answered 10/11/2018 by: kwilson2099
White Belt