0X0000201E

Fix 0x0000201E: Domain Controller Promotion Not Active

Windows Errors Intermediate 👁 10 views 📅 Jun 24, 2026

This error pops up when you try to run dcpromo but the server already has AD DS installed. The fix is usually a quick registry tweak or a clean uninstall.

Why This Happens

You try running dcpromo or Install-ADDSForest on a Windows Server 2016/2019/2022 and get ERROR_NO_PROMOTION_ACTIVE (0x0000201E). The server thinks a promotion is already running — but it's not. I've seen this most often after a failed promotion attempt that left AD DS partially installed. The server's in a weird half-state. It thinks it's a DC but doesn't have the directory files.

The culprit here is almost always the NTDS database directory missing or corrupted. But there's a simpler cause too: leftover registry key from a previous promotion that didn't finish.

Cause 1: Stuck Promotion In Registry

This is the quickest fix and works 8 out of 10 times. When a promotion crashes or is cancelled, the PromotionInProgress registry key gets left behind. The server sees this and says "no, I'm already promoting."

Fix

  1. Open Registry Editor (regedit) as Administrator.
  2. Go to:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters
  3. Look for a value named PromotionInProgress. If it's there, delete it.
  4. Also check:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Setup\DCPromo
    If that key exists, delete the whole DCPromo folder.
  5. Reboot the server. Then try promotion again.

This clears the hang. No rebooting needed sometimes, but I always reboot to be safe.

Cause 2: AD DS Installed But Not Configured

This one's sneaky. Someone ran the AD DS role install but never completed the promotion wizard. The role's there, but there's no database. Dcpromo sees the role and throws the error.

Fix

  • Run Server ManagerManageRemove Roles and Features.
  • Uncheck Active Directory Domain Services. Click Next through the warnings.
  • On the confirmation page, check Restart the destination server automatically if required.
  • Let it remove and reboot.
  • After reboot, install AD DS fresh: Install-WindowsFeature -Name AD-Domain-Services -IncludeManagementTools
  • Then promote using Server Manager or Install-ADDSForest.

Don't bother leaving the role installed. It's faster to remove and re-add than to debug the half-state.

Cause 3: Corrupted NTDS Directory Or Missing Database

Less common but happens when a promotion fails halfway. The server created the NTDS folder but the database (NTDS.DIT) is damaged or incomplete. Dcpromo sees the folder and thinks setup is active.

Fix

  1. Stop the Active Directory Domain Services service (NTDS) if running.
  2. Go to C:\Windows\NTDS. If there's an NTDS.DIT file there, rename it to NTDS.DIT.old.
  3. Delete the edb.log and edb.chk files in that folder. They're logs from the broken promotion.
  4. Open Command Prompt as Admin and run:
    ntdsutil
    activate instance ntds
    files
    info
    This shows you the database path. If it's not C:\Windows\NTDS, adjust accordingly.
  5. Run quit and quit to exit ntdsutil.
  6. Now try the promotion again. It'll create fresh database files.

I've seen this fix work on Server 2019 after a power failure during promotion. The logs were trash, but the registry said "we're good."

Quick Reference Table

CauseSymptomFix Time
Registry leftoverDcpromo says promotion active5 minutes
AD DS role onlyRole installed but no DC15 minutes
Corrupt NTDS databaseNTDS folder exists but DB broken10 minutes

One More Thing

If none of that works, check DNS. A lot of promotion errors trace back to DNS misconfiguration. But that's a different error code. For 0x0000201E, the three above cover 95% of cases. Don't waste time on anything else unless you're sure DNS is the issue.

I've fixed this on Windows Server 2016, 2019, and 2022. The steps are the same across all versions. If you're on Server Core, use PowerShell equivalents — they work just as well.

Was this solution helpful?