How To make RUN prompt to execute programs with Admin rights

Discussion in 'Windows 8' started by quill, Nov 14, 2012.

  1. 100

    100 MDL Expert

    May 17, 2011
    1,349
    1,576
    60
    #21 100, Nov 14, 2012
    Last edited by a moderator: Apr 20, 2017
  2. quill

    quill MDL Novice

    Aug 19, 2012
    22
    4
    0
    Well, you are right 100 :) Ctrl+Shift+Enter is the quickest. Probably the best option I can have, but it takes me off to full screen window of apps for 1-2 sec.
     
  3. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    #23 s1ave77, Nov 14, 2012
    Last edited by a moderator: Apr 20, 2017
    Makes me wonder, cause i get this :D:

    Code:
    C:\Windows\system32>runas /?
    RUNAS USAGE:
    
    RUNAS [ [/noprofile | /profile] [/env] [/savecred | /netonly] ]
            /user:<UserName> program
    
    RUNAS [ [/noprofile | /profile] [/env] [/savecred] ]
            /smartcard [/user:<UserName>] program
    
    RUNAS /trustlevel:<TrustLevel> program
    
       /noprofile        specifies that the user's profile should not be loaded.
                         This causes the application to load more quickly, but
                         can cause some applications to malfunction.
       /profile          specifies that the user's profile should be loaded.
                         This is the default.
       /env              to use current environment instead of user's.
       /netonly          use if the credentials specified are for remote
                         access only.
       /savecred         to use credentials previously saved by the user.
       /smartcard        use if the credentials are to be supplied from a
                         smartcard.
       /user             <UserName> should be in form USER@DOMAIN or DOMAIN\USER
       /showtrustlevels  displays the trust levels that can be used as arguments
                         to /trustlevel.
       /trustlevel       <Level> should be one of levels enumerated
                         in /showtrustlevels.
       program         command line for EXE.  See below for examples
    
    Examples:
    > runas /noprofile /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:  /profile is not compatible with /netonly.
    NOTE:  /savecred is not compatible with /smartcard.
    
    C:\Windows\system32>
    
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. quill

    quill MDL Novice

    Aug 19, 2012
    22
    4
    0
    Yeah, I understood. Something that I have to deal with. Using a password doesn't make people sane.

    Well, actually I thought he was referring it to "Run Dialog"/"Run Prompt" to seek for examples. Then later I had to get it from CMD.
     
  5. quill

    quill MDL Novice

    Aug 19, 2012
    22
    4
    0
    #25 quill, Nov 14, 2012
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Well, actually I didn't know this one too. thanks.

    Buddy, can't you just knock it off? I was trying to get help and indeed you know how get around with CMD better than me. You can't just assume everyone to be as knowledgeable as you are.