"FSMO Roles Ownership" Error When Attempting to Demote a Domain Controller

Error when attempting to demote a domain controller Hello, friends! This time I bring you the first article published on Madsblog, which addresses an error when demoting a writable Domain Controller in Windows Server 2008 R2. Objective The

AI-assisted translation, approved by Mateo.

Error when attempting to demote a domain controller

Hello, friends! This time I bring you the first article published on Madsblog, which addresses an error when demoting a writable Domain Controller in Windows Server 2008 R2.

Objective

The objective of this article is to show the analysis, diagnosis, and solution carried out for a specific error reproduced in a lab when demoting a writable Windows Server 2008 R2 Domain Controller.

Scope

The scope of this article is to show the analysis, diagnosis, and solution carried out for a specific error when demoting a writable Windows Server 2008 R2 Domain Controller. It is performed in a lab environment and limited to the specific aspects of the error.

Contents

  • Introduction
  • Scenario
  • Issue
  • Analysis
  • Diagnosis
  • Solution performed

Introduction

In a lab environment, an error is observed when demoting a writable Domain Controller.

Scenario

The scenario in which the actions will be performed is the following:
  • Domain
    • Madent.local
    • DC
      • PDC01 – DC/GC
      • PDC02 - DC/GC
      • PDC03 - DC/GC

Issue

An attempt is made to demote the PDC03 server (writable Domain Controller), resulting in the following error when the wizard (dcpromo) is run: Picture1

Analysis

A query of the fSMORoleOwner attribute is performed: At the command line:
  • dsquery * CN=Infrastructure, DC=ForestDnsZones,DC=<DOMINIO>,DC=<DOMINIO> -attr fSMORoleOwner
The result: Picture2

Diagnosis

According to the checks, the error is due to the content of the fSMORoleOwner attribute being “lost” in the DNS application partitions (ForestDnsZones and DomainDnsZones). The content of the Infrastructure Master role owner attribute in the ForestDnsZones and DomainDnsZones partitions must be changed to:
  • Settings,CN=PDC01,CN=Servers,CN=Berazategui,CN=Sites,CN=Configuration,DC=madent,DC=local

Solution performed

The solution steps are detailed below:
  • First, it is necessary to transfer the Infrastructure Master role to another Domain Controller.
  • Open ADSI EDIT.
  • Connect to Domain naming context, in the ForestDnsZones partition:
Picture3
  • Go to CN=Infrastructure and edit the “fSMORoleOwner” attribute. The attribute must be edited by entering the DC that currently holds the role, in this case PDC03.
  • Details: Settings,CN=PDC01,CN=Servers,CN=Berazategui,CN=Sites,CN=Configuration,DC=madent,DC=local
Picture6
  • In ADSI Edit, go to Default naming context in the “DomainDnsZones” partition:
Picture5
  • Go to CN=Infrastructure and edit the “fSMORoleOwner” attribute by entering the DN of the domain controller that currently holds it: Settings,CN=PDC01,CN=Servers,CN=Berazategui,CN=Sites,CN=Configuration,DC=madent,DC=local.
Picture4 After following these steps, it is verified that the server can be successfully demoted.

Thanks for reading. The learning continues in the next article.