Video Screencast Help

MSI "Run as administrator" Context Menu for Vista

Created: 03 Apr 2007 • Updated: 20 Nov 2008 | 8 comments
Andy Marks's picture
+1 1 Vote
Login to vote

If you are using Vista with UAC enabled, you may have noticed that some existing MSI packages may not install as expected.

Here's a fix.

The reason is because Windows Installer by default doesn't elevate to higher privileges until it is about to actually start doing work in the install sequence.

The attached .REG file adds a "Run as administrator" option to the context menu for .MSI files. This forces an elevation prompt before the .MSI is run so the entire install session is run with elevated privileges.

License: AJSL
By downloading this software, you agree to the terms and conditions in the Altiris Juice Software License
Support: User-contributed tools on the Juice are not supported by Altiris Technical Support. If you have questions about a tool, please communicate directly with the author by visiting their profile page and clicking the 'contact' tab.

Comments 8 CommentsJump to latest comment

riva11's picture

I didn't try this way but I'll keep it in mind for the next time.

Thanks for this suggestion.


Login to vote
jjesse's picture

If you repackage w/the latest version of Wise Package Studio does it automatically add this check?

Jonathan Jesse

Login to vote
Andy Marks's picture

I don't exactly understand your question. All this does is add a new context menu item in Windows Explorer for MSI files. It doesn't do anything to the packages themselves. This registry setting could be added to the WPS install itself so that it would be available to repackagers working with WPS on Vista.

Login to vote
erikw's picture

This registry setting is doing a great job, and makes the work easier.
You never forget to set the correct permission, because this reg key does it for you.
Great tip.


Regards Erik Dinamiqs is the home of VirtualStorm (

If your issue has been solved, Please mark it as solved

Login to vote
Aaron Phillips's picture

I use this all the time. It beats having to make an .EXE wrapper for the MSI in order to enable the right-click "Run as Administrator" option. It was a great find!

Login to vote
R-Vijay's picture

Great stuff !!!!

Microsoft MVP [Setup-Deploy]

Login to vote
sbmarya's picture

Excellent.. Thanks

Login to vote