Set Timer Automatic Shutdown in Windows 11


 

In Windows 11, you can set an automatic shutdown timer using the Command Prompt or PowerShell. Here's how:

1. Open the Start menu by clicking on the Start button or pressing the Windows key.

2. Type "Command Prompt" or "PowerShell" in the search bar.

3. Right-click on either Command Prompt or PowerShell from the search results and select "Run as administrator." This will open the chosen command-line interface with administrative privileges.

4. In the command-line interface window, type the following command to set a shutdown timer in seconds:

   shutdown /s /t XXX

   Replace "XXX" with the number of seconds you want to set for the timer. For example, if you want to set a timer for 30 minutes, you would enter "1800" (30 seconds * 60 minutes).

5. Press Enter to execute the command.

6. After the specified time has elapsed, Windows 11 will automatically initiate a system shutdown.

If you wish to cancel the shutdown timer before it activates, you can use the following command:

1. Open the Command Prompt or PowerShell as an administrator again.

2. Type the following command:

   shutdown /a

3. Press Enter to execute the command.

This will cancel the scheduled shutdown, and your system will continue running normally.

No comments:

Post a Comment