Four last settings make the domain ready for accounts: the sign-in suffix, the Recycle Bin, your network subnets and a first backup.
The domain is ready for accounts, with a safety net.
Without these, deleted accounts are hard to restore and sign-in names do not match email addresses.
Add the sign-in suffix, turn on the Recycle Bin, add your subnets and take a first backup.
Every name, address and value in this guide is an example. Replace them with your own.
Add the sign-in suffix
This lets you give accounts names like doej@contoso.com that match their Microsoft 365 sign-in.
Set-ADForest -Identity "ad.contoso.com" -UPNSuffixes @{Add="contoso.com"}
(Get-ADForest).UPNSuffixesTurn on the AD Recycle Bin
Without it, a deleted account comes back without its groups and settings. With it, you restore the account exactly as it was for 180 days.
Enable-ADOptionalFeature -Identity "Recycle Bin Feature" -Scope ForestOrConfigurationSet -Target "ad.contoso.com" -Confirm:$false
That is fine. No school needs to.
Tell AD about your networks
AD sends each device to a nearby DC by matching its address to a subnet. Give the default site a clear name, then add each network from your plan.
Get-ADReplicationSite -Identity "Default-First-Site-Name" | Rename-ADObject -NewName "Contoso-Main" $site = "Contoso-Main" New-ADReplicationSubnet -Name "10.0.10.0/24" -Site $site -Description "VLAN 10 Management" New-ADReplicationSubnet -Name "10.0.20.0/24" -Site $site -Description "VLAN 20 Domain controllers" New-ADReplicationSubnet -Name "10.0.30.0/24" -Site $site -Description "VLAN 30 Servers" New-ADReplicationSubnet -Name "10.0.50.0/24" -Site $site -Description "VLAN 50 Devices"
Take a first backup
A system state backup holds AD, DNS and the server's settings. Keep it on a second disk, not the system drive.
Install-WindowsFeature Windows-Server-Backup wbadmin start systemstatebackup -backupTarget:E: -quiet # E: is a separate backup disk
Run the health check
dcdiag /q netdom query fsmo
dcdiag /q prints only errors, so no output is good. netdom should list CON-DC-01 against all five roles.
Done when
The forest lists contoso.com as a UPN suffix, the Recycle Bin shows as enabled in Get-ADOptionalFeature -Filter *, four subnets appear in Get-ADReplicationSubnet -Filter *, and the backup finished. Next: Add a second domain controller.


