# Setting Up Robot Launch via Windows Task Scheduler

## 1. Open the project diagram in Sherpa Designer

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfFNIiVPzUz8NYXBbQzItFl53vkiwIEujTfq2b88kqmGyjIifjlZvYKovZwrMYBl5evKmcYWPMSEkPMzPS_5I7CjE3imBnFm-ifaU-OYXT4ALUb5iaTnuqvoFlwBEzhrXuD2Vjujw?key=dRp2CEeBqzGR5-j7pLpY76m1" alt=""><figcaption></figcaption></figure>

## 2. Publish the project (Robot) to the Desktop

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXco1vlgYd3RULQW502RaugAtblsLWl-NTpcBqtfB70mo6gJl-ETRDbEFC5gM8VoaWR_GBxaC0HH9rcPneVgbhRqsBnc_s_dD4ymIZNdAdojX2uDbxehb21GWtv_uulFrbgszJL92w?key=dRp2CEeBqzGR5-j7pLpY76m1" alt=""><figcaption></figcaption></figure>

## 3. Find “Windows Administrative Tools”

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfi59ZbglDFlbtZfIanQhWQ0lB2pVtStYxqUSAXL8Er-vsLnkTRmlRiy7Q9S9NHuhSSVEnm-k0wQQ7aUC7FD4QkxQOxPun6X16PYpFOkDBPiVVJlInctt18NmOWhTWCGfdaSP43?key=dRp2CEeBqzGR5-j7pLpY76m1" alt=""><figcaption></figcaption></figure>

3.1. Open “Windows Administrative Tools” by double-clicking with the left mouse button. Enter “Task Scheduler”:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeZC1EGzXh8l-wEdN1xV73zSST_-w9gedOzTu1HOmtumTXLwlH6k0V8LzuP3zgW0HOjNj7BVi7hmOfvMvnsT7-EgGpoK8jEJ7fK1PaAWslPrrVQS90eUWnw6PfNtmgcQIXZU57aCA?key=dRp2CEeBqzGR5-j7pLpY76m1" alt=""><figcaption></figcaption></figure>

3.2. The following pop-up window will appear:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcji6UH-qVn60METWXOaCLs_gYnaPHAh1yLFuVa5ZWnvMtVQ3lka6RMH5Tafwy3U0tyd7VuTiEDswZ-4sofhPN5kU-trlHeYsmjmKt9qChZGWfxHXlrx0K8uOVDWKxz7G7iqFEPyg?key=dRp2CEeBqzGR5-j7pLpY76m1" alt=""><figcaption></figcaption></figure>

## 4. Enter the Windows Task Scheduler Library

Right-click on a free space in the window with files, states, and triggers. Select the line “Create Basic Task”.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd7KeURziSoCP7sRoIngSynAJQyeGMBjHHnDD5_CS1KiblAV6wQQohDLQHTpGErZ_ZeL8hGnIJgFi0eAZtHilZzAgXo0gDSpX9FrXseggejULTv44RQLdkH_s-YlS7RtA2I3cATxQ?key=dRp2CEeBqzGR5-j7pLpY76m1" alt=""><figcaption></figcaption></figure>

4.1. The “Create Basic Task” window will open. Sequentially fill in the fields in the tabs:

* “Create Basic Task”:

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-1be14275ebc23e798a25d0e8f073bc973ca600db%2F%D1%81%D0%BE%D0%B7%D0%B4%D0%B0%D0%BD%D0%B8%D0%B5%20%D0%BF%D1%80%D0%BE%D1%81%D1%82%D0%BE%D0%B9%20%D0%B7%D0%B0%D0%B4%D0%B0%D1%87%D0%B8.png?alt=media" alt=""><figcaption></figcaption></figure>

* “Trigger”:

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-5f2aaa903ed65bb2f8d899068cbc5a22854524a8%2F%D1%82%D1%80%D0%B8%D0%B3%D0%B3%D0%B5%D1%80%20%D0%B7%D0%B0%D0%B4%D0%B0%D1%87%D0%B8.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-230e8bf9a2d828fd9bd0dacffc25bc9816a3b140%2F%D1%82%D1%80%D0%B8%D0%B3%D0%B3%D0%B5%D1%80%20%D0%B5%D0%B6%D0%B5%D0%B4%D0%BD%D0%B5%D0%B2%D0%BD%D0%BE.png?alt=media" alt=""><figcaption></figcaption></figure>

* “Action”:

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-1f270f31cbaaa05e060387d872ea0e2944b3158b%2F%D0%B2%D1%8B%D0%B1%D0%B5%D1%80%D0%B8%D1%82%D0%B5%20%D0%B4%D0%B5%D0%B9%D1%81%D1%82%D0%B2%D0%B8%D0%B5.png?alt=media" alt=""><figcaption></figcaption></figure>

In the appearing "Start a Program" tab, you need to fill in the fields "Program/script" and "Add arguments (optional)".

To fill in the "Program/script" field, you need to find the Sherpa Assistant shortcut on the desktop. Then right-click on the Sherpa Assistant shortcut and select "Open file location" from the context menu:

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-981b2d0d7db10510a2e5f4dc5893dcf05d15fd66%2F2025-10-06_18-37-31.png?alt=media" alt=""><figcaption></figcaption></figure>

In the opened folder, find the ProcessAgent.exe file:

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-5ee20defe8bf215957d435bb38f8b6829a21ea9f%2Fimage%20(48).png?alt=media" alt=""><figcaption></figcaption></figure>

Copy the path to it. Paste the copied path (enclosed in quotes) into the "Program/script" field in the "Start a Program" tab.

Next, to fill in the "Add arguments (optional)" field, you need to find the required project (Robot) saved on the Desktop and copy the full path to it. After that, paste the copied path (enclosed in quotes) into the "Add arguments (optional)" field:

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-8ff773e2f40093118d6296ffb2774e7191aff11f%2F%D0%BF%D0%B0%D1%80%D0%B0%D0%BC%D0%B5%D1%82%D1%80%D1%8B%20(2).png?alt=media" alt=""><figcaption></figcaption></figure>

4.2. Click the “Next” button, check the task description, and then click the “Finish” button.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc94B5EstTLrVis-iXNKcf31atT2nJk0AxztWUNwONuZpuNHC2LijhksgQXWlYjDSMcV-B47G5ALMN-OZ7-_4ZQ52Cf_ZS4COH3EAGpRPi-W1emcSn17paLNsRSjyO-nI69FXY1?key=dRp2CEeBqzGR5-j7pLpY76m1" alt=""><figcaption></figcaption></figure>

## 5. Execute the created task

In the Windows Task Scheduler, a line with the created task will appear. Right-click on the desired line and select “Run” from the context menu:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfFzWzi8A-bPDu0Y1TV4gJOs5B4KjkMxhMwkMts1FMfc_hTwhuBB1DrZ_pMVWJaHy7mMcYetxjSjVqXjQq_CR19ecrxqEFC5XR9CTH0Opd35oRXMwnl328w6ubQyAFK22SVWwDLiA?key=dRp2CEeBqzGR5-j7pLpY76m1" alt=""><figcaption></figcaption></figure>

5.1. If the pop-up window “How do you want to open this file” appears, click on “Sherpa RPA Robot” and confirm your choice by clicking the “OK” button:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcSwHJSrwbFbCVoIkbDp5OSBcF2VR8yoyAb4GI-ThPlY0FiK2EdiSIABQ7yXnnCHVz6GUfktZH_YS3QRD2XOeFOqrIQMF9DImvipuat_4pRQul5Uou3uVRVfWDcZevDRevIFBrL?key=dRp2CEeBqzGR5-j7pLpY76m1" alt=""><figcaption></figcaption></figure>

The project (Robot) will start and execute the specified script.

The setup for launching the Robot via Windows Task Scheduler is complete. If you need to make changes to the launch settings, you must go to the “Properties” section in the context menu:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcKn5MzZBwEfytjQkbUOXQtQ9THpYk_9eJMhcbPn3K9MayG8gC1nE1sre1Rzph9Tzr4hsClQHS4bfKfUcugiqGDb2r3e5cCHGEPMeTzO6kfnBuuUjABncbCsTSYNRKX0uAhYrPZ?key=dRp2CEeBqzGR5-j7pLpY76m1" alt=""><figcaption></figcaption></figure>

For example, to change the actions in the task, you can open the Actions tab and click the “Edit…” button:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeNG5qUT2y8JxcPXuoQzwCEoj_xyA9gsf8KTqnQ7CLz59tkXkeAzOroPkc4k3FR83rRRXDO6uQYbAFxatPz937m_0BIW35Q8eIIonKKy8XKiJTE9g0ixN7pz118wLfXonW00jID?key=dRp2CEeBqzGR5-j7pLpY76m1" alt=""><figcaption></figcaption></figure>

Then change the script/arguments/working directory in the corresponding fields:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfvfi4v95YzJ8bT6ftpCEA1ZnxkTavGlQ9-22S3E90FiSNDVYX3qRuYvr6at4951g4zcKF6xtvRZZWgwyCJCmVU9hzc54CKCoycpQPI68bpo-PvfjzuA5Robwu-2zEgcEeC9XgTnQ?key=dRp2CEeBqzGR5-j7pLpY76m1" alt=""><figcaption></figcaption></figure>

## Video

The launch of the Robot via Windows Task Scheduler is demonstrated in the following video:

{% embed url="<https://sherparpa.ru/ucontent/?03>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sherparpa.ru/en/sherpa-rpa/sherpa-designer/nastroika-zapuska-robota-cherez-planirovshik-windows.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
