Question

Currently when we want to restart the service, we have to 1) log in the server, 2) open the Administration Console, 3) hit the restart/start button as below snapshot.

I'm looking for a faster way i.e. a command line to do that locally or via a remote machine.

Please share if you know how to.

enter image description here

Was it helpful?

Solution

This is just a regular Windows Service. With TFS 2013 you just do:

net stop TFSBuildServiceHost.2013
net start TFSBuildServiceHost.2013

I assume it's similar for TFS 2012 (just find Visual Studio Team Foundation Build Service Host in your Services listing, go to properties and it will tell you the Service Name that you need to use from the command-line).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top