How do I run a command as another user?

Huyền Thu

New member
How do I run a command as another user?
Answer
To “Run as different user” using RUNAS Command in Command Prompt
  1. Open CMD.
  2. Enter the command. runas /user:USERNAME “C:fullpathofProgram.exe” For example, if you want to start notepad from user Test run this command : …
  3. Now you should enter users password.
  4. If there will be UAC pop up press yes.
14 сент. 2019 г.
 

Tìm kiếm

Back
Top