Restarting the SingleAgent

1. Navigate to the ApplicareSingleAgent home directory.

2. Copy and Paste the StopAgent.bat file within the same directory. This will create a file stopAgent - Copy.bat.

Screenshot 1 — Restarting the SingleAgent

3. Rename the stopAgent - Copy.bat file to Restart.bat Open the file, replace its existing content with the provided content, save the changes.

@echo off
schtasks /run /tn "\ApplicareAgent\StopSingleAgent"
timeout /t 10 /nobreak
schtasks /run /tn "\ApplicareAgent\SingleAgent"

Screenshot 2 — Restarting the SingleAgent

Screenshot 3 — Restarting the SingleAgent

4. Open Task Scheduler in Administrator mode and choose the ApplicareAgent directory.

Screenshot 4 — Restarting the SingleAgent

5. Right-click inside the Task Scheduler and select the Create New Task option.

Screenshot 5 — Restarting the SingleAgent

6. In the General tab:

a. Enter the name Restart.

b. Choose Run whether user is logged on or not.

c. Select Do not Store Password.

d. Select Run with highest privileges.

Screenshot 6 — Restarting the SingleAgent

7. Go to the Triggers Tab and click the New button.

Screenshot 7 — Restarting the SingleAgent

8. Set the below options.

a. Choose Daily.

b. Select the Repeat Task Every option.

c. Set it to 6 hours manually (this option may not be available in the dropdown).

d. Set the duration to Indefinitely and click OK.

Screenshot 8 — Restarting the SingleAgent

9. Go to the Actions Tab and click the New button.

Screenshot 9 — Restarting the SingleAgent

10. Click the Browse button, select the Restart.bat file, and then click the Open.

Screenshot 10 — Restarting the SingleAgent

11. Copy the full Program/script path and paste it into both the Add Arguments (optional) and start in (optional) fields.

Screenshot 11 — Restarting the SingleAgent

12. In the Start in (optional) field, remove the Restart.bat keyword, and then OK.

Screenshot 12 — Restarting the SingleAgent

13. Go to the Conditions Tab and uncheck all the checkboxes.

Screenshot 13 — Restarting the SingleAgent

14. Go to the Settings Tab and check only following two options:

a. Allow task to be run on demand.

b. If the running task does not end when requested, force it to stop.

c. Click OK.

Screenshot 14 — Restarting the SingleAgent

Monitoring with Applicare

Was this article helpful?

Votes and follows are kept by Zendesk, so they need a Help Center account. These buttons open this article there.

Opens Zendesk · needs internet and sign-in

Still stuck? Contact support