How To Run .msi File as Administrator in Windows 7

Posted In Windows - By Piyush Dungrani On Wednesday, December 15th, 2010 With 1 Comment

Run .msi File as Administrator in Windows 7 and Windows Server 2008. Today i had tried to install .msi file in my windows server 2008 and windows 7 machine but got “You do not have sufficient privileges to complete this installation for all users of the machine. Log on as administrator and then retry this installation” message.

 How To Run .msi File as Administrator in Windows 7

What changes should I make in the msi? How should I make them. I don’t want to write another program to run my msi like using shellexecute. I just want to change my msi so that it can run as administrator on windows7 and windows server 2008 both.

- What most people don’t realize is that most files that have a program association can be executed directly from the command line in the Windows Command Prompt. “.msi” files are no different, and are associated with the Windows installer. That realization gives us perhaps the quickest and easiest work around to this problem.

Steps to Run .msi File as Administrator in Windows 7

1) Locate the Windows Command Prompt shortcut in your Programs menu.

- Typically Programs >> Accessories >> Command Prompt), and right click on it:

Command+Prompt+Run+as+Administrator How To Run .msi File as Administrator in Windows 7

2) Now change the directory path. (Example: Your msi file is located at d:Setupabc.msi, then you should go the root of that folder through command prompt and done).

Change+File+Path How To Run .msi File as Administrator in Windows 7

- Most of the problems in windows 7 and windows server 2008 are coming because of the administrative privileges issues. Right click and Run as Administrator option can start most of them.

- And voila! my setup runs like a charm icon smile How To Run .msi File as Administrator in Windows 7 , hope if you will get this aritcle useful when you are coping up with windows server 2008 and window 7.

Incoming search terms:

run msi as administrator windows 7, how to run msi as administrator windows 7, how to run a msi file as administrator, run as administrator msi windows 7, how to run msi file as administrator windows 7, how to run msi file as administrator, msi files windows 7, msi run as administrator windows 7, run as administrator windows 7 msi, run as administrator MSI, how to run msi as administrator in windows 7, run msi file as administrator windows 7, windows 7 run msi as administrator, win7 install msi as administrator, msi run as administrator windows 2008

About - A techie by profession (software engineer) and a part time blogger by choice with immense knowledge of SEO, also writes articles on Google, Microsoft, Apple, iPhone, Internet, Blogger, Social Media and windows. Catch him on Twitter, Join Facebook Fan Page. Subscribe to GeekBlogger feed via RSS or EMAIL to receive instant updates.

Displaying 1 Comments
Have Your Say

  1. gluttonie says:

    It is working! Thanks!
    Remember the “.msi” at the end of the file name

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>