Or, you can install and configure the KMS server role using PowerShell: You can install the KMS role using the Server Manager GUI (Server Manager > Add Roles and Features > Roles > Volume Activation Services).
In this example, we will show how to install a KMS activation server on Windows Server 2019. You can install a KMS server on any version of Windows Server. KMS host is a special Windows Server role that can automate the activation of volume license Microsoft products (Windows and Office) and track their activation status.
The KMS infrastructure is very simple: install Volume Activation Services role on Windows Server, add your KMS Host Key (from Microsoft Volume Licensing Service Center), and activate your corporate KMS server on Microsoft (perform this only once). The KMS activation server allows activating corporate versions of Windows OS and Microsoft Office products within the enterprise network.
They can use MAK or KMS keys for product activation. Microsoft offers two ways of Windows and MS Office activation for corporate customers under the Volume License program.