Home >Computer Tutorials >Troubleshooting >How to make the computer shut down automatically?
In the dead of night, when you are lying in bed and preparing to fall asleep, you find that your computer is still computing, consuming precious energy. How to make your computer shut down automatically so you don’t have to worry about it? Don't worry, PHP editor Zimo has brought you detailed solutions. This article will guide you step by step to set up the automatic shutdown function of your computer, allowing you to easily enjoy a time-saving and worry-free shutdown experience.
1. To set automatic shutdown, you can actually do it only from the system’s own functions, which is to enter the shutdown command in the run box. Open the Start menu and click Run. If it is not running, just press the keyboard shortcut to open it, win+r.
2. For example, if we want the computer to shut down after three hours, we can open the start menu, open the run box, enter shutdown -s -t 10800 in the run box and confirm. The 10800 here is the number of seconds in three hours, because the system memory shutdown time is calculated in seconds.
3. After clicking OK, a short black command box will appear, then disappear, and then a message will be displayed on the desktop tray, that is, the shutdown message, how many minutes will it take to shut down. Then this prompt box will disappear.
4. If you regret it midway, or it’s almost time to shut down, but you still have important work to do, open the run again, enter a command like shutdown -a during the run, and then click OK.
5. A black command box will still appear at this time, and then a message will be displayed on the tray that the planned task has been cancelled. This means that it will no longer shut down automatically when the time comes. If a prompt pops up when shutting down, that is, shutting down after dozens of seconds, you need to enter the cancel button again, because canceling once may not work. I don’t know if this is a bug or something.
6. If you want to shut down the computer at a specific time, you can also open the run box. For example, if I want to shut down the computer at 2:26 pm, then enter at 14:26 shutdown -s in the run box. command, click OK, and there will also be a prompt. It shows how much time will elapse before shutting down, and the cancellation method is the same as above.
7. Setting the shutdown through system commands is of course very simple, but it requires you to memorize some commonly used commands. Although these commands are not complicated, they are troublesome to enter every day. At this time, you can use software to complete automatic shutdown. operation. Download a software that automatically shuts down your computer. As shown in the picture. Click the timed circle above.
8. In the following time setting box, enter the time you want to shut down. After setting the shutdown time, click the Confirm Shutdown button below. The shutdown plan is set, and the system will shut down at the specified time.
9. The countdown status displays detailed information about system shutdown, including how much time is left to start shutting down.
Note: You need to know the shutdown plan you have set, so as not to have important work at hand unfinished or important data not saved in time when shutting down, which will result in more gain than loss.
1. I don’t know what player you are using. Most players can set a timer to shut down.
(such as Qianqianjingting, etc.) 2. Use other software to set automatic shutdown. (Such as 360 Health Wizard) 3. Enter the automatic shutdown command shutdow -s -t 3600 during operation (3600 represents time in seconds, that is, 1 hour)You asked the right person, this problem was solved just a few days ago
Write in notepad:
shutdown /s /f
Then save it as a "*.bat" file
Control Panel - - Scheduled tasks - Add new tasks - Browse and select this BAT file - Every day - Every day, check Show advanced properties after completion
Click "Plan" in the task properties dialog box that pops up after completion - Schedule task selection When it is idle, set the time to 30 minutes and that’s it
If you don’t want others to see it, just set its NTFS permissions
1. Find the "Computer" icon on the desktop.
2. Then select the icon with the mouse and select "Manage" from the right-click drop-down menu.
3. Find and click "Task Scheduler" in the computer management panel that pops up.
4. Then click "Create Basic Task" on the right side.
5. Then in the pop-up Create Basic Task Panel, enter the name and basic description of the task, and click Next.
6. Then select whether the task should be executed daily, weekly, or other options in the pop-up trigger, and then click Next.
7. Then enter the specific shutdown time and interval, and click Next.
8. In the operation panel, the default startup program is left untouched and click Next.
9. Find the system path in the startup program.
10. Find the shutdown.exe file and click Next.
11. Finally, check the name and description, shutdown time and startup program. If there are no errors, click Finish. The computer has been set to shut down automatically.
You can follow these steps to make your computer shut down automatically:
Open the Start menu and select the Settings or Control Panel option.
In the Settings or Control Panel window, select the System and Security or System option.
In "System and Security" or "System" options, select the "Power & Sleep" option.
In the "Power & Sleep" options, select the "Change plan settings" option.
In the "Change plan settings" option, select the plan you want to change and then select the "Change advanced power settings" option.
In the "Change advanced power settings" option, select the "Turn off your computer" option.
Expand the "Turn off your computer" option and find the "After turning off your computer" option.
In the "After shutting down computer" option, select the time you want (e.g. 5 minutes, 10 minutes, 30 minutes, etc.).
Click the "OK" button to save changes and close all windows.
Now, your computer will automatically shut down within the time you set. It should be noted that if you are performing certain tasks or operations before the computer is shut down, the system may prompt you to save unsaved work. Before automatically shutting down, make sure you have saved all important work and files.
You can use the Windows scheduled task function to shut down your computer automatically. The following are the specific steps:
Open Windows "Task Scheduler": Enter "Task Scheduler" in the Windows search bar, and then click to open the program.
Create a new scheduled task: In the Task Scheduler window, click the Create Task button in the left panel.
Configure the basic information of the task: In the "General" tab, enter the name and description of the task. Then, select the operating system to use and the user to run the task. Make sure the selected user has administrator rights.
Configure trigger: In the Trigger tab, choose when to launch the task. You can choose to run the task on a specific date and time, or after a specific event occurs.
Configure action: In the Actions tab, select the action you want to perform. In this example, select the "Start a program" action and enter "shutdown.exe" as the name of the program/script. Enter "/s" in "Add Parameter" to indicate the shutdown operation.
Configure other options: In the "Conditions" and "Settings" tabs, you can select other options, such as what to do after a failed startup task, the interval between task repetitions, and more.
Complete task creation: After completing the above steps, click the "OK" button to create the task. The scheduled task starts automatically until you manually stop it or delete the task.
Please note that before performing this operation, please make sure to save all important files and close all running programs to avoid data loss.
1. WIN7 system: Right-click a blank space on the desktop - select "Personalize" - click "Screen Saver" - click "Change Power Settings" - click "Change Plan Settings" - Set "Close" Monitor" and "Put computer to sleep", set the time to be the same as the screen saver setting time.
2. XP system: Click Start - Open Control Panel - Click Power Options - Set "Turn off monitor" and "System standby". The setting time is the same as the screen saver setting time.
Operation method:
1. Click on the computer software, then right-click and select "Manage", and then the computer management window will pop up, where we select "Task Scheduler".
2. Then a new screen will switch out on the right. We can see an option to "Create Basic Task Wizard", click on it.
3. Enter "Automatic shutdown" in both the name and description, and then click Next. In the trigger interface, select "Daily" and click Next.
4. Set "Interval", "Start Program", "Program and Script" according to your actual needs, and finally click "Finish" below.
How to force the computer to shut down at a scheduled time:
1. Click the spherical "Start" in the lower left corner of the computer, and then select "Control Panel" in the pop-up menu;
2. Select "Administrative Tools" in the open control panel program. ;
3. Select "Task Scheduler" in the management tool;
4. After "Task Scheduler" is opened, select "Create Basic Task..." in the operation list on the right to open the Create Basic Task Wizard;
5. In the "Create Basic Task Wizard" that opens, give this task a name and click the "Next" button on the lower right;
6. In the "Task Trigger" step, keep the default "Daily" unchanged, directly Click "Next" on the lower right;
7. Change the time to 23:20:00, which was 11:30 pm before;
8. In this step of operation, also keep the default selection of "Start Program" unchanged, directly Click the "Next" button;
9. In the "Start Program" step, under the program or script, find the program and click Next.
Automatic computer shutdown may be caused by power management settings, hardware failure, system errors or malware.
1. Check the power management settings: Open the control panel, make changes in "Power Options", and set the time for the computer to automatically shut down.
2. Detect hardware failure: Check the heat dissipation of the computer, whether the power cord connection is good, clean the radiator, etc.
3. Check system errors: Run the system's own fault detection tool to fix system errors.
4. Check for malware: Use anti-virus software to comprehensively scan your computer and remove malware.
1. Open the "Control Panel" and click "System and Security".
2. Select "Manage Power Plan" and select "Change Plan Settings" in the pop-up window.
3. In "Change advanced power settings", expand "Sleep" and "Shutdown" and set the automatic shutdown time you want.
If you need to cancel the automatic shutdown setting, open the "Control Panel", click "System and Security", select "Manage Power Plan", in the current Under the plan, select "Change plan settings" and then change the "After shutdown" option to "Never".
Through the above methods, you can easily understand the reasons why the computer automatically shuts down, and learn how to set and cancel automatic shutdown. Hope these methods can help you solve the problem of computer automatically shutting down.
Thank you for reading. I hope this article will help you solve the problem of automatic computer shutdown.
The above is the detailed content of How to make the computer shut down automatically?. For more information, please follow other related articles on the PHP Chinese website!