Feb 192013
 

Recently, I had to authenticate to Team Foundation Server using an account with greater permissions to perform some administrative tasks.  As you may know, this requires entering alternate credentials when you add the server to the list of TFS servers, or when you need to connect to the server.  Once you’ve connected once, you aren’t prompted again as the credentials are cached locally.

In the past, to remedy this, you could simply delete the local TFS cache, which is located in the following directory (Windows Vista and onwards):

<system drive>\Users\<your profile>\AppData\Microsoft\Team Foundation

image

However, in more recent versions this has changed somewhat, and the user’s credentials are no longer linked to the local TFS cache or configuration.

Where are the Credentials?

Good question.  After some digging about, it seems that the credentials are now stored in the user’s Credential Manager store within Windows.  If you aren’t familiar with this, it was introduced on the more recent versions of Windows, and it lives via the Control Panel, under the following path: Control Panel->User Accounts

image

Inside this location, you can view all the locally cached credentials, including Windows Credentials:

image

Note: that it appears that for TFS credentials used by Team Explorer and other applications, the credentials are the ones under “Generic Credentials” not under “Windows Credentials” (in case you have TFS entries in both).

Making Changes

To modify or remove the credentials you use to connect to TFS, simply expand the appropriate entry and click on “Edit”, or to delete the local credentials, click on “Remove”.  If you opt to remove the credentials, you’ll be prompted to enter new credentials next time you connect to the specified TFS server.

image

 

So that was a little out of the way. When I tested this, I made sure that I’d disconnected from TFS before changing/removing the credential configuration.

It would be nice if Team Explorer linked to the Credentials Manager so we didn’t have to go digging to work this out, wouldn’t it?

Aug 172012
 

It’s been a massive week for Microsoft.  We are really in full swing when it comes to the largest release cycle in Microsoft’s history.

It all began on Wednesday at 10 AM PST (Pacific) which is an appallingly wee-hours 3 AM AEST (Australian East).  Insomnia had gripped me, so with a glance at the clock, I decided to stumble online.  Just on the release time, my machine decided that it had to reboot owing to a security patch.

By the time the damned thing rebooted it was too late – MSDN/TechNet were being pummelled by eager subscribers all intent on downloading the RTM ISOs.  I simply couldn’t get launch an Akamai download.

In the end I had to wait until yesterday afternoon, when the queue had died down.  There is quite a lot to digest, including the dark horse, Team Foundation Server 2012.  Word on the grapevine is that Windows Server 2012 will also go RTM shortly as well.

There are quite a number of considerations confronting the subscriber – platform (x86 or x64), locale (US or UK English?), license (Retail, VL, MSDN) and flavour (Win 8 or Win 8 Enterprise, Visual Studio Ultimate/Professional or Premium?).  As one friend put it to me: “What’s the difference?”

For a good look at the differences, here are some helpful links:

Compare Flavours of Windows 8

Compare Editions of Visual Studio 2012

Noting that Windows 8 Enterprise has the features of Windows Pro but has extra support for large organizations.

There are also quite a few additional installation packages to compliment Visual Studio 2012 including the Test Agents (which I’ve mentioned in previous articles to do with establishing load testing), Intellitrace Collector, Remote Tools and the ever handy TFS Everywhere.

Once Windows Server 2012 joins the fray, we will have a very busy period indeed.  Much to write about, so little time.  You’ll also hear from me (with no undue level of verbosity) as I blog live from Microsoft Australia’s annual tech-fest, TechEd 2012 which is on the Gold Coast this year.

Enjoy the new releases and check back here for more, as I begin my long journey diving into the latest tech.