Permits the execution of specific tools and programs with different permissions than those provided by the user's current account.
runas [/profile | /noprofile] [/env] [/netonly] [/smartcard] [/showtrustlevels] [/trustlevel] /user:UserAccountName program
Parameters | |
---|---|
| |
Parameter | Purpose |
| |
/profile | Provides the name of the user's profile. |
/noprofile | Prevents loading of the user's profile. |
/env | Replaces the user's local environment with the current network environment. |
/netonly | Specifies that the user information is to be used for remote access. |
[/smartcard] | Specifies that credentials are to be provided by a smartcard. |
[/showtrustlevels] | Displays /trustlevel options. |
[/trustlevel] | Sets the authorization level that is to be used to run the application. |
/user:UserAccountName | Specifies the account with which to execute the program in the form of user@domain or domain\user. |
program | Specifies the program or command to be executed by a specified account. |