Microsoft System Center & Windows Blogs
SCCM 2007 Microsoft System Center
Monday, October 25, 2010
Allows a user to run specific tools and programs with different permissions than the user's current logon provides
Execute a program under a different user account.
RUNAS [/profile] [/env] [/netonly] /user:user Program
/profile Option to load the user's profile (registry)
/env Use current environment instead of user's.
/netonly Use the credentials specified only for remote connections.
/user Username in form USER@DOMAIN or DOMAIN\USER
(USER@DOMAIN is not compatible with /netonly)
Program The command to execute
Enter the password when prompted_
C:\>runas /user:localmachinename\administrator cmd
C:\>runas /user:domain\username cmd
Enter the password for domain\username
Share to Twitter
Share to Facebook
Share to Pinterest
run as admin
runas /user:localmachinename\administrator cmd
Post a Comment
Post Comments (Atom)