Home | Troubleshooting |  Quick Setup  |  Cisco How to  |  Data Recovery  |  Forums   | Blog | IT Exam Practice | Services  | About Us | Chicagotech MVP  | Search  | Contact Us  |                  Chicago Area Laptop for rent: $35 per day plus $10 for additional day

rental
 

 

How to schedule to restart a Windows server

in a case you want to restart a windows server at a certain time, you can use shutdown command plus Scheduled Tasks. Here are step by step:

1. Create a batch file called downtime.bat using notepad.

2. Add this line in the batch: shutdown -r -f -t 30  (note: -r = Shutdown and restart the computer, -f = Forces running applications to close without warning, -t 30 = Set timeout for shutdown to 30 seconds) and save the downtime.bat at C drive.

3. Open Scheduled Tasks by going to Start>All Programs>Accessories>System Tools.

4. Click Add Scheduled Tasks.

5. Browse the downtime.bat from C drive.

6. Follow the screen to setup the day and time.

7. Assign a user who has administrator rights and finish the settings.

Note: the shutdown options may different deepening on eth version of the shutdown command.

Related Topics

Shutdown options

Scheduled Tasks

Previous Page   Next Page
 

 


 

 

Hit Counter   This web is provided "AS IS" with no warranties.
Copyright © 2002-2018 ChicagoTech.net, All rights reserved. Unauthorized reproduction forbidden.