开发者

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

开发者 https://www.devze.com 2023-02-01 16:25 出处:网络
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

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.


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

精彩评论

暂无评论...
验证码 换一张
取 消