How to create a basic and advanced task on Windows 2019 server

In this guide, we will explain how to create a basic and advanced task using the task scheduler option on windows. The Task Scheduler application in Windows 2019 server enables you to create and execute practically any task automatically. You may start programs, issue commands, run scripts, and more using this experience. Tasks can also be set up to be triggered when certain events take place.

There are two ways in which you can create the tasks:

[1] Basic Task

[2] Advanced Task

Let us find out how to create the tasks:

[1] Basic task

  1. Click on the “Start” button.
  2. Find the “Windows Administrative Tools” option and click on its drop-down menu to find more options.
  3. Click on the “Task scheduler” sub-option.
  4. To create a new folder right-click on the “Task Scheduler Library” option on the left-hand side of the screen and click on the “New folder” option.

  5. A small window will pop up, enter the “Name” of your task and click on the “Ok” button.

  6. Look for the “Actions” menu on the right-hand side of the screen and click on the “Create Basic Task” option.

  7. A new wizard will open. In this process there are four settings:
    1) 
    Create a basic task
    2.) Trigger
    2.1.) Weekly
    3.) Action
    3.1.) Start a program
    4.) Finish1) “Create a basic task”-
    a. Enter the “Name” and “Description” of the task, then click on the “Next” button.

    2)
    “Task Trigger”-
    a. In the “Task Trigger” option, select when you want to start the task, here we have selected the “Weekly” option. Click on the “Next” button.

    2.1.) “Weekly”-
    a. Select the “Start date” and “time”, enter the number of days it should “Recur” and also select the day by ticking the box provided. Then click on the “Next” button.

    3) “Action”-
    a. Choose the “Action” that you wish the task to take. There are three choices available: “Start a program”, “Send an e-mail”, and “Display a message”. Click on the “Next” button.

    3.1.) “Start a Program”-
    a. Specify the path for the application under the “Program/script” field. You can browse for the path and then click on the “Next” button.

    4) “Finish”-
    1. Here you will get a “Summary” of your settings, click on the “Finish” button.
    2. As soon as you finish the steps, the task will be saved and executed automatically according to the schedule you set.

[2] Advanced Task

    1. Click on the “Start” button.
    2. Find the “Windows Administrative Tools” option and click on its drop-down menu to find more options.
    3. Click on the “Task scheduler” sub-option.
    4. Right-click on the “Task Scheduler Library” option on the left-hand side of the screen and click on the “New folder” option.
    5. A small window will pop up, enter the “Name” of your task and click on the “Ok” button.
    6. Look for the “Actions” menu on the right-hand side of the screen and click on the “Create Task” option.
    7. Create Task wizard will open. You will find the five settings tab. Namely;
      1) General
      2) Triggers
      3) Actions
      4) Conditions
      5) Settings1) “General”- The first tab is “General”. Select it.
      a. Name: Type a name for the task. For example, we have taken the “Power Notepad” name.
      b. Description: You can add the description for the task under the “Description” heading.
      c. Security options: The “Security options” section lets you control which administrator account can run the task. If you’re using an account with administrative privileges, the default user should work. If you’re running a Command Prompt or PowerShell command, you can select the “Run whether a user is logged on or not” option to prevent the command window from appearing when the task runs automatically, since the “Hidden” option may not work. If the task requires higher privileges, check the “Run with the highest privileges” option. You should leave the “Configure for” settings alone unless another compatibility option is required.
      2) “Triggers”- Select this tab.
      a. 
      Click on the “New” button.

      b. As soon as you click, a “New” pop-up window will open up.
      c. The “Begin the task” drop-down menu offers many trigger options, including “On a schedule,” “At startup,” “On workstation unlock,” and many more. Select the “On a schedule” option for this article.
      d. Select the “Monthly” option from the left-hand side of the screen.
      e. Select the “Start” date and select the time.
      f. To select the months for the task, use the “Months” drop-down menu.
      g. To set out the days for the task to run, use the “Days” or “On” drop-down menu.
      h. Using the “Advanced settings” option, you can delay a task, repeat it, stop it or even expire the task.
      i. The “Enabled” option is selected by default.
      Note: You don’t need to change the settings unless it is required.

      j.
      Click on the “Ok” button.

      3) “Actions”- Select the third tab.
      a.
      Click on the “New” button.

      b. A “New Action” window will open up.
      c. Using the “Action” drop-down menu, you can select the “Start a program” option. You can use the “Send an e-mail” or “Display a message” option. However, these are obsolete features, which may or may not work since Microsoft is no longer upholding them.
      d. The path for the application should be detailed in the “Program/script” field under the “Settings” section. If you don’t know the path, you can just “Browse” the path.
      e. Click on the “Ok” button.

      4) “Conditions”- Select the fourth tab.
      a. 
      In this category the settings are a combination of “Triggers” and “Conditions” to determine the timing of the task.
      b. If one is working on a simple task, no need to alter the settings but the “Power” settings should be configured as per one’s requirement.
      c. Click on the “Ok” button.

      5) “Settings”- Here comes the final tab.
      a. 
      In this category there is extra settings option that straight away influences the performance of the task. No need to make any changes in these settings but it is always good to check before proceeding.
      b. Finally click on the “Ok” button.
      c. After completing the steps, authenticate with your account credentials, and then the task will run automatically on schedule or event using the specified settings.

This way you can create a basic and advanced tasks using the Task scheduler on Windows 2019 server. For more latest updates, do visit our KB section regularly. Also, don’t forget to check out our latest Web hosting plans. For help, contact our support specialists, they are always willing to assist you, 24×7.