TFS30063: you are not authorized to access – possible solution

From time to time TFS asks me about password. And sometimes there is a moment that after I input correct credentials then TFS displays again login form and without thinking I am trying to input another password. And what is TFS doing then? Silently accepts wrong password and it is going to keep silent until i want to do check in or something connect to source control. But after I want to do something with TFS then… TFS30063 error appears. I think that I found a way to deal with it.

The solution for this problem will propably (well – Microsoft – never can be sure whether it will work next day) resolve your problem assuming that VS/TFS cached your wrong credential somewhere.

First go into credential manager and delete every password that is connected with TFS server that you want to connect to. Optionally you can also use more raw view for you password by running rundll32.exe keymgr.dll,KRShowKeyMgr  command. There you can also delete password on your computer but also backup/restore them. So you can make a copy before deleting passwords if you think that something might go wrong.




Now you need to open Visual Studio as other user. For example you can open it as adminsitrator.







Now try to login to your TFS. You should be able to input correct credential and be happy from results.
Now you can open visual studio in the default way. TFS should work as normal.


Leave a Reply

Your email address will not be published. Required fields are marked *