Using unofficial activators violates Microsoft's Terms of Service.
Hackers reverse-engineer this protocol. They create fake KMS servers (software running on your local machine) that trick your Windows Server 2022 into believing it activated with a real Microsoft KMS host. kms activator windows server 2022 full