You can also install via PowerShell as admin:
After installation, open and use:
Windows 11 is a client operating system, not a server OS. Therefore, you cannot promote it to a full Domain Controller in the traditional sense. However, you install the Active Directory Domain Services (AD DS) management tools to manage a domain from your Windows 11 machine. installing active directory on windows 11
Add-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0 You can also install via PowerShell as admin: