I want to install a TeamCity BuildAgend as a user. When entering my user credentials here:
I always get this error:
NOTE: My account (user) is Administrator with full permission!
How can I do this?
Install from Windows Executable FileOpen the Agents page in TeamCity. Click Install Build Agents and select Windows Installer to download the installer. On the agent machine, run agentInstaller.exe and follow the installation instructions.
Agents can be manually enabled/disabled via the web UI by clicking the status icon (1) next to the agent's name. Optionally, you can tell TeamCity to automatically disable/enable the agent after a period of time and enter your comment. TeamCity will follow the instructions and show the comment icon (2).
Click the Agents and select the desired build agent. Click the Compatible Configurations tab. Select Run selected configurations only and tick the desired build configurations names to run on the build agent.
Manual Start Run the following script: on Windows: <installation path>\bin\agent. bat start. on Linux and macOS: <installation path>\bin\agent.sh start.
The error message says it does not have "enough rights to run as a service",
this is slightly different from just being an administrator.
That should in theory be all you need to allow the service to run under that user.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With