Managing stored usernames for Visual Studio/TFS version control connections
Posted: (EET/GMT+2)
Once you connect Visual Studio into TFS (Team Foundation Server, or the cloud version, Visual Studio Team Services) and enter your credentials once, you don't have to re-enter them. This is great.
However, there's a single drawback: if you need to change your user name, it's tough to clear it unless you know where to look for. Visual Studio does use Windows' Credential Manager to store the details. The Crendential Manager can be found from the classic Control Panel under User Accounts.
There, look for the Windows Credentials section. It lists all those accounts Visual Studio uses for TFS, but also for things like Remote Desktop. To make Visual Studio "forget" you, simply remove a stored credential. You can also edit credentials.
Here's a nice blog post related to this same issue on MSDN blogs.