We moved our TFS on-premise to new servers, and now I have to change the build-agents (on Windows) so that they also link to the new server. Is there a more easy way to do this than to remove it and reconfigure it?
Asked
Active
Viewed 376 times
1 Answers
0
I found the answer via Unconfig remove service registration should be best effort (after a bit of reading between the lines).
Edit the setting.json
file in your Agent directory and restart the Agent service.

Peter Mortensen
- 30,738
- 21
- 105
- 131

Remkop
- 123
- 7
-
In other versions, it is instead the *hidden* file `.agent` (still in JSON format). In some versions of Windows, change Windows Explorer to show hidden files: Menu *"Tools"* → *"Folder options"* → tab *"View"*, and enable *"Show hidden files, folders, and drives"*. – Peter Mortensen Jan 04 '19 at 17:29