Tuesday, April 12, 2011

Saving TFS credentials

Go to Control Panel\User Accounts\Credential Manager
Add windows credentials - put network address as your TFS server and your credentials.
That did it. VS2008 on windows server 2008 R2 did not ask for TFS credentials.
This thing also worked on command prompt too - I didnt have to provide credentials for "tf get"

For windows XP :
Go to Control Panel\User Accounts\Advanced\Manage Password - Add

If your machine does not show Add button , try this
1. Enable your "Protected Storage" service from services.msc
2. run secpol.msc Go to Local Policy -> Security Options -> Disable the policy "Network access: Do not allow storage of credentials or .NET Passports for network authentication"