If you are logged in as a standard user, you can also use the Run as administrator command to run the program as a different user, even if the user does not have an administrator account. To do this, click Run as administrator and select the user account. If you are logged in as an administrator and need to run the program as a different user, you will need to type runas.exe /user name in the Command Prompt window.
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 will speed up application loading, but
may cause some applications to not function properly.
/profile Specifies that the user's profile should be loaded.
This is the default.
/env To use the current environment, not the user's environment.
/netonly Use only if the specified credentials are restricted to remote access.
/savecred Use the credentials previously saved by the user.
This
option is not available on Windows Vista Home or Windows Vista Starter versions.
This option will be ignored.
/smartcard Use this option if the a credential is provided by a smart card.
/user < UserName> should use the USER@DOMAIN or DOMAIN\\USER form
/showtrustlevels to display the
trust level that can be used as a parameter for /trustlevel.
/trustlevel < Level> should be a level that enumerates
in /showtrustlevels.
Command line for program EXE. See the example below
For example:
> runas /noprofile /user:mymachine\\administrator cmd
> runas /profile /env /user:mydomain\\admin "mmc %windir%\\system32\\dsa.msc"
> runas /env /user:[email protected] "notepad "my file.txt""
Vista Home Tip: Note: Enter the user's password only when prompted.
Note: /profile is not compatible with /netonly.
Note: /savecred is not compatible with /smartcard.
Everyone knows that the command prompt window of the Windows system can use the ping command to ping
Windows XP, Win7, Win8, and Win10 all come with a CMD command prompt, similar to
This article will discuss with you how to use the Ping command to check the reason why you cant acce
Windows users are no strangers to the Windows clipboard. If we use Windows, we wi
Windows Vista command runas.exe full resolution
Modify the command to make the Windows disk cleaning function more powerful
Recovery Console Command Input Tips
Use the "Send To" command to easily transfer files
How to set the boot entry? Start command command detailed
Start → Run → Command Highlights
Personality settings CMD command line is not allowed to let go
Using the command line parameters to patch the system
Why is my computer screen as large as the security mode (XP computer)
How to upgrade Windows10 with "Preview Version"
Win7 computer login through the fire line LOL prompt "server connection failure solution
Let P2SP download more smooth Thunder use tips highlights
Window xp protects system security with "local security policy"
How to add background music to a folder
How to turn off 360 security guard Ctrl search function under win7 system
How to divide more than 4 Win8 partitions?