/build/static/layout/Breadcrumb_cap_w.png

using kace 1000 to shutdown pcs

hello all

Hope someone can help me this issue i am having. since i upgraded my system to 5 .5, my reboot script stop working just checking if any of guys having this issue. i have tried 2 different scripts nonoe of them are working.


/C shutdown -r -f -c "Shutdown by administrator" -t 30 -d U:00:00

/C shutdown -r -f "Shutdown by administrator" -t 90 -d U:00:00

 

thanks

 

alex

 


2 Comments   [ + ] Show comments
  • My shutdown scripts are still working post-upgrade. I don't have a reboot script but, considering how close they are, it would seem to still work. Here's what I use:

    /C shutdown -s -c "Shutdown by administrator" -t 30 -d U:00:00 - rockhead44 10 years ago
  • I am having exact same issue where if a machine is off already the next time the machine is booted the script gets applied and shuts the machine down.

    Any other solutions other than creating a separate "machine connected" labels? - maredzki 9 years ago

Answers (3)

Posted by: jknox 10 years ago
Red Belt
1

Try adding CMD to your command. For example:

cmd /c shutdown -r -f -c "Shutdown by administrator" -t 30 -d U:00:00

I don't know if it would make a difference or not, but you might need to use "/" instead of the dashes in your command: http://ss64.com/nt/shutdown.html

/C shutdown -r -f -c "Shutdown by administrator" -t 30 -d U:00:00 - See more at: http://www.itninja.com/question/using-kace-1000-to-shutdown-pcs#sthash.pcG4quF4.dpuf
/C shutdown -r -f -c "Shutdown by administrator" -t 30 -d U:00:00 - See more at: http://www.itninja.com/question/using-kace-1000-to-shutdown-pcs#sthash.pcG4quF4.dpuf
/C shutdown -r -f -c "Shutdown by administrator" -t 30 -d U:00:00 - See more at: http://www.itninja.com/question/using-kace-1000-to-shutdown-pcs#sthash.pcG4quF4.dpuf
/C shutdown -r -f -c "Shutdown by administrator" -t 30 -d U:00:00 - See more at: http://www.itninja.com/question/using-kace-1000-to-shutdown-pcs#sthash.pcG4quF4.dpuf
/C shutdown -r -f -c "Shutdown by administrator" -t 30 -d U:00:00 - See more at: http://www.itninja.com/question/using-kace-1000-to-shutdown-pcs#sthash.pcG4quF4.dpuf

Comments:
  • We had to modify all our scripts and add "cmd /c" then they worked again after 5.5 upgrade - SMal.tmcc 10 years ago
    • i added the cmd /C shutdown -r -f -c "Shutdown by administrator" -t 10 -d U:00:00 to my script still not working - brighstarcuit 10 years ago
      • If you enable debug, do you get any kind of error message when the script runs? - jknox 10 years ago
Posted by: SMal.tmcc 10 years ago
Red Belt
0

this is the one we use at 11pm for the acad side


Comments:
  • substitute -r for -s and you have a reboot script - SMal.tmcc 10 years ago
    • thats the same one i was using still pcs are not rebooting i am not getting any run sucesses - brighstarcuit 10 years ago
Posted by: WGM_Jeff 10 years ago
4th Degree Black Belt
0

If this is the script you are running, the enabled box is not checked.


Comments:
  • Yea you are right
    It has been turned off for the last 2 weeks so we could do imaging and updates before classes start up for spring. - SMal.tmcc 10 years ago
    • SMal,

      We were using a nightly shutdown script in Kace very similar to yours but sometimes when users would start the computer the following morning the script would kick off like it was somehow queued on that machine and it would shut down. It was rare, maybe once a week, but this made us abandon the script. Just wondering if you've run into this at all. Thanks. - SDNBTP 10 years ago
      • no but these machines are all locked with deepfreeze so that may make a difference - SMal.tmcc 10 years ago
      • Thought of a way to solve your problem. Create a smart label "Machines are connected" using "Machine Connected" is "True" and apply the shutdown to that label. - SMal.tmcc 10 years ago
 
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