Tech News Today, Marshmallow Custom Rom, Huawei, Run Programs, Network, Chromebook, Bank Account

Kamis, 31 Mei 2012

Using Command Prompt to run a program as administrator

Using Command Prompt to run a program as administrator - To all visitors of this blog, I say welcome and thank you for visiting the blog Tech News Today Look for all the things you need that are available on this blog. If not available, please leave suggestions and comments for the development of this blog. now we will discuss first about Using Command Prompt to run a program as administrator we have collected a lot of information from sources to create this article, so please see.

Articles : Using Command Prompt to run a program as administrator
full Link : Using Command Prompt to run a program as administrator

You can also see our article on:


Using Command Prompt to run a program as administrator

If you want to work for your administrative login or account and do certain installation or task, the Run As command eliminated the need to log off and log on the administrator desktop.

Quick Tip
If you are logged on as limited account you can run a program as a different user or administrator by typing

runas.exe /user:[username] path at the command prompt.

taskbarappearance

For more details:

C:\Windows\system32>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.
   program         command line for EXE.  See below for examples

Examples:
> runas /noprofile /user:mymachine\administrator cmd
> runas /profile /env /user:mydomain\admin "mmc %windir%\system32\dsa.msc"
> runas /env /user:user@domain.microsoft.com "notepad \"my file.txt\""

NOTE:  Enter user's password only when prompted.
NOTE:  /profile is not compatible with /netonly.
NOTE:  /savecred is not compatible with /smartcard.

Thanks for reading the article!



information Using Command Prompt to run a program as administrator has been completed in the discussion.

hopefully the article we give the title Using Command Prompt to run a program as administrator can provide knowledge for you in living everyday life in determining the gadget that suits your needs.

you just read the article about Using Command Prompt to run a program as administrator if this article is useful for you and want to bookmark it or share it please use the link https://sihanandi.blogspot.com/2012/05/using-command-prompt-to-run-program-as.html thank you and do not forget to comment if anyone.

Tag :
Share on Facebook
Share on Twitter
Share on Google+
Tags :

Related : Using Command Prompt to run a program as administrator

0 komentar:

Posting Komentar