Use credential manager to use TFS shell extension in a workgroup or outside a domain

Yesterday I’ve blogged about TFS Power tools Shell Extension, and today my friend Michele told me that he has a problem, the extension always told him to Reconnect to server and he is not able to use them.

image_thumb[2]

This is probably due to an authentication request, so you can try to open Team Explorer, and if it asks for credential on connecting to TFS this is the reason. Shell extension are not able to ask for different user, so if you are outside the TFS domain or if you are in workgroup the only solution is going to Control Panel and fire the Credential Manager.

image_thumb[5]

Credential manager permits you to specify credential to use with computer around the network, so you can simply choose to “Add a Windows Credential”

image_thumb[8]

Now insert the credential using domain\username as the user name, if you are in workgroup you should use machinename\username, where machinename is the name of the machine running tfs.

image_thumb[11]

This is my configuration for a test machine in my network.

image_thumb[14]

Now open team explorer again, this time it should not ask for credential, if it still asks you for credentials probably you have entered them wrong in the Credential Manager. Once everything works, try to reconnect from the shell extension, wait a little bit and everything should work.

Alk.

Published by

Ricci Gian Maria

.Net programmer, User group and community enthusiast, programmer - aspiring architect - and guitar player :). Visual Studio ALM MVP

Leave a Reply

Your email address will not be published.

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