Question

I am using VSSConverter.exe to migrate from VSS to TFS (About time too). I am having an issue because the account I am running it under is not on the same domain as the TFS server. Is there any way to tell the VSSConverter.exe tool which server account to use?

For example when I use the tf command line I add the /login:myname,mypassword switch like this:

C:> tf dir $\ /login:myname,mypassword etc...

Is there some way I can do the same with the VSSConverter.exe?

The error I am getting by is this:

TF60071: Your user account does not have permission to connect to the Team Found ation Server 'https://www.example.com/tfs/DefaultCollection'. Please contact your Team Foundation Server administrator and request that the appropriate permission be added to your account.

Was it helpful?

Solution

VSSConverter.exe will try and connect to TFS with the account that it is currently running as. Sometimes that account cannot be added to TFS, or used with TFS - e.g. There is no domain trust between the two domains.

To specify alternate credentials, you can use the windows credential manager to store them. VSSConverter will then try and use these to connect to the server.

In Windows 7, you can do this:

Control Panel > User Accounts > Manage Windows Credentials > Add a Windows credential

Network address: www.example.com
User name: DOMAIN\user
Password: Password

You can also get to it by going to:

Start > Run
Type: **rundll32.exe keymgr.dll,KRShowKeyMgr**
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top