How to create a scheduled task with Windows Admin Center

On how to create a scheduled task with the in-built Windows task scheduler, see https://techdirectarchive.com/2020/03/24/how-to-create-a-scheduled-task-on-windows-server-2019/

To create a scheduled task on Windows Admin Center,
– Click on the server as shown below

This will open up the Windows Admin Center Server Tools as shown below

Under the server tools, search for the scheduled task as shown below
– Search for Scheduled tasks and click on it

This will open up the Scheduled tasks library as shown above
– Click on create
– Enter the rule name
– Enter a description
– Enter the command “This is the path to your PowerShell script”
– Enter and Arguments and “this is the path to your PowerShell executable”

Use the scroll bar to scroll below and populate the window.
– For the frequency, I will choose monthly
– For Trigger, the following date was selected
– Recur on Month(s); Since this is maintenance is going to be on a monthly basis, I will select all the months as shown below.
– Recur on: Month was selected
– Desired update day(s), I selected 18th after the 2nd Tuesday which is Microsoft Patch Tuesday.

Lastly, enter the following information below
– When running the task, use the following account, I selected the”Built-in”
– Choose a built-in account, here there are three options such as the
– LOCAL SERVICE
– NETWORK SERVICE
– SYSTEM
– Select the “System” account as shown below
– And click on submit.

This will prompt you with a windows as shown below to specify the administrator account that the your server will use in connected to the server. I entered domain user account and password as shown below.

This will validate your credentials and prompt a notification, as shown below that the Scheduled task is currently being created.

To create an exception for Windows Admin Center, see the following link https://techdirectarchive.com/2020/03/26/error-failed-to-create-a-scheduled-task-cannot-perform-the-operation-because-the-runspace-pool-is-not-in-the-open-state/

See how to create a scheduled task via Windows native tool below https://techdirectarchive.com/2020/03/24/how-to-create-a-scheduled-task-on-windows-server-2019/

Now the job as been created as shown below
– Click on the job
– Under the more button as shown below,
– Click on start.

As you can see below, the status of your scheduled task will change.

That is all that needs to be configured. If you have any questions, kindly commend below for help

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s