Subscribe to Windows IT Pro
November 06, 2003 12:00 AM

When does Windows Installer uses elevated privileges?

Windows IT Pro
InstantDoc ID #40693
Rating: (4)

A. You can use a tool such as Group Policy to perform a managed installation of a Windows Installer file or you can manually install a Windows Installer file. Some applications that you install with a Windows Installer file require elevated privileges to access file system areas or registry keys. When you use a tool such as Group Policy to install a Windows Installer file that deploys an application to a user's system, the application runs with elevated privileges (e.g., system permissions) that bypass the user's limited permissions. However, when a user uses a Windows Installer file to install an application manually, the installation is limited by that user's current privilege level, which might cause some installations to fail.

You can configure a system to run all Windows Installer installations, including manual installations, with elevated privileges. However, doing so carries the risk that a skilled user could use the elevated privileges to access areas of the system that would otherwise be protected. For information on how to configure all Windows Installer installations to use elevated privileges, see the FAQ "How can I configure all Windows Installer installations to run with elevated privileges?" below.

If you enable a Group Policy Object (GPO) to let all installations run with elevated privileges, be aware that if you install an application on a per-machine basis (i.e., all users on that machine can use it), any repair operations performed for that application will run with elevated privileges, even if you remove the GPO. If, however, you install an application on a per-user basis, then remove the GPO, any attempts to repair that application might fail because the elevated privileges no longer apply.

Related Content:

ARTICLE TOOLS

Comments
  • URS
    3 years ago
    Jul 22, 2009

    You can configure all Windows Installer installations to run with elevated privileges by modifying the following Computer setting in Group Policy:

    Administrative Templates >Windows Components >Windows Installer

    Enable: Always install with elevated privileges

  • Anonymous User
    7 years ago
    Jun 16, 2005

    /Very good

  • adrianh33
    8 years ago
    Sep 02, 2004

    xxx

  • Hasan Sabbuba
    8 years ago
    Apr 19, 2004

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

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.