How to schedule an automatic shutdown or restart in Windows

Configurare noua (How To)

Situatie

Sometimes you want your computer to shut down or restart at a specific time — for example, after downloads finish or during off-hours. You can easily schedule this with a built-in Windows tool.

Solutie

Method 1: Use the Run command to schedule a one-time shutdown

  1. Open Run
    Press Windows + R
  2. Type the shutdown command
    Type the following and press Enter:

    shutdown -s -t 3600
    

    -s means shutdown.
    -t means “time” in seconds.
    ➤ In this example, 3600 = 1 hour (60 minutes × 60 seconds).

    🕒 You can change 3600 to any number of seconds you want.

  3. A pop-up will confirm the scheduled shutdown
  4. Cancel it if needed
    If you change your mind, open Run again and type:

    shutdown -a
    

Method 2: Use Task Scheduler for recurring shutdowns or restarts

This is useful if you want the PC to shut down daily or weekly at a specific time.

  1. Open Task Scheduler
    Search for it in the Start menu.
  2. Create a basic task
    On the right, click Create Basic Task, name it something like Daily Shutdown, and click Next.
  3. Choose a trigger
    For example: Daily at 11:00 PM.
  4. Choose “Start a program” as the action
  5. In the “Program/script” box, type:
    shutdown
    
  6. In “Add arguments”, type:
    -s -f
    

    -f forces running apps to close.

  7. Finish the wizard
    Your PC will now shut down automatically at the scheduled time!

Tip solutie

Permanent

Voteaza

(12 din 19 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?