Geeks With Blogs

News
Things Mark Flory Forgets Because Who Needs Memory When There is the Internet

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.

Posted on Wednesday, May 12, 2010 2:21 AM | Back to top


Comments on this post: Running an Application on a Different Domain

# re: Running an Application on a Different Domain
Requesting Gravatar...
This video pack is free of cost or any chargeable
Left by Whale Pump on Dec 03, 2010 9:00 PM

Your comment:
 (will show your gravatar)


Copyright © Mark Flory | Powered by: GeeksWithBlogs.net