Registry Script to Right Click Computer for Elevated Command Window

Discussion in 'Windows Vista' started by admin, Oct 17, 2007.

  1. admin

    admin Administrator
    Staff Member

    Apr 24, 2007
    229
    99
    10
    A registry file to merge into registry to add a right click contextual menu item to Computer to open elevated command prompt.

    Details at blog post here.
     

    Attached Files:

  2. davidrichy

    davidrichy MDL Novice

    Dec 31, 2008
    1
    0
    0
    This did not work for me.

    There was an error mesage when I opened the .reg file. Maybe it was because I have a later version of Registry Editor?
     
  3. GTK48

    GTK48 MDL Member

    Jun 7, 2009
    239
    55
    10
    This did not work for me either.
     
  4. hclarkjr

    hclarkjr MDL Member

    Nov 18, 2007
    148
    44
    10
    worked fine for me.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Sayayin9000

    Sayayin9000 MDL Novice

    Jul 20, 2009
    2
    0
    0
    what can i do for run a shell in cmd in win vista with a admin privs???
     
  6. Sayayin9000

    Sayayin9000 MDL Novice

    Jul 20, 2009
    2
    0
    0
    #6 Sayayin9000, Jul 20, 2009
    Last edited by a moderator: May 23, 2017
  7. skushwaha1989

    skushwaha1989 MDL Novice

    Mar 27, 2010
    1
    0
    0
  8. mpurinton

    mpurinton MDL Novice

    Apr 6, 2010
    1
    0
    0
    The following works with Vista SP1 and later.

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\Directory\shell\runas]
    @="Open Command Window Here as Administrator"

    [HKEY_CLASSES_ROOT\Directory\shell\runas\command]
    @="cmd.exe /s /k pushd \"%V\""

    ;-)
     
  9. gstilwell2010

    gstilwell2010 MDL Novice

    May 9, 2010
    2
    0
    0
    hi there i`m trying to get admin working in cmd with my windows vista and i can remeber it so i need help with the shourtcuts plz reply anyone plz reply with the way to do with cmd thanks