How To - Activate Windows Server 2022
For "Core" installations or for more control, use the Software Licensing Management Tool (SLMGR) via an elevated Command Prompt: How to activate my Windows Server 2022 - Microsoft Q&A
If activation fails, slmgr will usually provide an error code. how to activate windows server 2022
Note: The server will automatically restart to apply changes. For "Core" installations or for more control, use
For testing/lab environments, consider using: how to activate windows server 2022
slmgr.vbs /dlv
Ensure DNS contains the KMS SRV record (_vlmcs._tcp) or that you have the KMS host name/IP.