How can I run a program as another user in Windows 2000?
December 21, 1999
A. Windows 2000 includes the utility RUNAS.EXE which allows you to runa program as another user without having to log off. This is most useful forAdministrators who may need to run a single command as an Adminstrator.
The basic usage is:
C:> runas /user:[email protected] regedit.exe
or
C:> runas /user:savtechAdministrator regedit.exe
Both the Windows 2000 naming methods can be used, the 4.0 style"domainuser" or the Windows 2000 User Principal Name (UPN),user@.
Full help can be found by typing 'runas /?'.
After entering the runas command you will be prompted for the password of thespecified account, e.g.
C:>runas /user:[email protected] regedit.exe Enter password for [email protected]: Attempting to start "regedit.exe" as user"[email protected]"...
Another option would be to install the telnet service on the machine and youcould then telnet back into the machine as the other user, run the commandwithout having to log off the main user.
You can also shift+right click on an item and choose "Run As" fromeither Explorer, Desktop to bring up the Run As dialog and allow you to specifya user/password.
Click here to view image
About the Author
You May Also Like