Tag: Run As

  • How to Start an Application as Another User from the Command Line in WIndows

    How to Start an Application as Another User from the Command Line in WIndows

    Via the GUI it is easy however… Recently I had the need to run an application from the command line under a different user context. My computer was not domain joined but I wanted to run the application as a domain user. I achieved it using the line below. runas /netonly /user:sub.domain.tld\username “C:\Windows\System32\mmc.exe C:\windows\System32\dsa.msc /domain=sub.domain.tld…