Run As — windowssystem32 unas.exe
Use Run As to open an application in another user's context, which means that the settings and privileges imposed upon an application are those associated with the specified account. This is especially useful when running services or other background applications, where you can't always assume which user will be logged on at any time, but you want to make sure the settings and permissions are correct. Run As takes the following parameters:
runas [/noprofile] [/env] [/netonly] /user:username program
Option |
Description |
---|---|
|
The full path and filename of the .exe file to run. |
/user: |
The user name of the form user@domain or domainuser. |
/noprofile |
Don't load the user's profile (in HKEY_CURRENT_USER). |
/env |
Uses the current environment space instead of username's. |
/netonly |
Specifies that specified credentials are for remote access only. |