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


Return to article

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

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.







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

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

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
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