String 0 Posted December 17, 1999 Slightly off topic but does the "run as" dialog box ONLY work for files called setup.exe or can i invoke it manually. Wondering as i never log is as admin and like to install stuff without relogging it (win2k lacks proper SU command) If "run as" can be invoked manually id appreciate someone telling me how Share this post Link to post
rsr 0 Posted December 28, 1999 You can use the runas command in command prompt. -- RSR C:\>runas RUNAS USAGE: RUNAS [/profile] [/env] [/netonly] /user:<UserName> program /profile if the user's profile needs to be loaded /env to use current environment instead of user's. /netonly use if the credentials specified are for remote access only. /user <UserName> 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.mycompany.com "notepad \"my file.txt\"" Share this post Link to post