π Languages
π¬π§ English (current) | π«π· FranΓ§ais
Full unattended deployment of a Windows Server domain controller (ADDS + DNS + DHCP) from a single graphical interface.
Setting up a domain controller by hand chains together repetitive steps interrupted by reboots (network β roles β promotion β DNS/DHCP). AutoDC gathers all the input in a single window, then runs the rest on its own while handling the reboots. Ideal for quickly building and rebuilding DCs in a lab on VMs.
- All in one pass, no intervention after the input (reboots handled, automatic resume).
- Windows Server wizard-style interface, with built-in validation and a command preview before execution.
- Reusable configuration (import/export); passwords are never stored in clear text.
- Windows Server 2019 / 2022 / 2025 only (PowerShell 5.1+).
- Meant for labs, not for a critical production environment.
- The server reboots automatically β run it from the VM console, not over RDP.
- AutoDC installs the DC but does not populate the domain (OUs, users, groups) β that is the job of its companion tool ADFlow.
- Copy
Start-AutoDC.ps1to the server, then right-click β Run with PowerShell (it elevates to administrator on its own). - Fill in the tabs (Server β Network β Roles β ADDS/DNS/DHCP β Prerequisites) and click Launch.
- Let it run: the configuration is applied, the server reboots once or twice and finishes on its own. A window shows the live progress at logon.
# From an administrator console, in the script's folder:
powershell -ExecutionPolicy Bypass -File .\Start-AutoDC.ps1
β οΈ The server reboots during deployment: run it from the VM console (a network reconfiguration can drop an RDP session).
The deployment goes through several phases that survive reboots thanks to self-cleaning scheduled tasks:
Interactive β (rename + reboot) β Promote (ADDS promotion + reboot) β Configure (DNS + DHCP)
Secrets (DSRM, domain admin) are encrypted with DPAPI (machine scope) for the duration of the reboots, then wiped β never in clear text on disk nor in the exported configuration file.
Taeckens.M β see also ADFlow, the companion tool that populates the domain (OUs, users, groupsβ¦) from a simple definition file.


