Skip to Content
Active Directory Administration Cookbook
book

Active Directory Administration Cookbook

by Sander Berkouwer
May 2019
Intermediate to advanced
620 pages
21h 41m
English
Packt Publishing
Content preview from Active Directory Administration Cookbook

Promoting a read-only domain controller using dcpromo.exe

Read-only domain controllers can be promoted using dcpromo.exe with an answer file or with all of the installation arguments specified, just like fully-writable domain controllers. An added benefit is that dcpromo.exe will install the Active Directory Domain Services server role automatically when it's not yet present.

Using dcpromo.exe with an answer file consists of running the following command line:

dcpromo.exe /unattend: C:\install\dcpromo.txt

A prime example of an answer file to add a read-only domain controller would look like the following:

[DCINSTALL]ReplicaorNewDomain= readonlyreplicaReplicaDomainDNSName= lucernpub.comUserDomain= LUCERNPUBUserName= AdministratorSiteName= ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Active Directory Cookbook

Active Directory Cookbook

Robbie Allen
Active Directory Cookbook, 4th Edition

Active Directory Cookbook, 4th Edition

Brian Svidergol, Robbie Allen

Publisher Resources

ISBN: 9781789806984Supplemental Content