79432616

Date: 2025-02-12 10:01:14
Score: 1.5
Natty:
Report link

In LDAP, the UserAccountControl attribute is used to define user account properties in Active Directory (AD). The value 512 corresponds to a "normal" enabled account. If you need to set or modify this attribute to 512, follow the steps below .

Open PowerShell as Administrator. Run the following command to set the attribute to 512 (Normal Account):

Set-ADUser -Identity "Username" -Replace @{userAccountControl=512}

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Koijam Ajoy