Skip to content

Instantly share code, notes, and snippets.

@vbfox
Last active November 6, 2017 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vbfox/087ae83dc215d04ce769d245bf2b3b38 to your computer and use it in GitHub Desktop.
Save vbfox/087ae83dc215d04ce769d245bf2b3b38 to your computer and use it in GitHub Desktop.
TeamCity agent upgrade with dedicated user account
REM When TC Agent is using a dedicated account that isn't admin it can update itself
REM To solve it it's enough to give the user full control of the service account
REM Install SubInAcl from https://www.microsoft.com/en-us/download/details.aspx?id=23510
REM For service TCBuildAgent
REM And user Domain\User
"c:\Program Files (x86)\Windows Resource Kits\Tools\subinacl" /service TCBuildAgent /GRANT=Domain\User=F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment