"Run as.." for .msi files

Have you ever encountered the situation where you can not right click an .msi file and select "Run as.." to run it as another user?

Well, if you have, then you know it is frustrating. A quick workaround to this issue is right clicking "cmd.exe" and selecting "Run as.." to run it as the administrator(or another user) and then drag and drop the file that you want to be executed with administrator privileges. Voila! 🙂

Well, if this is something that happens quite regularly, then you are better off with changing the registry settings. Here’s how you do it:

Copy and paste the text below to a .reg file(Create a new file and change the extension to .reg) and run it.

I haven’t tried it out yet, but it should work. This gives a right click option for "Run as.." for .msi and .msp files.. Drop a comment of its success/failure if you try it.


@=”\”%1\” %*”


@=”\”%1\” %*”

To add this function for all users, use the following script instead (NOTE: Installing this script requires Admin rights or write privileges to the HKEY_CLASSES_ROOT registry hive.):

Windows Registry Editor Version 5.00

@=”\”%1\” %*”


@=”\”%1\” %*”


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: