[Step By Step] Promote a Read-Only Domain Controller in Windows Server 2008 R2

Hello, friends! This tutorial details the steps to perform to promote a Read-Only Domain Controller (RODC) in Windows Server 2008 R2. Objective and scope The objective of the tutorial is to detail the steps to perform to promote a Read-Only

AI-assisted translation, approved by Mateo.

Hello, friends! This tutorial details the steps to perform to promote a Read-Only Domain Controller (RODC) in Windows Server 2008 R2.

Objective and scope

The objective of the tutorial is to detail the steps to perform to promote a Read-Only Domain Controller. The scope of the tutorial is to detail the steps to perform to promote a Read-Only Domain Controller in Windows Server 2008 R2.

Contents

  • Introduction
  • Scenario
  • RODC promotion
  • Prerequisites
  • Promotion
    • Network adapter configuration
    • ADDS installation
    • Running DCPROMO
  • Recommended follow-up actions
    • Replication verification
    • DC health status verification
    • Event Viewer verification

Introduction

An RODC (Read Only Domain Controller) is, as its name indicates, a read-only domain controller. It contains a read-only Active Directory Database, which stores most user data and attributes except passwords and other filtered attributes. Since changes cannot be made to the database on an RODC, replication is unidirectional. Features:
  • Read-only Active Directory database
  • RODC filtered attribute set
  • Unidirectional replication
  • Credential caching
  • Administrator role separation
  • Read-only Domain Name System

Scenario

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

RODC promotion

Before starting the promotion, certain prerequisites must be performed on the Domain.

Prerequisites

The prerequisites listed below must be verified/performed:
  1. 1.       Make sure that the forest functional level is Windows Server 2008 or higher
    1. Open the “Active Directory Domains and Trusts” snap-in
    2. Right-click the domain and open Properties. A window will open where the forest and domain functional levels can be verified:
    Picture1
  1. 2.       Run Adprep.exe commands
    1. Run the adprep /forestprep command
The Windows installation CD must be inserted. Commands to run:
  1. 2008: D:\source\adprep\adprep /forestprep
  2. 2008 R2: D:\support\adprep\adprep /forestprep
hola Picture2
  1. Run the adprep /domainprep /gpprep command
The Windows installation CD must be inserted. Commands to run
  1. 2008: D:\sources\adprep\adprep /domainprep /gpprep
  2. 2008 R2: D:\support\adprep\adprep /domainprep /gpprep
Picture3
  1. Run the adprep /rodcprep command
The Windows installation CD must be inserted. Commands to run
  1. 2008: D:\sources\adprep\adprep /rodcprep
  2. 2008 R2: D:\support\adprep\adprep /rodcprep
Picture4

Promotion

Before performing the promotion, certain configurations must be performed on the server.

Network Adapter Configuration

Before performing the promotion, it is necessary to verify the network adapter configuration. It must contain:
  • Static IPv4 address
  • DNS server address: at least one domain controller in the domain where it will be promoted.
Picture4a This configuration is performed because when carrying out the promotion, the server will attempt to contact the domain. For this reason, it must be able to resolve the domain name: Picture4b

ADDS installation

The Active Directory Domain Services role is installed through Server Manager -          Click Add Roles. Picture4c -          The role installation wizard will run. We will select the “Active Directory Domain Services” role Picture4d -          We continue with the wizard and finally click Install Picture4e -          When the installation is complete, the role will be installed.

Running DCPROMO

To promote an RODC, the steps detailed below must be followed:
  • Run dcpromo.exe. Start, Run >“dcpromo”
  • In the installation wizard, we must select the “advanced features” checkbox
Picture4f
  • We add a domain controller to an existing domain
Picture4g
  • We specify the domain and credentials.
Picture4h
  • We choose the domain. Then, we choose the site.
Picture4i
  • The wizard will check the DNS configuration.
Picture4j
  • We must select DNS, Global Catalog, and Read-only Domain Controller
Picture5
  • We must configure the password replication policy. We will leave everything as default, leaving the “Allowed RODC…” group as allowed.
Picture6
  • We must specify the group or user to whom we want to delegate administration of the RODC. A security group is recommended to simplify potential administration changes. In this case, it will be the security group RODC Admin
Picture7
  • It is specified from where the new Domain Controller will replicate the database for the first time: from an existing Domain Controller. Since the second option allows us to replicate the AD database data from a file.
Picture8
  • The Replication Partnerare specified. We will select that the wizard choose the appropriate DC.
Picture9
  • The location of the files is defined SYSVOL, database, and logs
Picture10
  • The password for the Active Directory Restore Mode
Picture11
  • The installation wizard is completed.
Picture12
  • The database replication begins. We select Reboot on completion so that the server restarts automatically.
Picture13
  • Once the restart is complete, we will be able to log in with domain accounts and verify that the server has been promoted correctly.
  • Replication verification
  •  DC health status verification
  • Event Viewer verification

Replication verification

  1. Open the command prompt with administrator privileges
  2. Run the following commands:
    1. Repadmin /showrepl
    2. Repadmin /replsummary
-          Expected result: successful replication.

DC health status verification

  1. Open the command prompt with administrator privileges
  2. Run the following command:
    1. Dcdiag
-          Expected result: all tests passed.

Event Viewer verification

It is recommended to periodically verify the entire Event Viewer. As a recommendation, the following events can be checked after promoting a controller: Picture14

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