Running an Application on a Different Domain
Posted
by Mark Flory
on Geeks with Blogs
See other posts from Geeks with Blogs
or by Mark Flory
Published on Wed, 12 May 2010 13:21:46 GMT
Indexed on
2010/05/12
14:24 UTC
Read the original article
Hit count: 229
Were I am contracting at right now has a new development domain. Because of IT security rules it is fairly isolated from the domain my computer normally logs into (for e-mail and such). I do use a VM to log directly into the domain but one of my co-workers found this command to run things on your box but in the other domain. Pretty cool.
For example this runs SQL Server Management Tool for SQL Server 2008:
runas /netonly /user:{domain}\{username} "C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\ssms.exe"
And this runs visual studios:
runas /netonly /user:{domain}\{username} "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe"
It does not solve the problem I wanted to solve which would be to be able to assign Users/Groups in Team Explorer. It instead still uses the domain I am logged into's groups.
© Geeks with Blogs or respective owner