Enumerate administrator accounts on elevation

By default administrator accounts are not displayed when attempting to elevate a running application.

If you enable this policy setting, all local administrator accounts on the machine will be displayed so the user can choose one and enter the correct password.

If you disable this policy setting, users will be required to always type in a username and password to elevate.

Supported on: At least Windows Vista

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Microsoft\Windows\CurrentVersion\Policies\CredUI
Value NameEnumerateAdministrators
Value TypeREG_DWORD
Enabled Value1
Disabled Value0

credui.admx

Administrative Templates (Computers)

Administrative Templates (Users)