"Run As"
This is a discussion about "Run As" in the Windows Software category; 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.
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
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
Participate in our website and join the conversation
This subject has been archived. New comments and votes cannot be submitted.
Dec 17
Dec 28
0
1 minute
Responses to this topic
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\""
--
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\""