Windows Server timed Restart task development

Source: Internet
Author: User

Windows Server timed Restart task development

"This article takes Windows Server R2 as an example"


The first step: write a restart step

is actually a sentence: shutdown/r

Other shutdown command references can be accessed using shutdown/?

Step two: Set up Task Scheduler

1. Start again-Find Task Scheduler in all apps

2. Expand the Task Scheduler library, where the task Scheduler is categorized, we find the System Manager class, under which we create the automatic restart Systems task

3. Select Create task on the right side of the window (you can also use the Create basic task, which is created as a wizard method)

4. General page for defining task names and user identities for performing tasks

5. The trigger page is used to define the conditions that trigger the task, and we define the time parameter here

6. The action page is used to select the footsteps we created earlier

7. Conditions and settings generally remain the default.


Step Three: Verify

According to the settings, verify that the system is restarted periodically;

System events can be filtered in the System Event Viewer, filtered by the EventLog event, event number 6013

This article is from the "brave" blog, make sure to keep this source http://brave8898.blog.51cto.com/289041/1966405

Windows Server timed Restart task development

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.