How do you specify the user name VSSConverter.exe should use?

787 views Asked by At

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.

1

There are 1 answers

1
granth On BEST ANSWER

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**