# Configuration steps in Windows Task Scheduler

* Download the latest version of the DeDupeD Scheduler Tool and extract the files.
* Now, on your system, **open the Task Scheduler application**

<figure><img src="/files/ZE4LBpZAIsBWJXEx3K2L" alt=""><figcaption></figcaption></figure>

• Go to **Task Scheduler Library**.\
• Navigate to **Actions** and click on **Create Task**.\
• The configuration window will pop up. Here, select the **General** tab.\
• Fill in the necessary details of Name and Description as shown in the image below and click Ok:

<figure><img src="/files/FehDhRD3igeibuFadQ6f" alt=""><figcaption></figcaption></figure>

* Now, in Task Scheduler, go to the **Triggers** tab.
* Click on New to create a **new trigger** action.

  <figure><img src="/files/f7oCfFioRUw0X3336X2P" alt=""><figcaption></figcaption></figure>
* Under Settings, choose your preferred options for how the scheduler should run and click Ok.

<figure><img src="/files/hL1Vr6QqlZmbGMe6nJf0" alt=""><figcaption></figcaption></figure>

* Now, in Task Scheduler, go to the **Actions** tab.
* Click on New to create a **new action**.

<figure><img src="/files/6Cw5kWlLMvqK1Soqdbac" alt=""><figcaption></figcaption></figure>

* In the Actions tab, specify the action that the scheduler should perform.
* *Click on New and Select Start a Program.*
* Program/script: Select the **.exe file** of the DeDupeD tool

<figure><img src="/files/5obQZmzfIz7kCun7vbpa" alt=""><figcaption></figcaption></figure>

**Add Arguments**

* In the Add Arguments field, enter the required arguments.
* Ensure that the arguments are passed in the exact format as specified in the provided example/template.
* Verify the syntax before saving to avoid execution errors.
* To create argument ids, [click here](/deduped/configuration/deduped-scheduled-job/azure-client-id-and-client-secret-configuration.md).

<figure><img src="/files/AWymEKpVnfnYrAkArrcp" alt=""><figcaption></figcaption></figure>

* Now, in Task Scheduler, go to the Conditions tab.: Here, specify the conditions that, along with the trigger, determine whether the task should run. The task will not run if any condition specified here is not true.

<figure><img src="/files/s0o6v2yUiJTKy6UhdSWj" alt=""><figcaption></figcaption></figure>

* Now, in Task Scheduler, go to the **Settings** tab.
* Select the required settings and click Ok.

<figure><img src="/files/HXVxOnodORrmQQiPxa8G" alt=""><figcaption></figcaption></figure>

Scheduled Job will be listed in Task Manager as given below:

<figure><img src="/files/o6mRJwwTgYax9dhFFMYl" alt=""><figcaption></figcaption></figure>

After the scheduler finishes running the job, the results will be automatically saved.

The user can view them under **DeDupeD Job Runs.**

<figure><img src="/files/8DOE4QLbWPhpc0YJloi0" alt=""><figcaption></figcaption></figure>

Click on the desired Job Run result.

The detailed statistics for that run will be displayed.

<figure><img src="/files/tkt58V3Njix3jEsPJfTh" alt=""><figcaption></figcaption></figure>

**Job Execution and Result Handling**

Once triggered by the Task Scheduler, the DeDupeD Tool will:

* Execute the configured duplicate detection job.
* Create a Job Run and corresponding Job Results in CRM.
* Notify the configured users via email upon completion.

You can access the Job Result record in CRM and click Show Duplicates to review and take further action. Use the Assign button to delegate records to other users for review or merge confirmation.


---

# 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.inogic.com/deduped/configuration/deduped-scheduled-job/configuration-steps-in-windows-task-scheduler.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.
