Return to Snippet

Revision: 21117
at December 3, 2009 13:34 by karlhorky

Initial Code
Windows Registry Editor Version 5.00

@="Install &as"

@="msiexec /i \"%1\""

Initial URL

Initial Description
RunAs is a great way of temporarily elevating your privileges to admin level when you are logged on as an ordinary user. However, while you can right-click on .exe files and select Run As from the shortcut menu, this doesn't work with Windows Installer (.msi) packages. 

Here's a workaround that makes this possible. 

Credit for this trick goes to:

Initial Title
MSI Right-click Context Menu: Install As (other user or administrator)

Initial Tags

Initial Language
Windows Registry