Partager via


License Command

You can use the License command to display, modify, or extend the licensing key for your deployment of Visual Studio Team Foundation Server.

To view, modify, or change the licensing for your deployment interactively, you can use the administration console for Team Foundation. For more information, see Open the Team Foundation Administration Console and Locate or Change the Product Key for Team Foundation Server.

Required Permissions

To use the License command, you must be a member of the Team Foundation Administrators security group. For more information, see Permission reference for Team Foundation Server.

Note

Even if you log on with administrative credentials, you must open an elevated Command Prompt window to perform this function on a server that is running Windows Server 2008. To open an elevated Command Prompt window, click Start, right-click Command Prompt, and then click Run as Administrator. For more information, see this page on the Microsoft Web site: User Account Control.

TFSConfig License [/ProductKey:Key] [/extend [NewTrialID]]

Parameters

Placeholder

Description

Key

Specifies a valid product key to use when changing your deployment from Team Foundation Server from a trial license to a full license.

NewTrialID

Specifies a second trial license key. A second trial license key can be obtained from Microsoft Corporation. The primary trial license key is good for 90 days, but the secondary trial license key will extend your deployment for only 30 days.

Option

Description

/ProductKey:Key

Specifies that the license key for the deployment will be updated with the value of Key.

/extend

Specifies that the trial licensing period for Team Foundation Server will be extended by 30 days. This option can be used only once. If a second extension is required, you must obtain a second trial license from Microsoft.

Example

The following example shows how to view the licensing information for a deployment of Team Foundation Server. In this example, the deployment is using a trial license.

Note

The example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious.  No association with any real company, organization, product, domain name, email address, logo, person, places, or events is intended or should be inferred.

TFSConfig License
TFSConfig - Team Foundation Server Configuration Tool
Copyright © Microsoft Corporation. All rights reserved.
Team Foundation Server Standard license
The following features are installed:
Team Foundation Server
Build Services
Build: 21106.00
Product ID: 01234-567-8910
Trial license with 74 days remaining, expiring on 6/30/2010
Trial ID: ABCD-EFGH-IJKL

The following example shows how to extend the trial license for a deployment of Team Foundation Server. In this example, the trial from the previous example is extended for 30 days.

TFSConfig License /extend
TFSConfig - Team Foundation Server Configuration Tool
Copyright © Microsoft Corporation. All rights reserved.
Now extending trial
Team Foundation Server Standard license
The following features are installed:
Team Foundation Server
Build Services
Build: 21106.00
Product ID: 01234-567-7654987
Trial license with 134 days remaining, expiring on 8/30/2010
Trial ID: XYZZY-REDFG-WESDF

The following example shows how to update the trial license to a full license.

TFSConfig License /ProductKey:abcde-fghij-klmno-pqrst-uvwxy
TFSConfig - Team Foundation Server Configuration Tool
Copyright © Microsoft Corporation. All rights reserved.
Now applying Product Key 'abcde-fghij-klmno-pqrst-uvwxy'
Team Foundation Server Standard license
The following features are installed:
Team Foundation Server
Build Services
Build: 21106.00
Product ID: 01234-567-765456
Retail license

See Also

Tasks

Locate or Change the Product Key for Team Foundation Server

Concepts

Administer Team Foundation Server

Other Resources

Upgrading Team Foundation Server