How to install Active Directory using the dcpromo command
To support me, you can subscribe to the channel, share and like the videos, disable your ad blocker or make a donation. Thank you!
Hello,
Second of four articles presenting different methods for installing Active Directory:
- Installing Microsoft Active Directory via the graphical interface (server 2012, 2012r2, 2016, 2019, 2022)
- Install Microsoft Active Directory via the dcpromo command(server 2003, 2008, 2008r2, 2012, 2012r2, 2016, 2019, 2022)
- Install Microsoft Active Directory via Powershell (server 2012, 2012r2, 2016, 2019, 2022)
- Installing Microsoft Active Directory via Powershell DSC (server 2016, 2019, 2022)
dcpromo is the historical command for configuring a domain controller.
It can only be used with a response file since Windows server 2012.
The dcpromo command is available once the active directory domain service role has been installed.
dcpromo and response file
Note : The password contained in the unattend.txt file is deleted once it has been used by the dcpromo command.
The server manager should display a warning telling you to promote the server to domain controller.
Run the wizard and close the wizard directly to stop being warned.
This problem also exists if you are doing an AD installation via MDT (Microsoft Deployment Toolkit).
Video : How to install Active Directory using the dcpromo command
Related links
How to install Active Directory via the graphical interface
First of four articles showcasing different methods for installing Active DirectoryHow to join an Active Directory domain with PowerShell DSC
How to join an Active Directory domain with PowerShell DSCHow to install Active Directory using Powershell
This is the third of four articles presenting different methods of installing Active DirectoryHow to install Active Directory using the dcpromo command
Second of four articles presenting different methods for installing Active DirectoryFix an Active Directory sign-on approval relationship error
How to fix a sign-on approval relationship error in Active DirectoryHow to create a multiboot USB key with the Ventoy tool
It's useful to have a multiboot USB stick containing operating system images or troubleshooting tools that you can boot from if you need to
Follow me on
Support me
Last content
Powershell - Managing the status and configuration of network interfaces
Powershell and the Left Hand Side
Powershell - Managing disks, partitions and volumes
Powershell - Managing System Restore Points in Windows
Powershell - Playing with the Windows clipboard
Powershell - Changing the state of a computer (sleep, hibernate, shutdown, restart)
Powershell - Compress-Archive and Expand-Archive to create and extract ZIP archives
Powershell - Export-Csv versus Export-Clixml
Powershell - Overview of Where-Object basic syntax and its limitations
Powershell - Hyper-V - Give a custom name to a virtual network adapter