/build/static/layout/Breadcrumb_cap_w.png

Reboot Script - User option to cancel

Would anyone know if there is a way to send a reboot command through Kace and give the option to the end user to delay and cancel the reboot if needed. It needs to be user friendly, haven't been able to find anything like that

0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: anonymous_9363 8 years ago
Red Belt
0

Top Answer

Google for 'shutdown hta'.

HTAs are easy to use as they're just HTML and VB Script/Javascript meaning that we can customise them to your heart's content.

Comments:
  • thansk for the info ! - python 8 years ago
Posted by: chucksteel 8 years ago
Red Belt
0
Create an online KScript and use the alert options like this:
Alert user before run - checked
Options: OK/Snooze/Cancel
Fill in the other fields as desired

Add a new task
Verify: Launch and application. 
Directory: c:\windows\system32
File: cmd.exe
Parameters: /C shutdown -r -c "System Restart" -t 5 -d U:00:00


Comments:
  • Thanks ! this works perfectly - python 8 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