Files automatically shut down

Source: Internet
Author: User
You can set daily or daily ··
1. Run shutdown only once: Click Start → run → enter at XX: XX shutdown.exe-s in the displayed run dialog box (do not enter the quotation marks, XX: XX indicates the time when the instance is shut down. If you want to shut down at, change XX: XX to.) → press "OK" or press Enter.
Note: After the preceding commands are executed, the system automatically creates a task plan named "ATX" (X is a number) in the "Task Plan". After the scheduled shutdown, during the next boot, go to "task plan" and delete the "ATX" file. Otherwise, many files will be created frequently.
2. timed automatic shutdown at the same time every day: Running-s (with a space before-) → running mode (u) enter nt authority/System in the box after "→ select" enabled "in the lower left corner → select the" scheduler "Page → in" scheduled task (s) select "Daily"> enter the automatic shutdown time in the "Start time (T)" box → press "application () "," OK "button → close the" Task Plan "window. The computer will automatically shut down at the specified time every day.
Note: The default values of the system can be used for other projects except the one mentioned above.
Note: To enable "Task Scheduler", you must first confirm that the Task Scheduler Service has been started (automatically started by default). Otherwise, the "Task Scheduler" cannot be opened ".
A countdown window will appear at the time of shutdown and startup, with a countdown of 30 seconds. In this case, you only need to input shutdown.exe-A in the runtime dialog box if you want to cancel the instance at a time. In fact, remote shutdown can be implemented using the shutdown command, but to achieve remote shutdown, you must first enable the remote shutdown service and permissions on the remote system.
The procedure is as follows:
1. Click Start> Run. In the dialog box, enter gpedit. MSC and click OK to open the Group Policy Editor ".
2. on the left side of the "Group Policy Editor" window, choose "Computer Configuration> Windows Settings> Security Settings> Local Policies> User Rights Assignment ", in the window on the right, select Force shutdown from the remote system ". In the displayed dialog box, only members in the "Administrators" group have the right to remotely shut down the instance. Click the [add user or group] button at the bottom of the dialog box, in the displayed dialog box, enter "XXXXX" (Administrator account) and click [OK].
3. In the "Force shutdown from the remote system" attribute, a "XXXXX (name set by yourself)" user is added, and click [OK]. close the "Group Policy Editor" window. After performing the preceding operations on the workstations, we grant the "XXXXX" user of each computer the permission to remotely shut down the computer.

Finally, we use the shutdown command (or you can use this function to make it into a batch file ):
1. Click Start> Run. In the dialog box that appears, enter shutdown-I. The remote shutdown dialog box-remote shutdown control window is displayed.
2. Click the [tour] button to display the find computer dialog box.

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.