Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RUNAS
- Execute a program under a different user account.
- Syntax
- RUNAS [/profile] [/env] [/netonly] /user:user Program
- Key
- /profile Option to load the user's profile (registry)
- /env Use current environment instead of user's.
- /netonly Use the credentials specified only for remote connections.
- /user Username in form USER@DOMAIN or DOMAINUSER
- (USER@DOMAIN is not compatible with /netonly)
- Program The command to execute
- runas /user:DOMAINuser my.exe
- Enter the password for DOMAINuser:
- runas /user:DOMAINuser /password:123456 my.exe
Add Comment
Please, Sign In to add comment