With Windows 11, Microsoft finally made it painless. It is now a simple Windows Feature.

Keep it clean. Keep it in Optional Features. Are you still using the legacy MMC (Microsoft Management Console) or have you moved to Windows Admin Center? Let me know in the comments below.

# Install AD, DNS, and Group Policy tools Add-WindowsCapability -Name "Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0" -Online Add-WindowsCapability -Name "Rsat.Dns.Tools~~~~0.0.1.0" -Online Add-WindowsCapability -Name "Rsat.GroupPolicy.Management.Tools~~~~0.0.1.0" -Online