Category Archives for "Active Directory"

Useful CMD commands

Notes to myself for quick reference. Check User account Locked    net user UserID /DOMAIN | FIND /I Account Active Unlock User    Net user UserID /DOMAIN /active:YES Change Password    net user UserID newpassword /DOMAIN /Active:Yes Check User Details, AD group membership    net user UserID /do Check AD Group Details, Member if this […]

Continue reading

AD: Guide to Create Custom Attribute to User Class

Pre-requisites Make sure you login as member of Schema Admins. To enable the Active Directory schema for the first time: Open an Elevated Command Prompt. Run the following command: regsvr32 schmmgmt.dll A confirmation message is displayed: To create a new Attribute: Once you’ve received the confirmation message, enter the command ‘mmc’ into the command prompt window to open […]

Continue reading