TFS & Visual Studio ALM – by Neno Loje

(formerly Team System, VSTS)

Disable auto-connect to TFS on VS startup

June 29th, 2009 · No Comments · Team Explorer, Team Foundation Server, TFS Tips and Tricks

When starting Visual Studio it automatically tries to connect to your TFS, which can be very annoying if you work offline. You will probably see:

TF30331: Team Explorer could not connect to the Team Foundation server …

You can turn this auto-connect behavior off by setting the following files in the registry:

"AutoLoadServer" = 0

Zero means do not reconnect automatically. 


Downside: you now always have to manually connect (from Team Explorer’s toolbar)

Download .REG file:

P.S. The Team Foundation Power Tools (TFPT) include a feature called Tweak UI which offers a checkbox to set this registry key – however in the October 2008 version it has a bug (creaing a string value instead of DWORD) and therefore will not work.


No Comments so far ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment