Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


November 07, 2003

How can I configure all Windows Installer installations to run with elevated privileges?

RSS
Subscribe to Windows IT Pro | See More Installation Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

A. To run all Windows Installer installations with elevated privileges, perform the following steps:

  1. Open the relevant Group Policy Object (GPO). For example, open the Microsoft Management Console (MMC) Active Directory Users and Computers snap-in, right-click the organizational unit (OU) or domain, select Properties, select the Group Policy tab, select the GPO, then click Edit.
  2. Expand Computer Configuration, Administrative Templates, Windows Components, Windows Installer.
  3. Double-click "Always install with elevated privileges."
  4. Set to Enabled, then click OK.
  5. Expand User Configuration, Administrative Templates, Windows Components, Windows Installer.
  6. Double-click "Always install with elevated privileges."
  7. Set to Enabled, then click OK (you must enable this GPO under both the User Configuration and Computer Configuration sections for it to take effect). Click here to view image

You can also use the registry to enable all Windows Installer installations to run with elevated privileges by performing the following steps:

  1. Start a registry editor (e.g., regedit.exe).
  2. Navigate to the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer registry subkey.
  3. From the Edit menu, select New, DWORD Value.
  4. Enter the name AlwaysInstallElevated, then press Enter.
  5. Double-click the new value, set it to 1, then click OK.
  6. Navigate to the HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Installer registry subkey.
  7. From the Edit menu, select New, DWORD Value.
  8. Enter the name AlwaysInstallElevated, then press Enter.
  9. Double-click the new value, set it to 1, then click OK.
  10. Close the registry editor.

End of Article



Reader Comments
In my system i am having OS win98. As u said above i have tried to edit regedit.exe. but i have a prob, that is i didnt find "Installer register subkey" as u said in point 2. what can i do in this situation. expecting ut reply soon.
with regards


Sendil November 11, 2003


As you said i craeted a DWORD value(AlwaysInstallElevated) of 1 under both HKCU and HKLM\...\Installer.

When i try to install the package as a user, i get the error insufficient previlages..
What am i miising?

Could you mail to Hanumantha_Raju@yahoo.com

Thanks
H




Anonymous User October 26, 2004 (Article Rating: )


I have follwed the steps mentioned for regedit
1)when i login as administrator I am able to see both the keys HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer & HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Installer present
n also the AlwaysInstallElevated value is 1
2)when I login as a user with limited previleges only one key HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer is present, Also i am unable to install the setup . It is thrwing error 1303 :insufficent previleges. What to do

dipsdeepika September 27, 2007 (Article Rating: )


have follwed the steps mentioned for regedit
1)when i login as administrator I am able to see both the keys HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer & HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Installer present
n also the AlwaysInstallElevated value is 1
2)when I login as a user with limited previleges only one key HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer is present, Also i am unable to install the setup . It is thrwing error 1303 :insufficent previleges. What to do
Can neone send the solution

dipsdeepika September 28, 2007 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 9, 2009

An often irreverent look at some of the week's other news, including some more Windows 7 sales momentum, some Sophos stupidity, Microsoft's cloud computing self-loathing, more whining from the browser makers, Zoho's "Fake Office," and much, much more ...

Understanding File-Size Limits on NTFS and FAT

A general confusion about files sizes on FAT seems to stem from FAT32's file-size limit of 4GB and partition-size limit of 2TB. ...


Related Events WinConnections and Microsoft® Exchange Connections

Deep Dive into Windows Server 2008 R2 presented by John Savill

Managing IT Across Multiple Locations

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement