December 22, 2024
Picture1
Today, I am going to show you how to use task scheduler to schedule auto shutdown or reboot server.

Today, I ma going to show you how to use task scheduler to schedule auto shutdown or reboot server.

1.Login to Server and open Server Manager.

2.On the Server Manager, Click Tools and select Task Scheduler.

3.On the Task Schedule, Select Task Schedule Library.

4.Right-click Task Schedule Library, select Create Basic Task.

5.On the Create Basic Task page, type Auto Shutdown in the Name filed, click Next.

6.On the Task Trigger page, select when do you want the Task to start, in my case is One time, click Next.

7.On the One Time page, select the start date and time, click Next.

8.On the Action page, select Start a program, click Next.

9.On the Start a Program page, type C:\Windows\SysWOW64\shutdown in Program/script filed, type -s -t 20 in Add arguments (optional) field, Here -s is for Shutdown, “-t” is for Timing and after that the seconds are given, if you would like to do reboot server not shutdown, you just need to change -s to -r, click Next.

10.On the Summary page, click Finish.

Hope you enjoy this post.

Cary Sun

Twitter: @SifuSun

Web Site: carysun.com

Blog Site: checkyourlogs.net

Blog Site: gooddealmart.com

Author: Cary Sun

Cary Sun has a wealth of knowledge and expertise in data center and deployment solutions. As a Principal Consultant, he likely works closely with clients to help them design, implement, and manage their data center infrastructure and deployment strategies.
With his background in data center solutions, Cary Sun may have experience in server and storage virtualization, network design and optimization, backup and disaster recovery planning, and security and compliance management. He holds CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1999. Cary is also a Microsoft Most Valuable Professional (MVP), Microsoft Azure MVP, Veeam Vanguard and Cisco Champion. He is a published author with several titles, including blogs on Checkyourlogs.net, and the author of many books.
Cary is a very active blogger at checkyourlogs.net and is permanently available online for questions from the community. His passion for technology is contagious, improving everyone around him at what they do.

Blog site: https://www.checkyourlogs.net
Web site: https://carysun.com
Blog site: https://gooddealmart.com
Twitter: @SifuSun
in: https://www.linkedin.com/in/sifusun/
Amazon Author: https://Amazon.com/author/carysun