Windows Shutdown - shut down the computer with CMD
There are some programs that can work independently. But to prevent the PC or laptop from running permanently and consuming power, you can shut down Windows at a specified time. With CMD, the process works smoothly.
Shutdown: How to craft your timer for Windows
To use this feature, you need to know various batch commands. These are useful to create a custom timer:- Shutdown-s: Your computer will be shut down.
- Shutdown-r: Your PC will be shut down and the computer will restart afterwards.
- Shutdown-l: You will be logged out of Windows.
- Shutdown-a: The shutdown of your PC will be aborted.
- Batch command + -txx: The shutdown timer is t. The xx indicates the time in seconds. You can choose an unlimited time as long as you specify it in seconds.
- Batch command + -f: Forces all running applications to close without warning first.
This is how you enter a shutdown command in Windows
To enter a Windows shutdown command, you must first compose the command and then perform the following steps:- Open the Windows command prompt by executing the key combination of "WIN" + "R".
- Geben Sie in das Feld den Befehl „cmd.exe“ ein und bestätigen Sie die Eingabe.
- Es erscheint nun ein Eingabefeld, in das Sie Ihren Befehl eintragen.
- Sobald Sie die Eingabe bestätigen, ist der Befehl in Ihrem Windows-PC hinterlegt.