How to remove automatic login to Visual Studio Onlin(Team Froundation Source control) in Visual Studio 2012 and 2013 Ultimate?

I open my VS and if I just click on the Team Explorer tab, it automatically logs me into VS Online's source control of Team Foundation.   How can I get rid of that and have it ask me to log into my VS Online account each time?
Thank you.
lapuccaAsked:
Who is Participating?
 
Randy DownsOWNERCommented:
Was there a checkbox to remember credentials?


Go to Control Panel (Start -> Control Panel).

Click User Accounts ( or User Accounts and Family Safety->User Accounts in Windows 7 Machine)

Click Credential Manager (or Manage your credentials)

In Credential Manager page, you can see the two type of credentials

   i. Windows Credentials
   ii. Generic Credentials
5.Click on two credentials modify link, click the link Remove from vault to remove stored TFS credentials.

Now, When you login into Visual Studio you will be asked to give credentials to connect TFS.

Note: Don't forgot to uncheck the option Remember my credentials to force to ask credentials for every TFS connections.
0
 
Randy DownsOWNERCommented:
Try this.


1) In VS 2012 Sign Out of the project on the "Connect to Team Foundation Server" dialog

2) Close the dialog

3) In VS 2012 select View -> Other Windows -> Web Browser

4) In VS 2012 type in the URL project1.visualstudio.com

5) Sign Out of the Team Foundation Service

6) Close Visual Studio

7) Open Visual Studio and go through the "Connect to Team Foundation Server" dialog to login as the correct Account 1 user.
0
 
lapuccaAuthor Commented:
I followed your steps but unfortunately it still logs me in automatically.
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
Randy DownsOWNERCommented:
Do you have some password tool enabled like LastPass? Some of these automatically log you in.
0
 
lapuccaAuthor Commented:
I don't think so.  Where can I find if I have it installed locally on my PC or VS?  LastPass isn't that a browser extension program?  I'm getting login to my VS Online account for TFS code automatically from my local PC's VS 2013 Ultimate.
Thank you.
0
 
Randy DownsOWNERCommented:
Yes LastPass is a browser extension. Try this. You could also change the password & it would have to prompt you.

Sometimes you may want to switch to another user to log into your Team Foundation Server (TFS) service. However, you would find that Windows remembers your credentials and log you in automatically. So how to make TFS forget the old credentials so that you can get the chance to enter the user name and password of TFS again? Where is the credentials information stored?
0
 
lapuccaAuthor Commented:
Auto login is happening at my local pc's Visual Studio 2013 Ultimate.  How would LastPass help me?  Anyway, I don't have LastPass installed in my browsers.

Thank you.
0
 
Randy DownsOWNERCommented:
I was thinking something like Lastpass was filling in the password for you. The last link any help?
0
 
lapuccaAuthor Commented:
I already check Windows' Credentail Manager, indicated in your 2nd link, and it doesn't list the VS Online login credential.  I'm able to remove xx.visualstudio.com server record from "Connection to Team Foundation -> Servers" dialog and add the server again than I am asked for my credentials.  
But then, it seems to hold on to it without me asking it to remember my credential.  where do I log off each time I'm done so it will ask me again for credential for next time when I open the VS?
Thank you.
0
 
lapuccaAuthor Commented:
No, there is no checkbox for remembering credential.

I am local admin on my pc but system admin images all our pc with certain restrictions and I don't know if that is interfering here.  I'm attaching the screen shot from my credential manager to show you there is nothing in Generic Credential Manager except for my outlook credential.  

This is very odd that the 2nd layer of protection of requiring my Auth code is removed and it won't ask me to log in.  I closed the visual studio , not able to find where to log off from the VS Online.  I reopen VS on my pc, without specifying any projects.  In the Team Explorer tab,I select the blue text that says "Select Team Projects",  The "Connect to Team Foundation Server" dialog pops up.  In the Servers dropdown, it retains my VS Online url, if I just select that then it automatically connects me if I just click on the Connect button it automatically links me to VS Online and Team Explorer is connected.

It's just odd not able to find where it's storing this log in credential.  I guess I have to delete the VS Online url form the Servers Dropdown from  the "Connect to Team Foundation Server" dialog if I want it to always ask for credential.

Thank you.
cm.jpg
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.