Home >Common Problem >3 Ways to Set Up Automatic Shutdown in Windows 10/11

3 Ways to Set Up Automatic Shutdown in Windows 10/11

王林
王林forward
2023-05-01 22:40:053441browse

In a busy world, we want to automate things that you want to trigger on a regular basis or in a timely manner. Automation helps control tasks and reduces your effort in performing them. One of these tasks may be to shut down your computer. You may want your computer to shut down regularly, or you may want it to shut down at a specific time of day, or on specific days of the week, or you may want it to shut down all at once. Let's see how to set a timer so that the system shuts down automatically.

Method 1: Use the Run dialog box

Step 1: Press Win R, type shutdown -s -t 600 and click OK.

在 Windows 10 / 11 中设置自动关机的 3 种方法

Note: In the above command, 600 represents the time in seconds. You can change it as needed. It should always be in seconds, not minutes or hours.

Step 2: A prompt will pop up indicating that the computer will shut down at a specific time. Once the conditions are met, the system will shut down.

在 Windows 10 / 11 中设置自动关机的 3 种方法

Method 2: Use Command Prompt or Windows Powershell

Step 1: Press Win R, type cmd and click OK.

在 Windows 10 / 11 中设置自动关机的 3 种方法

Step 2: Type the following command and press Enter.

关机-s -t 600

在 Windows 10 / 11 中设置自动关机的 3 种方法

Note: In the above command, 600 represents the time in seconds. You can change it as needed.

Step 3: After the command is executed, the automatic shutdown task will be scheduled, and the shutdown will occur once the conditions are met.

Note: You can also use PowerShell to execute the above command. To open PowerShell, press Win R, type PowerShell, and click OK.

在 Windows 10 / 11 中设置自动关机的 3 种方法

在 Windows 10 / 11 中设置自动关机的 3 种方法

Method 3: Using Task Scheduler

Step 1: PressWin R , type taskschd.msc and click OK.

在 Windows 10 / 11 中设置自动关机的 3 种方法

Note: Clicking on the UAC (User Account Control) pop-up window opens Task Scheduler in .

Step 2: Click Create a basic task in the Task Scheduler window.

在 Windows 10 / 11 中设置自动关机的 3 种方法

Step 3: Provide Name and Description and click Next.

在 Windows 10 / 11 中设置自动关机的 3 种方法

Step 4: Select the task trigger point as needed and click Next. Here, I selected Weekly.

在 Windows 10 / 11 中设置自动关机的 3 种方法

Step 5: Select the time and date you want to shut down the system and click Next.

在 Windows 10 / 11 中设置自动关机的 3 种方法

Step 6: Select Start the program in task action and click Next.

在 Windows 10 / 11 中设置自动关机的 3 种方法

Step 7: Click the Browse button and go to the following folder and look for shutdown.exe.

C:\Windows\System32

在 Windows 10 / 11 中设置自动关机的 3 种方法

Select Shutdown.exe and click Open.

在 Windows 10 / 11 中设置自动关机的 3 种方法

Step 8: Now add parameters -s -t 600 and click Next.

在 Windows 10 / 11 中设置自动关机的 3 种方法

Step 9: Now it will display a summary of the tasks to be scheduled. After verifying the details, click Finish.

在 Windows 10 / 11 中设置自动关机的 3 种方法

Step 10: Now your tasks are scheduled. If you want to see scheduled tasks, click Task Scheduler Library and you will see your tasks in the list.

在 Windows 10 / 11 中设置自动关机的 3 种方法

Step 11: You can right-click it and you can disable or delete the task .

在 Windows 10 / 11 中设置自动关机的 3 种方法

The above is the detailed content of 3 Ways to Set Up Automatic Shutdown in Windows 10/11. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yundongfang.com. If there is any infringement, please contact admin@php.cn delete