Wednesday 22 May 2013

Run as a diffenrent user account eventhough your computer is not a part of the domain

As a consultant you often need your computer is not a part of your clients domain, however you need to run programs on their servers as a domain account given to you.

"Right-click" -> "Run as" does not work..

But THIS PowerShell command will do the trick:
  • runas /netonly /user:domain\username cmd.exe

TIP: How to Run Programs as a Domain User from a Non-domain Computer
Pretend You’re On The Domain With Runas /NetOnly

No comments:

Post a Comment