From Wikipedia, the free encyclopedia
In computing, runas is a command in the Microsoft Windows line of operating systems that allows a user to run specific tools and programs with different permissions than the user's current logon provides. It is similar to the Unix command sudo. The feature was introduced with the Windows 2000 operating system.
[edit] Syntax
runas [{/profile | /noprofile}] [/env] [/netonly] [/smartcard] [/showtrustlevels] [/trustlevel] /user:<UserAccountName> program
[edit] Examples
runas /noprofile /user:machine\administrator cmd
runas /profile /env /user:domain\admin "mmc %windir%\system32\dsa.msc"
runas /user:user@domain.example.org "notepad C:\filename.txt"
[edit] See also
[edit] References
[edit] External links
|
Windows command line programs and builtins (more) |
|
File system
(basic) |
|
|
File system
(advanced) |
|
|
| Processes |
|
|
| User environment |
|
|
| Text processing |
|
|
| Shell programming |
|
|
| Networking |
|
|
| Searching |
|
|
| Miscellaneous |
|
|