Guest User

Untitled

a guest
Mar 29th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. RUNAS
  2.  
  3. Execute a program under a different user account.
  4.  
  5. Syntax
  6. RUNAS [/profile] [/env] [/netonly] /user:user Program
  7.  
  8. Key
  9. /profile Option to load the user's profile (registry)
  10. /env Use current environment instead of user's.
  11. /netonly Use the credentials specified only for remote connections.
  12. /user Username in form USER@DOMAIN or DOMAINUSER
  13. (USER@DOMAIN is not compatible with /netonly)
  14. Program The command to execute
  15.  
  16. runas /user:DOMAINuser my.exe
  17. Enter the password for DOMAINuser:
  18.  
  19. runas /user:DOMAINuser /password:123456 my.exe
Add Comment
Please, Sign In to add comment