It is not possible to run the Agent service as a user <> local system.
Start service throws error 1053: The service did not respond ... in timely fashion
start cmd throws errors:
F:\CCC\Programme\Harvest\SCM>agntd -eh=HAgent.dfo -port=59001
HAgent | 20230118 10:13:05 | ERROR: Incorrect user name
HAgent | 20230118 10:13:05 | ERROR: Wrong Argument
Configuration in Agent.arg:
-verbose
-port=59001
-fipsmode=0
-authmode=internal
Harvest Software Change Manager all versions
Starting the agent as a service from the Windows Services window or executing "as root" on Linux or Unix environments will always start the agntd service in multi-user mode so that anyone able to login to the agent server can connect to the agent.
Starting the agent from a command line or from a batch file will cause it to run in single-user mode where only the userid that starts the agent can connect to it.
To start the single-user agent from the command prompt:
agntd -usr=<userid> -pwd=<password> -port=<portnumber> -trlvl=1
(the <userid> must be the same as the userid executing the agntd command)
(the password for the single-user agent can be anything you want. It does not need to be the password for your userid...you can pick any like Abc12345)
If you prefer to use an encrypted password file to "hide" your password when you run the agntd command, you can use this command to create it:
svrenc -f <filename>.dfo -usr <userid> -pw <password>
After this, the single-user agent command looks like this:
agntd -eh=<filename>.dfo -port=<portnumber>
When you have validated that the single-user agent command is working, you can create a batch script with this command and then use the Windows Task Scheduler or Linux/Unix system commands to schedule a new task that runs the batch file at the startup of the machine and make sure to run as your id as in the command svrenc. This way, the agent runs every time the machine starts, and this agent is for you only. Consult your operating system documentation for the correct method to configure your script so that it executes when the server starts.