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 Schedule.
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.
Web Site: carysun.com
Blog Site: checkyourlogs.net
Blog Site: gooddealmart.com
Author: Cary Sun
Cary Sun is a Principal Consultant, He has a strong background specializing in datacenter and deployment solutions, and has spent over 20 years in the planning, design, and implementation of network technologies and Management and system integration.He hold CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1999.Cary is also a Microsoft Most Valuable Professional (MVP) and Cisco Champion, He is a published author with serveral titles, include blogs on Checkyourlogs.net, author for many books. Specialties: CCIE /CCNA / MCSE / MCITP / MCTS / MCSA / Solution Expert / CCA
http://www.carysun.com http://www.checkyourlogs.net http://gooddealmart.com