How to create automated tasks on Windows 11

On Windows 11, Task Scheduler is an software that makes it simple to create and run routines robotically on your laptop. For instance, you may create tasks to run instructions, scripts, and packages at a particular date or when a situation is met.

The app displays the time and occasions occurring on Windows 11 and triggers a job as quickly because the situation is matched. The system and lots of apps already use Task Scheduler to automate upkeep routines (akin to for updates and storage upkeep). You can use it to create fundamental and superior tasks to carry out totally different actions at a particular time or when an occasion occurs.

In this Windows 11 guide, we’ll stroll you thru the steps to get began with the Task Scheduler expertise to automate tasks on your machine.

How to create a fundamental job utilizing Task Scheduler

To create a fundamental automated job on Windows 11, use these steps:

  1. Open Start.
  2. Search for Task Scheduler, and click on the highest outcome to open the app.
  3. Right-click the “Task Scheduler Library” department, and choose the New Folder possibility.

    Task Scheduler create new folder

    Source: Windows Central

  4. Type a reputation for the folder — for instance, MyTasks.

    Quick notice: This step is beneficial to hold the tasks separate from the system and apps tasks.

  5. Click the OK button.
  6. Expand the “Task Scheduler Library” department, and choose the MyTasks folder.
  7. Click the Action menu and select the Create Basic Task possibility.

    Windows 11 Create Basic Task

    Source: Windows Central

  8. Type a brief descriptive identify for the duty, for instance, Notepad Launcher, within the “Name” area.

    Basic task information

    Source: Windows Central

  9. (Optional) Compose an outline for the duty within the “Description” area.
  10. Click the Next button.
  11. Select the Monthly possibility.

    Task monthly trigger

    Source: Windows Central

    Quick notice: Task Scheduler contains numerous triggers, together with on a particular date, throughout startup, or whenever you or a selected consumer indicators in. Depending on the set off, you will want to configure extra parameters. In this case, we’ll choose the choice to run a job each month.

  12. Click the Next button.
  13. Specify when the duty ought to begin working and the time utilizing the “Start” setting.
  14. Select the months of the yr to run the duty utilizing the “Monthly” drop-down menu.

    Task schedule settings

    Source: Windows Central

  15. Specify the times the duty will run utilizing the “Days” or “On” drop-down menus.

    Basic task day schedule


    Quick Tip: Using the “On” setting is your possibility in the event you plan to run a job throughout a particular day of the week.Source: Windows Central

  16. Click the Next button.
  17. Select the Start a program possibility to launch an app, run a command, or execute a script file.

    Basic task start program

    Source: Windows Central

    The Send an e-mail or Display a message choices are deprecated options. You can nonetheless use them, however they could not work.

    • Send an e-mail: Triggers an electronic mail notification with a customized message on schedule, but it surely requires to specify an electronic mail server to work.
    • Display a message: Displays a textual content message on the display screen on schedule.
  18. Click the Next button.
  19. Specify the trail for the app within the “Program/script” area.

    Basic task path to program or script

    Source: Windows Central

    Quick Tip: If you do not know the trail of the app, click on the Browse button to discover it.

  20. (Optional) Specify the arguments to run the duty with particular directions within the “Add arguments” area.
  21. (Optional) Specify the folder through which this system will begin within the “Start in” area.
  22. Click the Finish button.

Once you full the steps, the system will create and save the duty, and it will run robotically on the schedule.

How to create a sophisticated job utilizing Task Scheduler

To create a sophisticated job setting with the Task Scheduler on Windows 11, use these steps:

  1. Open Start.
  2. Search for Task Scheduler, and click on the highest outcome to open the app.
  3. Right-click the “Task Scheduler Library” department, and choose the New Folder possibility.

    Task Scheduler create new folder

    Source: Windows Central

  4. Type a reputation for the folder — for instance, MyTasks.
  5. Click the OK button.
  6. Expand the “Task Scheduler Library” department, and choose the MyTasks folder.
  7. Click the Action menu and select the Create Task possibility.

    Task Scheduler create advanced task

    Source: Windows Central

  8. Type a brief descriptive identify for the duty, for instance, My PowerShell Script, within the “Name” area.

    Create Task Advanced Settings

    Source: Windows Central

  9. (Optional) Compose an outline for the duty within the “Description” area.
  10. In the “Security choices” part, configure the administrator account to run the duty.

    Task Security Options

    Source: Windows Central

    Quick Tip: If you utilize an admin account, the default consumer ought to do the job. If you need to run a Command Prompt or PowerShell command, choose the Run whether or not consumer is logged on or not possibility to forestall the command window from displaying when the duty runs robotically.

  11. (Optional) Check the Run with highest privileges possibility if the duty requires elevated privileges.
  12. The “Configure for” settings ought to be left alone until required.
  13. Click the Triggers tab.
  14. Click the New button.

    Create new trigger

    Source: Windows Central

  15. Use the “Begin the duty” drop-down menu to choose one of many many triggers — for instance, On a schedule.
  16. Specify when the duty ought to begin working and the time utilizing the “Start” setting.
  17. Select the Monthly possibility from the left facet.
  18. Select the months to run the duty utilizing the “Months” drop-down menu.

    Schedule task on Windows 11

    Source: Windows Central

  19. Specify the times to run the duty utilizing the “Days” or “On” drop-down menus.

    Task Scheduler day to run task

    Source: Windows Central

  20. (Optional) In the “Advanced settings” part, choose choices to delay, repeat, cease and expire a job.

    Windows 11 task advanced settings

    Source: Windows Central

  21. Check the Enabled possibility (if relevant).
  22. Click the OK button.
  23. Click the Action tab.
  24. Click the New button.

    Create actions on new task

    Source: Windows Central

  25. Select the Start a program possibility utilizing the “Action” drop-down menu.
  26. Under the “Settings” part, within the “Program/script” area, specify the trail for the appliance — for instance: powershell.exe.

    Task start a program settings

    Source: Windows Central

    Quick Tip: If you do not know the trail of the app, click on the Browse button to discover it. Also, if it is a recognized program like PowerShell or Command Prompt, you solely want to specify the identify of the executable.

  27. (Optional) Specify arguments to run with the duty within the “Add arguments” area — for instance: -NoExit -ExecutionPolicy Bypass C:PATHTOSCRIPTfirst_script.ps1.

    Quick notice: The “powershell.exe” command and the above argument will run the script named “first_script.ps1.” The argument “-ExecutionPolicy Bypass” ensures that the script runs efficiently, and the “-NoExit” argument will forestall the window from closing after working the script.

  28. (Optional) Specify the folder through which this system will begin within the “Start in” area.
  29. Click the OK button.
  30. Click the Conditions tab.
  31. (Optional) In the “Conditions” tab, you do not have to modify these settings for a fundamental job. However, you need to make sure the Power settings are configured as wanted.

    Winows 11 Task Power Settings

    Source: Windows Central

  32. Click the OK button.
  33. Click the Settings app.
  34. (Optional) The “Settings” app contains extra choices that can impression the duty. Usually, it is a good suggestion to examine the next choices:

    • Run the duty as quickly as attainable after a scheduled begin is missed.
    • If the duty fails, restart each: (Use this selection with the default picks.)

    (*11*)

    Source: Windows Central

  35. Click the OK button.

After you full the steps, verify the account credentials, and the duty will run robotically on the required occasion or schedule.

How to run and modify a job utilizing Task Scheduler

To view, exit, or run a job on Windows 11, use these steps:

  1. Open Start.
  2. Search for Task Scheduler, click on the highest outcome to open the app.
  3. Expand the Task Scheduler Library department.
  4. Select the folder that comprises the duty.
  5. To run a job on demand, right-click it and choose the Run possibility.

    Windows 11 run and modify task

    Source: Windows Central

  6. To edit a job, right-click it and choose the Properties choices.
  7. To delete a job, right-click it and choose the Delete possibility.

While the duty is chosen, you can even see the duty info, together with triggers, the final time the duty was run, and when it’s going to run once more.

Also, you may choose the duty, and use the proper pane to carry out totally different actions, akin to run, finish, disable, and edit the duty.

More Windows assets

For extra useful articles, protection, and solutions to frequent questions on Windows 10 and Windows 11, go to the next assets:



https://www.windowscentral.com/how-create-automated-tasks-windows-11

Related Posts