Run As —
Run a program under a different user’s account.
Command Prompt →
runas [/noprofile] [/env] [/netonly] /user:
programrunas [/noprofile] [/env] [/netonly] /smartcard runas [/noprofile] [/env] [/netonly] /smartcard [/user:
Windows XP is a multiuser environment. When you open an application, Windows runs that program in a “user context,” which means that the settings and capabilities imposed upon an application are those associated with your user account. Use Run As to instruct Windows to open an application in another user’s context. 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:
The full path, filename, and optional command-line parameters for the
.exefile to run.
The username under which to run
usernameshould be of the form
Specifies that the user’s profile should not be loaded. This causes the application to load more quickly, but can cause those applications that rely on settings stored in the
HKEY_CURRENT_USERregistry key to malfunction.
Uses the current environment instead of
Specifies that the credentials specified are for remote access only.