userAccountControl 512: User
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.
User
512 = 0x200 = 512
| Value | Flag | Meaning |
|---|---|---|
| 512 0x200 |
NORMAL_ACCOUNT | An ordinary user account. Every user has it; 512 alone is a plain, enabled user. |
Find accounts like this
| Exactly this value | Get-ADObject -LDAPFilter "(userAccountControl=512)" -Properties userAccountControl |
|---|