TFS client not caching credentials

We recently had a problem on a couple of Vista machines where the TFS client would not cache the credentials used to connect. Typically you would get a challenge the first time you attempt to connect, and the credentials would then go into the standard windows credential store.

I’m not certain why the bevahiour changed, but the resolution was fairly simple. Go to Control Panel > User Accounts > Manage Your Network Passwords, then manually add in an entry for the remote machine, specifying the user account to use when authenticating. Any future TFS commands issued will pick up this entry and won’t challenge you to authenticate.

Our devbuild script issues a tf get command via an msbuild task, and this was failing as it was attempting to prompt the user to authenticate. After manually adding the entry as described, the devbuild runs as it should.

Posted:

June 26, 2007 @ 8:50

Categories:

Development

Tags:

, , ,

Comments:

No comments so far

Comments RSS feed for comments on this post.

No comments yet.

Leave a comment