userAccountControl 2080: Trust account, password not required
userAccountControl Decoder: Decode Active Directory userAccountControl values (512, 514, 66048, 532480) into flags, see what each means and how to set it, or build one.
Active Directory keeps an account's switches (disabled, password never expires, trusted for delegation…) as bits added up in
its userAccountControl attribute: 66048 is 65536 + 512. Type a value from ADSI Edit, Get-ADUser -Properties
userAccountControl or a security report to see which flags it holds, what each means and how to change it, or tick flags
below to build one. Flag names and values are from Microsoft's
UserAccountControl property flags.
Trust account, password not required
2080 = 0x820 = 32 + 2048
| Value | Flag | Meaning |
|---|---|---|
| 32 0x20 |
PASSWD_NOTREQD review |
The account may have an empty password, whatever the password policy says. Rarely wanted on a user. Accounts with it set are worth reviewing. PowerShell: Set-ADAccountControl -PasswordNotRequired $true |
| 2048 0x800 |
INTERDOMAIN_TRUST_ACCOUNT | The account a domain uses for a trust with another domain. |
Find accounts like this
| Exactly this value | Get-ADObject -LDAPFilter "(userAccountControl=2080)" -Properties userAccountControl |
|---|---|
| Users with these flags | Get-ADUser -LDAPFilter "(userAccountControl:1.2.840.113556.1.4.803:=32)" |
| LDAP filter | (userAccountControl:1.2.840.113556.1.4.803:=32) |