Configuring the build to use the version control proxy

If you have a version control proxy at a remote site and you wish to have Team Build use the version control proxy, you'll need to modify the registry of the account that's running the build service on the build computer.  Here's what you'll need to put into the registry.  You'll need to change "someproxy" to your proxy's name.  Also, if you need to do this with Orcas, you'll need to change 8.0 to 9.0 for this to have the desired effect.

Windows Registry Editor Version 5.00




The client code that reads the registry to get the proxy setting does not look at HKLM.  It only reads from HKCU.

tags: , , ,

Comments (7)

  1. KE says:

    Why not use the TFSPROXY environment variable as pointed out by Martin Woodward?

    There is currently no option with the Microsoft command line to pass a version control proxy server in to TF.exe.  It will pick one up if you have one set in the registry if you have used the Team Explorer GUI – but that isn’t great for scripted scenarios.  James Manning recently pointed me in the direction of an undocumented environment variable called TFSPROXY.  If set, the TFS client will use that setting to proxy your requests.  Therefore the following will call tf.exe passing a proxy server to use in your connection:-

  2. buckh says:

    You could, so long as you set it globally.  Otherwise, it wouldn’t be any different than setting the value in HKCU.


  3. Martin Woodward on Teamprise Joins Eclipse Foundation. The Teams WIT Tools Blog on Creating custom…

  4. Buck Hodges says:

    While some of the build agent properties are available in the VS GUI, buried in the tfsbuildservice.exe.config

  5. While some of the build agent properties are available in the VS GUI, buried in the tfsbuildservice.exe

  6. Over the past few years, a few of my clients have deployed Team Foundation Server Proxy to improve the

  7. Jim Lamb says:

    There are a number of things you can do to improve build performance in TFS 2008: Reduce the scope of

Skip to main content