Name
Run As — \windows\system32\runas.exe
Synopsis
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 domain\user. |
/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. |
Get Windows XP Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.