[Setup]: PrivilegesRequired

Valid values:

admin, or lowest

Default value:


This directive affects whether elevated rights are requested (via a User Account Control dialog) when the installation is started.

When set to admin (the default), Setup will always run with administrative privileges and in administrative install mode. If Setup was started by an unprivileged user, Windows will ask for the password to an account that has administrative privileges, and Setup will then run under that account.

When set to lowest, Setup will not request to be run with administrative privileges even if it was started by a member of the Administrators group and will always run in non administrative install mode. Do not use this setting unless you are sure your installation will run successfully on unprivileged accounts.

See also: