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

John Savill

November 6, 2003

1 Min Read
ITPro Today logo in a gray background | ITPro Today

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_MACHINESOFTWAREPoliciesMicrosoftWindowsInstaller 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_USERSoftwarePoliciesMicrosoftWindowsInstaller 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.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like