Configure Lab Management with TFSLabConfig

Team Foundation Server includes a command-line tool to help you configure and manage the lab service provide by Visual Studio Lab Management.

The TFSLabConfig command-line tool is located in Drive:\Program Files\Microsoft Team Foundation Server 2010\Tools on Team Foundation Server application tier. It is also located in Drive:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE on the client machine where Microsoft Test Manager is installed.

Required Permissions

To use TFSLabConfig, you must have the appropriate permissions for the operation that you want to perform. The required permissions are described for each command in the command reference topic.


This tool provides commands to perform the following tasks.


  • Command

Configure the SCVMM server that will be used by Lab Management

Manage host groups in a team project. Add or remove a host group in an individual team project.

Manage library shares in a team project. Add or remove a library share in an individual team project in the collection.

Manage permissions for users on specified Lab Management objects. Add or remove permissions for users and user groups to an object in a team project or team project collection.

See Also


Configure TFS using the administration console [redirected]

Configure and administer Lab Management

TFSConfig Lab Commands

Other Resources

Command-line tools for TFS