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

Open .msi files as a Limited User by using RUNAS

Discussion in 'Windows XP' started by Mint, Aug 21, 2010.

  1. Mint

    Mint Flightless Bird

    Windows Registry Editor Version 5.00
    ; Open .msi files as a Limited User by using RUNAS
    ;
    [HKEY_CLASSES_ROOT\Msi.Package\shell\runas\command]
    @=hex(2):22,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,
    00,6f,00,74,\
    00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,
    00,6d,00,\
    73,00,69,00,65,00,78,00,65,00,63,00,2e,
    00,65,00,78,00,65,00,22,00,20,00,2f,\
    00,69,00,20,00,22,00,25,00,31,00,22,00,20,00,25,00,2a,00,00,00
     
  2. Tim Meddick

    Tim Meddick Flightless Bird

    That's all very well, but it's not magic! You will still need the correct
    password of a valid user profile on that machine, that has admin
    privileges.

    But by using a "runas" entry from the right-click menu for .msi files, you
    can save time by installing them as another user without having to actually
    logoff / logon into an admin-level user profile.

    ==

    Cheers, Tim Meddick, Peckham, London. :)




    "Mint" <chocolatemint77581@yahoo.com> wrote in message
    news:4ee8fa78-9397-43ea-8d4e-83f94046183e@z28g2000yqh.googlegroups.com...
    > Windows Registry Editor Version 5.00
    > ; Open .msi files as a Limited User by using RUNAS
    > ;
    > [HKEY_CLASSES_ROOT\Msi.Package\shell\runas\command]
    > @=hex(2):22,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,
    > 00,6f,00,74,\
    > 00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,
    > 00,6d,00,\
    > 73,00,69,00,65,00,78,00,65,00,63,00,2e,
    > 00,65,00,78,00,65,00,22,00,20,00,2f,\
    > 00,69,00,20,00,22,00,25,00,31,00,22,00,20,00,25,00,2a,00,00,00
    >
     
  3. Mint

    Mint Flightless Bird

    On Aug 21, 8:40 pm, "Tim Meddick" <timmedd...@o2.co.uk> wrote:
    > That's all very well, but it's not magic!  You will still need the correct
    > password of a valid user profile on that machine, that has admin
    > privileges.
    >
    > But by using a "runas" entry from the right-click menu for .msi files, you
    > can save time by installing them as another user without having to actually
    > logoff / logon into an admin-level user profile.
    >
    > ==
    >
    > Cheers,    Tim Meddick,    Peckham, London.    :)


    I would think knowing the admin password is obvious. :)

    Without this fix, .msi files can't be installed as a limited user.
    This saves time by not having to log on as an admin.

    Take care.
     
  4. Tim Meddick

    Tim Meddick Flightless Bird

    Any shortcut to an item can be configured to "Run with different
    credentials".

    Simply create a shortcut to the program or document you desire to run as a
    different user, then in the shortcut's "Properties" page (r-click >
    Properties) click on the "Shortcut" tab then on the "Advanced" button.
    Checkmark the box "Run with different credentials" and click on [ok] [ok]
    to close.

    Now, whenever you want to run that particular application / file under a
    different user, just double-click on the shortcut you have just saved and
    you will be presented with a dialog enabling you to choose a username and
    password to run it as.

    I realise that the "fix" you provided enables you to run *any* .msi file as
    a different user without having to make a shortcut to it. However, a
    better "fix" would be the following :


    REGEDIT4

    ;Enables ANY file to be opened as a different user by
    ;right-clicking on that file while holding the [shift]
    ;key down, and choosing the "RunAs" menu item.

    [HKEY_CLASSES_ROOT\*\shell\runas]
    "Extended"=""

    [HKEY_CLASSES_ROOT\*\shell\runas\command]
    @="\"%1\" %*"



    ==

    Cheers, Tim Meddick, Peckham, London. :)




    "Mint" <chocolatemint77581@yahoo.com> wrote in message
    news:3fe1e118-4098-4153-8627-8d592ede56ad@f6g2000yqa.googlegroups.com...
    On Aug 21, 8:40 pm, "Tim Meddick" <timmedd...@o2.co.uk> wrote:
    > That's all very well, but it's not magic! You will still need the correct
    > password of a valid user profile on that machine, that has admin
    > privileges.
    >
    > But by using a "runas" entry from the right-click menu for .msi files,
    > you
    > can save time by installing them as another user without having to
    > actually
    > logoff / logon into an admin-level user profile.
    >
    > ==
    >
    > Cheers, Tim Meddick, Peckham, London. :)


    I would think knowing the admin password is obvious. :)

    Without this fix, .msi files can't be installed as a limited user.
    This saves time by not having to log on as an admin.

    Take care.
     

Share This Page