---
title: Windows Scheduled Task Strategy
slug: kronpam-reference-guide-3-9-0/windows-scheduled-task-strategy
docTags: 
createdAt: 2024-12-03T08:47:31.621Z
---

This section explains how to change the password of the user defined for the Scheduled Task using Application Configuration and Trigger.

Users need to have configured task information for this option in a similar manner to the example below.

::Image[]{src="https://app.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/MFQZD4fNNZ7J2sXcTzu8s_image.png" size="82" width="590" height="402" position="center" caption="Windows Scheduled Task Definition Screen" darkWidth="590" darkHeight="402" showCaption="true"}

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/eOkFcjJywox6wSzQenGHb_image.png "Windows Scheduled Task Definition Screen")

1. Navigate to **Secrets > Configurations > Application Configuration.**
2. Click +**Add** and enter the parameters as described in the screen below.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/AYDIH7RdaJj2HbDocKRxE_image.png "Application Configuration Definition Screen")

1. Select **Windows Scheduled Task&#x20;**&#x61;s **Strategy.**
2. Enter the WinRM port.
3. Select NTLM as the WinRM Authentication Method and click **Save**.
4. Navigate to **Secrets > Application Management.**
5. Click +**Add** to add a new trigger.
6. A New Trigger Adding popup will appear.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/uYMYTLPmL9NmeFRZYQe_o_image.png)

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/FoAAp9GaYw0Dp5jBryp1Q_image.png "Windows Task Scheduler - Task Properties Screen ")

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/JkocMR0p5pS8zRfl4AGfE_image.png" size="62" width="555" height="815" position="center" caption="Application Configuration Definition Screen" darkWidth="555" darkHeight="815" showCaption="true"}

With this definition, when the Vault account's password is changed, reset, or updated, a trigger is generated for the scheduled task to automatically change the password on the target device.

1. Enter the name of the trigger in the Name field.
2. Select the **Application Configuration** with the defined name, like **Windows Scheduled Task.**
3. In the **Windows Scheduled Task Name field**, enter the *same&#x20;*&#x74;ask name value defined for the Scheduled Task on Windows target device. Otherwise, the password value will not change because Kron PAM cannot find the relevant scheduled task.
4. Select the Vault Account defined in Password Vault whose password you want to change.

If the user added to the Vault account is authorized on the target device to enact changes on scheduled tasks, keep the **Use Authentication User&#x20;**&#x6F;ption inactive. If it is not an authorized user, the **Name and Password&#x20;**&#x69;nformation of th&#x65;**&#x20;Administrator user** need to be entered in the relevant fields that appear upon activating the **Use Authentication User&#x20;**&#x73;witch.

- Set the Target Type value as **Single Device**.
- Select the target device information where the scheduled task is configured.
- Click **Save**.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/uvVaj0R5NiZcAWieR3j55_image.png "Application Management – Application Trigger Definition Screen")

After the definition is completed, open the Vault Screen and select the Vault account. Whenever the user selects the Vault account and clicks th&#x65;**&#x20;Update** or **Reset** **Password** option, Kron PAM will create a trigger and a password change will be performed, either automatically after some time or upon your manual request from the trigger process list shown on the application management page, as pictured below.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/Edq4JavwdH1NA7PFYbkpK_image.png)

