Käsklus runas

From ICO wiki
Revision as of 09:36, 5 November 2010 by Aunuks (talk | contribs) (→‎Näited)
Jump to navigationJump to search

Autor

Alvar Unuks AK41

Sissejuhatus

runas võimaldab kasutajal kasutada erinevaid programme erinevates õigustes

Süntaks

runas [{/profile|/noprofile}] [/env] [/netonly] [/smartcard] [/showtrustlevels] [/trustlevel] /user:UserAccountName program

Näited

Kui sa soovid kasutada Administraatori kontot oma arvutis, user: parameetriks, trüki üks järgnevatest


/user:AdministratorAccountName@ComputerName

/user:ComputerName\AdministratorAccountName • Kui sa soovid kasuatada ühte käsklust kui domeeni administraator, trüki üks järgnevatest käskudest

/user:AdministratorAccountName@DomainName

/user:DomainName\AdministratorAccountName

Parameetrid

Parameters

/profile : Loads the user's profile. /profile is the default.

/no profile : Specifies that the user's profile is not to be loaded. This allows the application to load more quickly, but it can also cause a malfunction in some applications.

/env : Specifies that the current network environment be used instead of the user's local environment.

/netonly : Indicates that the user information specified is for remote access only.

/smartcard : Indicates whether the credentials are to be supplied from a smartcard.

/showtrustlevels : Lists the /trustlevel options.

/trustlevel : Specifies the level of authorization at which the application is to run. Use /showtrustlevels to see the trust levels available.

/user:UserAccountName : Specifies the name of the user account under which to run the program. The user account format should be user@domain or Domain\User.

program : Specifies the program or command to run using the account specified in /user.

/? : Displays help at the command prompt.