Home > Article > Operation and Maintenance > How to shut down windows regularly?
How to schedule a shutdown of a Windows computer? Many friends may want to know this. In this article, we will share the steps to schedule a shutdown of Windows computers.
Method 1:
1. Click "Start" and enter cmd in "Search Programs and Files" below , and then continuously click the enter key to enter the administrator interface
Or press the shortcut key "win R" to open the running interface, and then click OK to enter the administrator interface
2. Enter the command shutdown -s -t 300 in the interface, where 300 means it will automatically shut down after 300 seconds.
If you want to cancel the scheduled shutdown, just enter the command shutdown -a
Method 2:
1. Right-click "Computer" on the desktop, click "Manage"
and then enter the following interface
2. Select "Task Scheduler" under System Tools -> "Task Scheduler Library"
and then click "Create Basic Task" on the right, the following pop-up window will appear
3. In the pop-up window, write "Automatic Shutdown" (any name) in the name, and click "Next".
4. Select "Once" (or others, select as needed) and click "Next".
#5. Determine the shutdown time. For example, the picture above is 13:46:19 on April 9, 2019. Click "Next".
#6. In this step, the default is "Start the program", click "Next".
7. Enter "shutdown" for the program or script, enter "-s" for the added parameter, and click Next.
8. After confirmation, click "Finish" to complete the setting.
The above is the detailed content of How to shut down windows regularly?. For more information, please follow other related articles on the PHP Chinese website!