0

Opening Visual Studio today, I was asked for credentials for our TFS server and unthinkingly entered the admin credentials. Now, whenever I create a workspace in Source Control Explorer (SCE) it is setting the owner to be the admin and I can't get access to my own workspace. How do I change the user for SCE? I can create a workspace with myself as a user, but then it doesn't appear on the list of workspaces at the top of the Source Control Explorer window. I can't believe how difficult this is!

Note: this is different to the connection to TFS, which is still using my credentials. The SCE user seems to be purely for the purposes of creating work spaces.

All of the research I performed lead to answers relating to running TF commands. So I could change the workspace owner, I assume, so that I can gain access to it, but it doesn't really solve the underlying issue. Any new workspace I create using that installation of VS is going to be created using the admin login, which I could see causing issues further down the line. I really want to be able to tell VS to create workspaces under my own login.

5
  • I went through this wonderment yesterday, and I found several existing Q&A's on SO that explain how to change a workspace owner. It would be helpful if you edit your question and explain what you found in your research, what you tried, and how it didn't fix the issue. Commented Nov 19 at 20:00
  • FYI, the solutions I found on SO didn't work for me b/c there were pending changes in the other workspace and shelving didn't work. I ended up creating a new folder on my computer, created a new workspace associated with that new folder and let TFS download the codebase to the new folder. Commented Nov 19 at 20:03
  • I think this solution would have worked for me if there weren't pending changes that needed to be shelved. You might also be able to change the existing workspace to public in order to allow you to operate on it. Or delete credentials from Credential Manager Commented Nov 19 at 20:05
  • I suspect that deleting the credentials from Credentail Manager might do the trick, but company policy dictates that I'm can't get access to Windows Credentials. It's possible that I was prompted for the connection because my password had expired; on the other hand, this has never happened before. The admin password doesn't expire, however, so I'm never going to get that prompt again. Commented Nov 21 at 10:20
  • Could you change your Windows password to see if it prompts again? Commented Nov 21 at 15:16

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.