It is not possible to let 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 ist Agent.arg:
-verbose
-port=59001
-fipsmode=0
-authmode=internal
Release : 14.0
Starting the agent from the Windows Services window as a service will always start the agntd service in multi-user mode so that anyone able to login to the Windows server can connect to the agent.
Starting the agent from a command prompt window 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 your Windows login userid)
(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 file with this command and then use the Windows Task Scheduler 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.