I have two Windows 10 machines on which I want to run the agent. The first machine works without problems, but on the second machine the agent does not want to stay active.
I have set up the start of the agent via a batch in the task scheduler. On the first machine the batch starts when the machine is started, on the second machine the batch is also started, but is immediately closed as successful again. (action “C:\Windows\SYSTEM32\cmd.exe” with return code 0.)
Does anyone know this phenomenon? The machines are set up identically and also the tasks in the scheduler are set up identically.
Unfortunately, there is no log.
I only have the message from the task scheduler that the task was successfully completed.
If I start the batch manually everything works. Only the Task Scheduler does not leave it open but simply closes it.
The batch is configured identically as on machine 1. Of course, the name and the secret key is adjusted.