DC Promotion or Demotion Fails with Access Is Denied

Promoting or demoting a DC fails with Access is denied: unable to convert the computer account or could not create the NTDS Settings object. Check the trusted for delegation right, the DC policy and Add/remove replica in domain.

Home › Guides › DC promotion: access is denied

Last updated 20 November 2026

Quick answer

When promoting a member server to an additional domain controller (or demoting one) fails with "Access is denied", Microsoft documents two permission causes:

  1. The account running the promotion lacks the user right "Enable computer and user accounts to be trusted for delegation" (SeEnableDelegationPrivilege) in the Default Domain Controllers Policy. The wizard then can't convert the computer account into a domain controller account. By default only the Administrators group of the target domain has this right.
  2. The Add/remove replica in domain permission is missing on the domain partition (for example DC=contoso,DC=com) for Domain Admins and Enterprise Admins. Promotion of Windows Server 2012 R2 or later DCs then fails while creating the NTDS Settings object, even for members of those groups.

Also clear Protect from accidental deletion on the server's computer account: during promotion that account is deleted and re-added as a domain controller account, which the protection blocks.

What the error looks like

The dialog title is Windows Security, message text Network Credentials. During promotion of a Windows Server 2008 or later member server to a replica DC:

The operation failed because: The Active Directory Domain Services Installation Wizard was unable to convert the computer account <hostname>$ to an Active Directory Domain Controller account. "Access is denied"

During demotion (and on Windows Server 2012 R2 or later promotions that hit the missing replica permission):

The operation failed because: Active Directory Domain Services could not configure the computer account <hostname>$ to the remote Active Directory Domain Controller account <fully qualified name of helper DC>. "Access is denied"

When the NTDS Settings object can't be added, the detail reads:

Active Directory Domain Services could not create the NTDS Settings object for this Active Directory Domain Controller CN=NTDS Settings,CN=TEST-DC,CN=Servers,CN=mysite,CN=Sites,CN=Configuration,DC=domain,DC=com on the remote AD DC DCName.ChildDomain.domain.com. Ensure the provided network credentials have sufficient permissions.

"Access is denied."

The matching part of dcpromo.log:

[INFO] EVENTLOG (Error): NTDS General / Internal Processing: 1168
Internal error: An Active Directory Domain Services error has occurred.
Error value (decimal): -1073741823
Error value (hex): c0000001
...
[INFO] NtdsInstall for ChildDomain.domain.com returned 5
[INFO] DsRolepInstallDs returned 5
[ERROR] Failed to install to Directory Service (5)
[ERROR] DsRolepFinishSysVolPropagation (Abort Promote) failed with 8001
[WARNING] Failed to abort system volume installation (8001)

A failed demotion logs NtdsDemote returned 5, DsRolepDemoteDs returned 5 and Failed to demote the directory service (5); dcpromoui.log shows OperationStatus: 0x5 and credentials were invalid, hr=0x80070005.

ValueWhere you see itMeaning
5 (0x5)dcpromo.log, dcpromoui.log OperationStatusERROR_ACCESS_DENIED: Access is denied.
c0000001 (-1073741823)NTDS General event 1168 in dcpromo.logSTATUS_UNSUCCESSFUL: {Operation Failed} The requested operation was unsuccessful.
hr=0x80070005dcpromoui.log, next to "credentials were invalid"The same access denied, as an HRESULT.

Step 1: Check that the Default Domain Controllers Policy exists

The user right comes from the Default Domain Controllers Policy, so first confirm that policy exists in Active Directory.

Step 2: Clear "Protect from accidental deletion"

In Active Directory Administrative Center, find the server under Computers in your domain and open its properties. In the first section, just under the operating system information, make sure Protect from accidental deletion is unchecked. Promotion deletes the computer account and re-adds it as a domain controller account, which can't happen while the box is checked.

Step 3: Check the "trusted for delegation" user right

The account running the promotion needs Enable computer and user accounts to be trusted for delegation in the Default Domain Controllers Policy. Check that the right is in the user's security token by running, as that user:

whoami /all

Step 4: Check where the policy is linked

The Default Domain Controllers Policy must be linked to the Domain Controllers OU, and every DC computer account must stay in that OU. If DC accounts live in another OU, either move them all back to Domain Controllers or link the Default Domain Controllers Policy to that OU as well.

Step 5: Check the policy files in SYSVOL

The file system part of the Default Domain Controllers Policy must exist in the SYSVOL share of the DC that applies policy to the computer you are promoting or demoting. If it is missing, the reason is one of:

Step 6: Check that policy applies to the signed-in user

Inheritance, WMI filtering or a security descriptor problem can stop policy from applying. Microsoft's check is an HTML Resultant Set of Policy report:

gpresult /h result.html

Step 7: Check "Add/remove replica in domain" (NTDS Settings object)

If promotion still fails after steps 1 to 6 and the user has SeEnableDelegationPrivilege, check the effective permissions on the domain partition:

  1. Run adsiedit.msc.
  2. Expand Default naming context, right-click the domain (for example DC=domain,DC=com) and select Properties.
  3. On the Security tab select Advanced.
  4. On the Effective Access tab, enter the user or group running the promotion and confirm whether Add/remove replica in domain is granted.

If it is missing, add it in the same dialog: on the Permissions tab add the Add/remove replica in domain control access permission for the user or group with Type: Allow and Applies to: This object only. Then retry the promotion.

Still failing?

Related tools and guides

Look up NTDS General event 1168 in the Windows Event ID Lookup, copy the whoami /all and gpresult /h lines from the PowerShell Cheat Sheet, pull the error lines and return codes out of dcpromo.log with the Regex Tester, check that the new DC and its helper DC sit on the site subnets you expect with the IPv4 Subnet Calculator or IPv6 Subnet Calculator, and identify the network adapter vendor on the server you are promoting with the MAC Vendor Lookup. Related guides: AD DS install: the specified user already exists, DC promotion schema mismatch, Group Policy events 1058 and 1030 and common AD replication errors.

Every AD replication error code with its cause and fix: common Active Directory replication errors.

FAQ

Why does DC promotion fail with Access is denied?

Microsoft documents two causes: the account running the promotion lacks the Enable computer and user accounts to be trusted for delegation user right in the Default Domain Controllers Policy, or the Add/remove replica in domain permission is missing on the domain partition. A computer account protected from accidental deletion also blocks it.

I am a Domain Admin. Why can't I create the NTDS Settings object?

On Windows Server 2012 R2 and later the promotion fails even for Domain Admins and Enterprise Admins when the Add/remove replica in domain control access permission is missing for those groups on the domain partition. Check Effective Access on the domain root in ADSI Edit and add the permission with Applies to: This object only.

Who has the trusted for delegation right by default?

The Administrators group of the target domain, through the Default Domain Controllers Policy. Run whoami /all as the promoting account to see whether the right is in its token, and sign out and back in after the policy changes.

What if the Default Domain Controllers Policy was deleted?

Microsoft says to contact Microsoft Support to recreate it with the default policy GUID. Don't recreate a policy by hand with the same name and settings. If it only exists on some DCs, look for replication latency or a replication failure first.

Does demotion fail with the same error?

Yes. Demotion reports that Active Directory Domain Services could not configure the computer account on the remote domain controller, with Access is denied, and dcpromo.log shows NtdsDemote returned 5. The checks are the same as for promotion.

Want the full kit?

Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.