Configure Windows to Log in to TFS Automatically

I got an email last night from a user of Dubbelbock who's Team Foundation Server (TFS) is running in "workgroup" authentication mode.  Workgroup mode means that you've installed TFS on a server that not part of an Active Directory domain.  Since it isn't part of an Active Directory domain, all the user accounts are defined in Windows on that server.  It isn't a terrible way to run TFS but it does mean that your users will have to type in their login credentials almost every time that they (or the program they are running) accesses TFS.  Typing your username and password for TFS three thousand times a day -- well, it gets old.

There is a way around this.  Windows (XP/Vista/2003) has a feature that allows you to store a "network credential" in the OS for servers you access.  You type in the server name, your username, and your password and then you never have to type it in again. 

Here are a couple of walk-throughs on how to set up the stored password so that you can stop typing your username and password in again and again and again.  This will take care of the password problem when you access TFS from Team Explorer/Visual Studio, tf.exe, tfpt.exe, and also from Dubbelbock.

-Ben

posted @ Wednesday, October 10, 2007 8:07 AM

Print

Comments on this entry:

# re: Configure Windows to Log in to TFS Automatically

Left by Jason at 1/10/2008 11:03 AM
Gravatar
I can't seem to get this to work when connecting to a TFS outside of our network through https://. Any thoughts?

# re: Configure Windows to Log in to TFS Automatically

Left by qbik at 6/27/2008 5:19 AM
Gravatar
Great, it worked. Keep in mind that in 'TFS_SERVER\username' TFS_SERVER should be uppecase (at least in most cases).
Another trick to do this is to map a network drive shared on the tfs_server and remember the credentials.

# re: Configure Windows to Log in to TFS Automatically

Left by Ivan Paulovich at 7/12/2008 10:33 AM
Gravatar
It didn't worked well for me. Windows just remember my UserName but I need to type password again and again to log on codeplex.

# re: Configure Windows to Log in to TFS Automatically

Left by jammer at 11/16/2008 4:15 AM
Gravatar
great post great skills
love the stuff u wrote here

Your comment:



 (will not be displayed)


 
 
 
Please add 7 and 2 and type the answer here:
 

Live Comment Preview:

 
«March»
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910