If you already have a KMS server on Windows Server 2016 or Windows Server 2019, you can use this existing server (in this case, this section can be skipped). To deploy your own KMS server, you need to install the Volume Activation Services role on any of the hosts running Windows Server 2022, 2019, or 2016.
Install Volume Activation Services Role on Windows Server GVLK Keys for Windows Server 2022, 2019 and Windows 10 LTSC.Updates to Extend KMS Support for Windows Server 20.Activating KMS Server on Windows Server 2022/2019.Install Volume Activation Services Role on Windows Server.