> For the complete documentation index, see [llms.txt](https://docs.inogic.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inogic.com/sharepoint-security-sync/windows-tool/windows-task-scheduler/windows-task-scheduler-configuration.md).

# Windows Task Scheduler Configuration

Follow the steps below to create and configure a scheduled task for SharePoint Security Sync.

**Step 1: Download and Extract the Scheduler Tool**

Download the latest version of the SharePoint Security Sync Scheduler Tool and extract the downloaded files to a folder on your computer.

**Step 2: Open Windows Task Scheduler**

Open the Windows Start menu, search for **Task Scheduler**, and launch the application.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FGDj0nLFqElYRkC1bmCfq%2Fimage.png?alt=media&amp;token=af8321b0-96bd-4a1f-ac26-4ba7e074e62e" alt=""><figcaption></figcaption></figure>

**Step 3: Create a New Task**

1. Select **Task Scheduler Library**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FxApCZ9EsnfvsUJDHmyBr%2Fimage.png?alt=media&amp;token=261159d5-8c6e-45a5-ae26-1aa3303f0e30" alt=""><figcaption></figcaption></figure>

2. Under the **Actions** panel, click **Create Task**.
3. In the **General** tab, enter a suitable **Name** and **Description** for the task.

**Step 4: Configure the Trigger**

1. Open the **Triggers** tab and click **New**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FsPR1swXH7Ciuef1XvKl8%2Fimage.png?alt=media&amp;token=1e51cfde-0f81-49bc-bf30-1b0f2ce50d68" alt=""><figcaption></figcaption></figure>

2. Under **Settings**, select when and how frequently you want the task to run.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F65rjtNkmufYPeVqneBBD%2Fimage.png?alt=media&amp;token=eb460ad8-b94d-4a6e-92d0-e18a40fe4b59" alt=""><figcaption></figcaption></figure>

3. Click **OK** to save the trigger.

**Step 5: Configure the Action**

1. Open the **Actions** tab and click **New**.
2. Select **Start a Program** from the Action dropdown.
3. In the **Program/script** field, browse to the folder where you extracted the Scheduler Tool and select its .exe file.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FWNZxooOeGBqKefrfrsV3%2Fimage.png?alt=media&amp;token=548ede72-2e6d-40c1-9608-3b5e42af321d" alt=""><figcaption></figcaption></figure>

**Step 6: Enter Command-Line Arguments**

In the **Add arguments** field, enter the command-line arguments required for the operation you want to execute.\
\
Refer to **Section 2: Command-Line Arguments Configuration** for the supported operations, required arguments, and command examples.

Before entering the command, make sure you have the required Dataverse URL, Connector ID, Entity Configuration ID, and date range, wherever applicable.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FOZs3NkyT4VvUQRPZB9F8%2Fimage.png?alt=media&amp;token=c8d9b867-00bf-4970-9670-6913c5aa6e73" alt=""><figcaption></figcaption></figure>

**Step 7: Configure Conditions**

Open the **Conditions** tab and select the conditions under which the scheduled task should run. These settings determine whether the task can execute when the configured trigger occurs.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FpOjzfDzmB6PHF40EXjIA%2Fimage.png?alt=media&amp;token=6035dc87-7b3a-4a46-b703-4fa1f1c9727d" alt=""><figcaption></figcaption></figure>

**Step 8: Configure Settings**

Open the **Settings** tab, select the options required for the scheduled task, and click **OK** to save the configuration.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FOWthZuNAIbgVJhwPo0Qj%2Fimage.png?alt=media&amp;token=04df262d-53dd-47be-8362-136065af3365" alt=""><figcaption></figcaption></figure>

**Step 9: Save the Task and Verify the Execution**

Click **OK** to create the scheduled task. The newly created task will appear under **Task Scheduler Library**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FsKEyVjEQ8GK7bN0esOmM%2Fimage.png?alt=media&amp;token=06a8f4cc-04e3-43bd-ba80-e9ef5b46911c" alt=""><figcaption></figcaption></figure>

After the scheduled task runs, follow these steps to verify its execution:

1. Open **File Explorer**.
2. Navigate to Documents\SharePointSync\_Logs.
3. Locate the SchedulerTrace text file corresponding to the date and time when the scheduled task ran.
4. Open the file and review the log entries for execution details, migration information, errors, or warnings.

**Example log file:**

SchedulerTrace\_16th\_October\_2026\_03\_31\_06\_PM.txt

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FVVlCfVIjiqedwDdpCW1n%2Fimage.png?alt=media&amp;token=672e319b-4ac5-42fd-8ef8-461da56f2d9e" alt=""><figcaption></figcaption></figure>

**Note:** Select the Scheduler Trace file that matches the scheduled task's execution date and time.

**Important:** Enter the Scheduler Tool's .exe file path in the **Program/script** field and the command-line arguments in the **Add arguments** field. Do not enter the command-line arguments in the Program/script field.
