Your second option is to manually grant the Log on as a service right using Group Policy. Windows will automatically grant the Log on as a service right to your account. This means that as soon as you run ssh-agent, it'll start the service. Your first option is to do everything from the Services window. Get-Service ssh-agent Select StartType StartType - Disabled I suggest setting the service to start manually. Those packages cannot be used by the Network Service account so I configure my service based agents to run under a user account. I needed to run my service as a user account because package management systems like NPM install packages per user. To change any values, stop and restart the service APC PBE Agent. Unless you are using a USB connection, ensure that the COM port is configured as follows. Therefore, any accounts used as the service identity must have the right to log on as a service. After any changes, stop and restart the service APC PBE Agent. Windows services begin to run as soon as Windows boots regardless if anyone logs into the machines or not. Make sure the account has the “Log on as a service” right.Īfter configuring my agent with the following command my agent failed to start.\config.cmd -url -auth PAT -token -pool default -runasservice -windowslogonaccount -password -work _work -agent When I try and install my agent as a service with a user account it fails to start.Įven if I try to start it from services window it fails.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |