That’s it! Now, if you double click on the icon, Windows will initiate a minute countdown for your restart. Then type in the name of the program that is shutdown.exe and add desired operators, like we did above – like -r -f -t 60.Ĭlick Next and name the shortcut like Force Restart, or choose any other and click Finish. So, to create such a shortcut, right click on some free space on the desktop and choose. I personally have a force restart shortcut on all my computers and virtual machines on Windows, that I access remotely. And one more useful command here, in case you initiated the delayed shutdows by mistake, – shutdown -a will abort the timer.Īll these commands can also be converted to a shortcut or a button for quick initiation. If you would like just to logout your user in 10 minutes without force closing other windows, it will look like shutdown -l -t 600. If you want to restart your remote computer just right away no matter what programs are running there, the command will look like shutdown -r -f -t 0. This is the basics, just combine the operators according to your needs to get the desired result. This will initiate system shutdown ( -s) in 120 seconds ( -t 120) and all dialog windows like “save changes” dialogs will be ignored ( -f). Let’s say that you type in shutdown -s -f -t 120 to the command prompt here and click enter. There are two ways to initiate a delayed shutdown or restart – manually by means of command prompt or automatically by creating a shortcut that requires just a double click to fire.įor the first scenario, open the command prompt – press the combination of Windows + R, type in cmd and click OK. Well, the reasons may be different but the solution is the same. The timer will also help to restart a virtual machine or a remote computer, making sure that no other program will interrupt the process due to “save changes” dialogs. This may have happened because you left some huge application to download overnight or maybe you have some background job on your office PC and policy requires to shut it down when no one works on it. After setting the start time click next.I’m sure that at least once you faced the situation when you would need to set a shutdown or restart timer on your Windows PC while being out of reach. If any other period is set then after every interval the task of shut down will be done. If it is set as one- time event then at the scheduled time system will shut down that day. Then click next.ģ.Now set the time when the event will start. If you want to schedule the shut down at a particular time everyday or just one day select the option according to your convenience. Then click next.Ģ.Now choose the frequency of the task. Open the task scheduler from the search panel or navigate to Control panel->System and security-> Administrative Tools -> Task Scheduler.Select the Create Basic Task option under the Actions tab.Ģ.Give a name to the task like Automatic shutdown or auto shut down windows as you wish.We can schedule the task of shut down for any intervals like daily or once and set a time at which the task will be done.For this follow these steps. Using the task scheduler in our windows we can set options to automatically shut down our system. Create Scheduled auto shutdown Daily, weekly or Monthly Thus the scheduled shut down is cancelled. Now you can see the notification about cancelling the shut down. Type the command ” shutdown -a ” and click OK. Just open the Run window by pressing Windows+ R. How to Cancel Auto Shutdown command which you just setīut what if your plans have changed and you need to abort the shut down process scheduled. This will be shown as a notification in the task bar. Now your automatic shutdown is scheduled. So the system will shut down after 3600 seconds that is 1 hour. Here the meaning of different arguments used in the command are: Note: – In windows 8 and later versions ” shutdown /s /t 3600 /f ” can also be used. You can put your desired time in seconds to shutdown your windows 10 PC automatically after some time. 3600 in seconds means it will shut down itself after 3600 seconds. Note that if its not working you can also use shutdown -s -t 3600.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |