Friday, November 16, 2012

HowTo: Run application as a user from another domain

Sometimes (pretty often actually) I need to run application as another user.
What I usually do in this case - SHIFT+right-click

and that works as charm.... unless the account I need to run under comes from another domain.
Then I get this:
In that case there is a neat solution from command line:

runas /user:domain\username /netonly "application.exe"

Made my life way more easy :)

1 comment: