"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.

Windows Software 5498 This topic was started by , . Last reply by ,


data/avatar/default/avatar17.webp

23 Posts
Location -
Joined 1999-12-06
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

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Dec 17
Created
Dec 28
Last Response
0
Likes
1 minute
Read Time
User User
Users

Responses to this topic


data/avatar/default/avatar34.webp

1 Posts
Location -
Joined 1999-12-28
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\""