Posts Tagged ‘runas’

RUNAS USAGE:

RUNAS [ [/noprofile | /profile] [/env] [/savecred | /netonly] ]
/user:<UserName> program

RUNAS [ [/noprofile | /profile] [/env] [/savecred] ]
/smartcard [/user:<UserName>] program

RUNAS /trustlevel:<TrustLevel> program

/noprofile        specifies that the user’s profile should not be loaded. This causes the application to load more quickly, but can cause some applications to malfunction.
/profile             specifies that the user’s profile should be loaded.  This is the default.

/env                   to use current environment instead of user’s.
/netonly          use if the credentials specified are for remote access only.
/savecred         to use credentials previously saved by the user. This option is not available on Windows 7 Home or Windows 7
Starter Editions and will be ignored.
/smartcard        use if the credentials are to be supplied from a smartcard.

/user                 <UserName> should be in form USER@DOMAIN or DOMAIN\USER

/showtrustlevels    displays the trust levels that can be used as arguments to /trustlevel.

/trustlevel       <Level> should be one of levels enumerated in /showtrustlevels.

See below for examples
Read the rest of this entry »

Categories
Sponsor Links