Skip to content

Latest commit

 

History

History
54 lines (29 loc) · 1.78 KB

SCHEDULED-TASK-SETUP.md

File metadata and controls

54 lines (29 loc) · 1.78 KB

Automating Host-Policy Through the Windows Task Scheduler

Adding a scheduled task to perform the host-automation on a predetermined frequency.

Dislaimer: Not developed nor tested for Production instances.

Setting up

  • Move the automation install bundle to the following location:
{{ install-partition }}:\Program Files\CyberArk\

  • Open the Windows Task Scheduler

  • Select Create Task...

  • Under General tab, copy the settings from below.

Note: This documentation was put together for demonstration purposes. You should never run a scheduled task as anything except for an account managed by the Password Manager (CPM) and managed centrally from the Vault.

  • Select the Triggers tab -> New...

  • Copy the settings in the screenshot below -> OK

  • Select Actions tab -> New...

  • In Edit Action window, copy the settings so they are identical to the screenshot below, including the following:
attribute value
Add arguments (optional) -ExecutionPolicy Bypass "{{ partition-letter }}:\Program Files\Host Automation\Automation\onboarding-service.ps1"

Testing

To test the job, simply right click the job in Task Scheduler -> Run