How to Set Auto Shutdown in Windows 10: There are scenarios in which you want the PC to turn off automatically and once such a scenario is when you’re downloading a large file or program from the Internet or installing a program that’s going to take hours then you probably want to schedule automatic shutdown because it would be totally a waste of time to sit that long just to manually turn off your PC.
Now, sometimes you also forget to shut down your computer. Is there any way to set auto shut down in 窗户10? Yes, there are some methods through which you can set auto shut down in Windows 10. There could be many reasons behind opting for this solution. However, the benefit is that whenever due to any reasons you forget to shut down your PC, this option will turn off your PC automatically. Isn’t cool? Here in this guide, we will explain various methods to get this task done.
How to Set Auto Shutdown in Windows 10
确保创建一个还原点,以防出现问题。
方法1 – Schedule Automatic Shutdown Using Run
1.按 Windows键+ R to launch Run prompt on your screen.
2.Type the following command into the run dialog box and hit Ener:
shutdown -s -t TimeInSeconds.
请注意: TimeInSeconds here refers to the time in seconds after which you want the Computer to shut down automatically. For example, I want to shut down my system automatically after 3分钟 (3*60=180 Seconds). For this, I will type the following command: 关机-S-T 180
3.Once you will enter the command and hit Enter or Press OK button, your system will shut down after that period (In my case, after 3 minutes).
4.Windows will prompt you about shutting down the system after the mentioned time.
Method 2 – Set Auto Shutdown in Windows 10 using Command Prompt
Another method is using the command prompt to set your computer to automatically shut down after a certain period. For that you need to follow the below given steps:
1.Open Command Prompt or Windows PowerShell with admin access on your device. Press Windows Key + X then select 命令提示符(管理员)。
2.Type the below command into cmd and hit Enter:
shutdown -s -t TimeInSeconds
请注意: Replace TimeInSeconds with the seconds after which you want your PC to shut down, for example, I want my PC to automatically shut down after 3 minutes (3*60=180 Seconds). For this, I will type the following command: 关机-S-T 180
Method 3 – Create a basic task in task scheduler for auto shutdown
1.First open “任务计划程序” on your device. Type “任务计划程序” 在 Windows 搜索栏中。
2.Here you need to locate 创建基本任务 选项然后 点击它。
3.In the Name box, you can type 关闭 as the task name and click on 下一步。
请注意: You can type any name and description you want in the field and click 下一步。
4.On the next screen, you will get multiple options to start this task: Daily, Weekly, Monthly, One time, When the computer starts, When I log on and When a specific event is logged. You need to select one and then click on 下一页 to move further.
5.Next, you need to set the Task 开始日期和时间 然后点击 下一步。
6.Choose “程序开始” option and click on 下一步。
7.Under Program/Script either type “C:WindowsSystem32shutdown.exe” (without quotes) or click on 浏览 after which you need to navigate to C:WindowsSystem32 and locate the shutdowx.exe file and click on it.
8.On the same window, under “添加参数(可选)” type the following and then click Next:
/s /f /t 0
请注意: If you want to shut down the computer say after 1 minute then type 60 in place of 0, similarly if you want to shut down after 1 hour then type 3600. Also, this is an optional step as you have already selected the date & time to start the program so you could leave it at 0 itself.
9.Review all the changes you did until now, then 勾选 “单击“完成”时打开此任务的“属性”对话框”,然后单击 完成。
10.Under General tab, tick the box which says “用最高权限运行“。
11.切换到 条件选项卡 然后 取消选中 “Start the task only if the computer is on AC power”。
12.Similarly, switch to the Settings tab and then 勾选 “错过计划启动后尽快运行任务“。
13.Now your computer will shut down at the date & time you selected.
Conclusion: We have explained three methods that you can implement to execute your task of letting your computer automatically shut down. Depending on your preferences, you can choose the method to Set Auto Shutdown in Windows 10. It is basically useful for the people who often forget to shut down their system properly. You can initiate the task by implementing any of the given methods.
推荐:
我希望这篇文章对您有所帮助,您现在可以轻松地 Set Auto Shutdown in Windows 10, 但如果您对本教程仍有任何疑问,请随时在评论部分提问。