userAccountControl 8388608: No account type bit set, password expired
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.
No account type bit set, password expired
8388608 = 0x800000 = 8388608
| Value | Flag | Meaning |
|---|---|---|
| 8388608 0x800000 |
PASSWORD_EXPIRED | The password has expired. Like LOCKOUT, domain controllers report this in msDS-User-Account-Control-Computed rather than here. "User must change password at next logon" is pwdLastSet = 0, not a userAccountControl bit. |
Find accounts like this
| Exactly this value | Get-ADObject -LDAPFilter "(userAccountControl=8388608)" -Properties userAccountControl |
|---|---|
| Users with these flags | Get-ADUser -LDAPFilter "(userAccountControl:1.2.840.113556.1.4.803:=8388608)" |
| LDAP filter | (userAccountControl:1.2.840.113556.1.4.803:=8388608) |