How to stop services that Team Foundation Server uses?
To stop services that Team Foundation Server uses
On the server that is running the application-tier services for Team Foundation, open a Command Prompt window, and change directories to Drive:\%programfiles%\ Microsoft Team Foundation Server 2010\Tools.
Type the following command:
TFSServiceControl quiesce
For more information, see TFSServiceControl Command.