free (Team Foundation Build)
Collapse the table of content
Expand the table of content

free (Team Foundation Build)

Visual Studio 2008

The free command removes a port reservation.

Required Permissions

To run the free command, you must be a Windows administrator on the build computer. For more information, see Team Foundation Server Permissions.


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

Wcfhttpconfig free port




The number or URLPrefix of the port for which the reservation is removed. For more information about URLPrefixes, see

URLPrefixes are used when you use HTTPS for the build agent.

The following example removes a reservation from port 9191.

>wcfhttpconfig.exe free 9191

The following example uses a URLPrefix to remove a reservation from the port 9191.

>wcfhttpconfig.exe free https://+:9191/Build/v2.0/AgentService.asmx
© 2015 Microsoft