/build/static/layout/Breadcrumb_cap_w.png

How can I create a script to simply reboot a workstation?

I am just trying to restart a workstation by just creating a script and running the script.


0 Comments   [ + ] Show comments

Answers (3)

Answer Summary:
Posted by: jegolf 10 years ago
Red Belt
4

Kace has posted an article on this - check it out:

http://www.kace.com/support/resources/kb/solutiondetail?sol=SOL111291


Comments:
  • The key thing to note being the 90 second delay... - jegolf 10 years ago
    • I would recommend paying attention to this... - Nutcake17 7 years ago
Posted by: nshah 10 years ago
Red Belt
4

The easiest way is to take the pre-built script in the KBOX already (Shutdown a Windows system), open it, duplicate it and change the -s to a -r for reboot. 

Posted by: devious 10 years ago
Senior White Belt
0

The cmd to restart a computer is:

shutdown -r

The system will reboot after 1 minute.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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