Connect with us

    Hi, what are you looking for?

    Tech

    How to program Windows to shut down by itself

    How to program Windows to shut down by itself

    Program your operating system Windows to turn off automatically can be a useful task in several situations. This can be especially useful if you often leave your computer running long tasks, such as downloads, updates, or backup processes, and want to save energy or avoid leaving your computer on unnecessarily for long periods of time. In this article, you will learn how to configure Windows to automatically shut down at a specific time using “Task Scheduler”.

    Step 1: Opening Task Scheduler

    “Task Scheduler” is a powerful Windows tool that allows you to automate various actions, including shutting down your computer at scheduled times. Follow the steps below to access it:


    Press the Win + R keys on your keyboard to open the “Run” dialog box.

    type it taskschd.msc in the dialog box and press Enter or click “OK”. This will open the Windows Task Scheduler.

    Step 2: Creating a New Task

    Now that you’re in Task Scheduler, follow these steps to create a new task that will schedule Windows to shut down:

    In the left pane of Task Scheduler, navigate to “Task Scheduler Library” and right-click on it.


    In the context menu that appears, choose “Create Basic Task…”.

    This will open the Create Basic Task Wizard. Follow the instructions in the wizard to configure the task:

    On the first screen, give your task a name (e.g. “Auto Shutdown”).
    Then add an optional description for the task.
    Click “Next” to proceed.

    Step 3: Configuring Task Triggering

    Now you must configure when and how the task will be executed:

    Choose the “Daily” option if you want the automatic shutdown to occur every day at a specific time. Other options such as weekly or monthly are also available depending on your needs.


    Click “Next” and specify the date and time you want the automatic shutdown to occur. Make sure you enter the time correctly, using the HH:MM format.

    On the next screen, select the “Start a program” option and click “Next”.

    Step 4: Configuring the Shutdown Action

    Now, you must configure the action that will be performed when the task is triggered:

    In the “Program/script” field, enter the following command: shutdown.


    In the “Add arguments (optional)” field, enter the following argument to shut down your computer immediately: /s /f /t 0. This command will force Windows to shut down after a delay of 0 seconds.

    Click “Next” and review the task settings.

    Step 5: Completing the Setup

    The last step allows you to review all the settings you have configured for the task. Make sure everything is correct and click “Finish” to create the task.

    Step 6: Testing the Task

    To test the task and ensure it works as expected, follow these steps:


    Go back to Task Scheduler.

    In the left pane, expand the “Task Scheduler Library” folder and right-click the task you just created.

    From the context menu, choose “Run”.

    This will perform the task and your computer should shut down automatically.

    Step 7: Additional Settings (optional)

    If you want to configure the task to shut down the computer at a different time or with specific actions, you can edit it at any time in Task Scheduler. Just right-click on the task and select “Properties”.

    Generally speaking, having Windows automatically shut down at a specific time is a convenient way to save energy and automate recurring tasks. Task Scheduler is a powerful tool that allows you to configure automation tasks such as automatic shutdown. Be sure to use this functionality carefully and according to your needs, preventing the system from turning off unexpectedly during use. With the steps outlined in this article, you can easily set Windows to shut down on its own according to your preferred schedule.

    Photo by Andrea Piacquadio

    Written By

    My name is Juan de Souza, a 25-year-old entrepreneur, investor, blogger, and streamer. My journey in business began at the age of 10, leveraging a dial-up internet connection in Brazil to start my first venture. Currently, I reside in Porto, Portugal, where I have been based since 2025.

    Comments
    Advertisement

    Join Our Discord Server

    Advertisement
    Advertisement

    Recommended Posts for You

    HeartstopperHeartstopper

    LGBTQIA+

    Check out the full review of Netflix's Heartstopper series and find out if the Heartstopper series delivers everything it promises in full!

    Cinema

    “One of the most memorable cartoons of the 20th and 21st centuries. Its story, characters and writing are utterly captivating. “Little Bear” is known...

    Curiosities

    Super Mario World, also known as “Super Mario Bros. 4” in Japan, is without a doubt one of the most popular games of all...

    Cinema

    “Courage the Cowardly Dog” tells the story of Courage, a dog who’s easily scared and lives on a farm with Muriel and Eustace Bagge...

    Cinema

    Who doesn’t know this epic cartoon from Hanna-Barbera, Wacky Races, where eleven competitors vied in every episode for the world title of “World’s Wackiest...

    Cinema

    Sagwa, one of the best cartoons still airing on the Futura channel. In fact, all the shows on Futura are excellent. It tells the...

    Cinema

    “Do you remember the classic cartoon Timon and Pumbaa? It’s an animated TV series produced by Walt Disney Animation, starring the warthog and meerkat...

    Cinema

    At the end of the 1930s, animation was at its peak. It was called the “Golden Age” by many film enthusiasts, where classic characters...

    Cinema

    Woody Woodpecker, one of the most beloved characters of all time. Adored by children, teenagers, and adults alike. The show itself dates back to...

    Curiosities

    Grand Theft Auto V (GTA V) is known for its vast open-world gameplay, where players can explore, complete missions, or just cause chaos. One...

    Others

    “Castelo Rá‑Tim‑Bum” premiered in 1994 on TV Cultura, delighting fans of the original “Rá‑Tim‑Bum” who were tired of its reruns, as well as other...

    Tech

    If you grew up playing console games in the 1980s and 90s and never heard this one, count yourself lucky—very lucky. Here’s the urban...

    DisneyDisney

    Cinema

    Walt Disney, one of the largest and most influential entertainment giants in the world, has a long history of innovation in animation. From its...

    Games

    “Nintendo 64” is Nintendo’s third home video game console. Commonly abbreviated as “N64,” it launched on June 23, 1996 (Japan) and on September 29 in the United States....

    Games

    How about transforming your Minecraft into an even more immersive game? With that in mind, the “Realistico” Mod Pack was developed—a texture pack with...

    Games

    You’ve definitely seen, heard about, or played Just Dance at some point—it’s simply one of the most incredible games ever created and maintained by...

    Games

    Need For Speed Heat has finally hit the streets and is increasingly reminiscent of the franchise’s golden-era titles, such as Need For Speed Underground...

    Games

    It's time to talk about Far Cry 4: a new game in the iconic open-world franchise that first arrived over 10 years ago with paradisiacal...

    Plants vs. Zombies Garden WarfarePlants vs. Zombies Garden Warfare

    Games

    Recently, Plants vs. Zombies Garden Warfare was released—it’s the new game from PopCap, famous for its mobile hits. This time, we have a review...

    What is the Meaning and Function of the Kernel?What is the Meaning and Function of the Kernel?

    Devs

    The kernel is one of the most fundamental components of any operating system (OS), acting as a bridge between the hardware of a computer...