Run As


Run As \ windows \system32\runas.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

program

The full path and filename of the .exe file to run.

/user: username

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.

TIP

figs/frog_climbingxp_tip.gif

The Scheduled Tasks feature also lets you run applications under a different user account.



Windows XP Pocket Reference
Windows XP Pocket Reference
ISBN: 0596004257
EAN: 2147483647
Year: 2001
Pages: 154
Authors: David A. Karp

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net