Azure DevOps, Scrum, & .NET Software Leadership and Consulting Services

Free course! Predicting the Future, Estimating, and Running Your Projects with Flow Metrics

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

SUBSCRIBE TO THE BLOG


2 responses to “Configure Windows to Log in to TFS Automatically”

  1. qbik Avatar
    qbik

    Great, it worked. Keep in mind that in ‘TFS_SERVERusername’ 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.

  2. […] Configure Windows to Log in to TFS Automatically – Benjamin … […]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.