Skip to Content
Setup Guide2. Prepare ADOverview

Step 2: Prepare Active Directory

⏱️15 minutes

Configure your Active Directory to work with AD Unlock.

Overview

This step involves:

  1. Creating a service account
  2. Delegating proper permissions
  3. Verifying LDAPS is enabled

All scripts in this section are PowerShell and should be run on a Domain Controller or machine with RSAT tools installed.

Sub-Steps

Quick Reference

Service Account Requirements

SettingValue
Account TypeDomain User
Namesvc_adunlock (or your choice)
PasswordStrong, non-expiring
Group MembershipDomain Users only (no admin rights)

Required Permissions

On OUs where self-service is allowed:

PermissionPurpose
ReadFind users
Reset PasswordReset unicodePwd
Write lockoutTimeUnlock accounts

Network Ports

PortProtocolPurpose
636LDAPSEncrypted LDAP (recommended)
389LDAP + StartTLSAlternative

Next Step

Last updated on