Unable to launch Visual Studio 2015 as a different user

后端 未结 2 1805
既然无缘
既然无缘 2021-01-11 23:42

In order to limit my own destructive powers, I have two domain accounts, one for normal work and one for TFS admin stuff. For years I have been using the Run as differen

相关标签:
2条回答
  • 2021-01-11 23:57

    Try to run Visual Studio using this command instead:

    runas /netonly /user:<account> devenv.exe
    

    This should be enough to have Visual Studio under a context of another Windows user so it can connect to remote TFS with different credentials.

    I'm running the SQL Server Management Studio as different user this way so I can manage remote SQL servers from different Windows domains.

    PS: I tried to run Visual Studio 2015 Update 3 on Windows 10 version 1607 as different Windows account (standard user account without admin rights) and I got the same warning about the admin rights.

    0 讨论(0)
  • 2021-01-12 00:16

    I have a tried solution which works for me which is I just make the run-as user account to the local administrators group of the computer you are running it from.

    0 讨论(0)
提交回复
热议问题