1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

OT: Registry OPEN verb to start elevated...

Discussion in 'Support' started by Charles G, Aug 5, 2014.

  1. Charles G

    Joined:
    Apr 2, 2011
    Messages:
    1,017
    Likes Received:
    0
    I have the following snippet in the Registry. How can I get it to start Notepad but with elevated "Run as administrator" privileges ?

    Code:
    REGEDIT4
    [HKEY_CLASSES_ROOT\MyDefrag v4.3.1\shell\edit]
    [HKEY_CLASSES_ROOT\MyDefrag v4.3.1\shell\edit\command]
    @="Notepad.exe \"%1\""
    
     
  2. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,300
    Likes Received:
    39
    Change both instances of "edit" to "runas".
     
  3. Charles G

    Joined:
    Apr 2, 2011
    Messages:
    1,017
    Likes Received:
    0
    Thank you "the other Charles"....
     

Share This Page