Announcement

Collapse
No announcement yet.

values for userAccountControl dsquery

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • values for userAccountControl dsquery

    What value should I put in userAccountControl: 1.2.840.113556.1.4.803: = ??? to know if the account is locked?


    Where can find attribute values for different queries?
    "The destination is the shuffled cards, but we are where we play."

  • #2
    Re: values for userAccountControl dsquery

    If you're trying to do a ADUC query then it's

    Code:
    (&(&(objectCategory=Person)(objectClass=User)(lockoutTime>=1)))
    Or LockoutTime>=1 in a script. And UserAccountControl = 66048 , always.
    GoogleFu is strong with this one ^

    Comment


    • #3
      Re: values for userAccountControl dsquery

      =528 (16+512)

      Ref: http://support.microsoft.com/kb/305144

      Check the link for Windows 2003 server in there as well.
      Caesar's cipher - 3

      ZKHQ BRX HYHQWXDOOB GHFLSKHU WKLV BRX ZLOO UHDOLVH LW ZDV D ZDVWH RI WLPH!

      SFX JNRS FC U6 MNGR

      Comment

      Working...
      X