Instructions for how to remove the AstraTaskService entry from the Services list:
1.Run Administrative Tools -> Services and find the service to delete.
2.Double click on the service and note the service name (the first entry in the service properties).
3.Open a command shell window
4.Run "SC delete <service-name>" where <service-name> is the service name discovered above.
5.You should see "[SC] DeleteService SUCCESS"
|How do I start, or restart, the Task Agent?|
Instructions for how to start or restart “Astra Task Agent”:
1.Remote into the server on which the Astra Task Agent is installed.
2.Click on the Start menu on the server.
3.Click on Administrative Tools.
4.Click on Services.
5.Find the service titled "Astra Task Agent".
6.Select start or restart on the left-hand side.
|How do I create and schedule batch files to automatically stop and start the Task Agent?|
First, create the batch files by performing the following:
1.Create two new text (.txt) documents. This can be done by right-clicking the desktop, scrolling down to New and selecting ‘Text Document’.
2.Copy the GUID from the Task Agent by going to ‘Services’ and selecting ‘Properties’ of the Task Agent you want to start/stop.
3.In the first text document type “sc stop AstraTaskAgent_GUID” (replace GUID with the value from step 2). Save the file.
4.In the second text document type “sc start AstraTaskAgent_GUID” (replace the GUID value as above). Save the file.
5.Rename the first text document to “StopAstraTaskAgent.bat”.
6.Rename the second text document to “StartAstraTaskAgent.bat”.
Next, create a task through the Windows ‘Task Scheduler’ to schedule these batch files to execute by performing the following:
1.Launch the ‘Task Scheduler’ through the Windows ‘Administrative Tools’.
2.Select ‘Create Task…’ on the right side of the ‘Task Scheduler’ window.
3.Give the Task a name (e.g. “Stop Task Agent”).
4.Select ‘Run whether user is logged on or not’.
5.Select the ‘Triggers’ tab and choose ‘Daily’ under ‘Settings’ and define the time you want to ‘Start’ the batch. Click ‘OK’.
6.Select the ‘Actions’ tab and choose ‘New…’.
7.Under ‘Settings’ hit the ‘Browse…’ button to find the batch file you created in the previous steps. Select ‘Open’ once you’ve found the appropriate batch file. Click ‘OK’.
8.Now the task has been effectively created so you’ll just want to click ‘OK’ on the ‘Create Task’ window.
9.Repeat these steps to schedule the Task Agent to start.