I'm running Windows 10 with 3 local accounts.
- My Non-administrator account – Main account I use
- My Administrator account – Which I usually just use for UAC prompts
- Someone else's Administrator account – An account I don't know the password to, so don't want this to be the default UAC account that comes up.
Every time I'm running account #1 and get a UAC prompt, it asks me for the password for account #3, which I don't know. So I have to hit "More Choices" -> "Account #2". Is there anyway to make account #2 the default when this prompt comes up?
EDIT: How is this too broad? I want a very specific menu prompt to have a different default than it does. It defaults to account #3. I want it to default to account #2.
Best Answer
There seems to be no explicit setting/registry value for the default admin user that is being shown in the UAC dialog (the
consent.exe
process).However, the order in which the admin accounts are displayed is quite simple: it's alphabetically.
The first alphabetically sorted account will be the default account the UAC dialog asks the password for. The accounts are sorted by username, not by display name.
So if e.g. you create an administrator account named
Admin
, it will be chosen by UAC over theAdministrator
account.