Install KMS Server

Install and configure Windows Server Role
With Windows Server 2012 R2, it is necessary to install the Volume Activation Services role from the Server Manager console.

Following the installation, a new event is present in the console.

Check the server name and click Next without making any changes.

Enter the KMS key for Windows Server 2012 R2 or your operating system version and click on Validate.

In the Product Key Management windows, leave the default choice and click Activate Product.

Validate the following windows without making any changes. In the Add Firewall Exceptions windows, check the listening port and click Validate.

On the KMS server, open a DOS command prompt and enter the following commands.
Slmgr /ipk “KMSKey”. A message appears, click OK and enter slmgr /ato. A message appears to warn you that the server has been successfully activated.


It is now necessary to have a minimum of 5 activation requests for Office to start activation. For Windows Server he need 5 activation and 25 for Windows Client.
Install and configure VAMT
In order to manage activation on workstations and servers, the VAMT console is installed. To do this, it is necessary to install SQL Server. SQL Server 2016 Express has been installed on the KMS server.
In the database, click Database Engine Services and click Next.

Click Next in the Configure instance windows without making any changes.

Add the desired members as SYSADMIN of the database. Start installing SQL Server. VAMT can now be installed. This operation requires downloading ADK for Windows 10. The setup file can be retrieved from the Microsoft website.
https://developer.microsoft.com/en-us/windows/hardware/windows-assessment-deployment-kit
Once downloaded, the installation setup can be run. In the Specify Location windows, click Next without making any changes.

Click No in the Windows Kit Privacy Windows and accept the license agreement by clicking Accept. In the feature selection windows to be installed, check the following features:
- Volume Activation Management Tool (VAMT)
Lauch the installation by clicking Install.

Once installed, it is necessary to launch the console from the KMS server.

In the windows enter the name of the instance and select Create new database from the drop-down list. In the database name field, type KMS. Click Connect to proceed with the connection.

The console is displayed. Select Products and click Discover Products.

In the windows that appears, click Search. Computers and servers present in AD appear.
OFFICE 2013 Activation by KMS
In order to support KMS Office 2013 versions, it is first necessary to download Microsoft Office 2013 Volume License Pack.
https://www.microsoft.com/en-us/download/details.aspx?id=35584
After downloading it, execute the file. Select the check box to accept the license terms and click Continue.

A windows appears, click Next. Enter the KMS server name and click Next.

Enter the KMS key automatically and click on validate.
