Discussion Locked

Run as command

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I heard you have a run as command in 2000. It allows you to run programs as a administrator while under another profile.

7 replies

by gooseneck

Hold down the Shift Key and then Right Click on program. RunAs should appear.
XP login domain\user
2000 you dont have to type domain\user

by joseph moore

C:\>runas /?
RUNAS USAGE:

RUNAS [/profile] [/env] [/netonly] /user: program

/profile if the user's profile needs to be loaded
/env to use current environment instead of user's.
/netonly use if thecredentials specified are for remote access only.
/user should be in form USER@DOMAIN or DOMAIN\USER
program command line for EXE. See below for examples

Examples:
> runas /profile /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: USER@DOMAIN is not compatible with/netonly.

This discussion is closed to new replies.