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
Answers (3)
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
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
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
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
/C shutdown -s -c "Shutdown by administrator" -t 30 -d U:00:00 - rockhead44 10 years ago
Any other solutions other than creating a separate "machine connected" labels? - maredzki 10 years ago