Here are some examples of the shortcut targets I made: (obviously, change the domain\username to your domain credentials for the remote environment)
C:\Windows\System32\runas.exe /user:domain\username /netonly "C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Ssms.exe"
C:\Windows\System32\runas.exe /user:domain\username /netonly "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe"
C:\Windows\System32\runas.exe /user:domain\username /netonly "%comspec% /k \"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat\" x86"
C:\Windows\System32\runas.exe /user:domain\username /netonly "C:\Program Files (x86)\Microsoft Visual SourceSafe\ssexp.exe"
In some cases you may need to run the applications as administrator. The easiest way I found to escalate privileges:
- Right-click on the shortcut
- Click Properties
- On the "Shortcut" tab, click "Advanced..."
- Check the "Run as administrator" checkbox
- Click OK (closes the Advanced Properties dialog)
- Click OK (closes the Properties dialog)
This method removed all of my authentication issues and I could development as usual.
No comments:
Post a Comment