The Key Management Service (KMS) is an activation service that allows organizations to activate systems within their own network, eliminating the need for individual computers to connect to Microsoft for product activation. It does not require a dedicated system and can be easily co-hosted on a system that provides other services.
This post is to show how to run KMS Docker, How to install KMS and how to use KMS to activate your windows and office software.
C:\Users\test>wmic os get caption
Microsoft Windows 10 Pro
Install Key which you found from above section
slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
slmgr /skms Your IP or Domain:1688
It has to be VOL version.
Found your office installation folder, for 32B version, the location is C:\Program Files (x86)\Microsoft Office\Office16
64B : C:\Program Files\Microsoft Office\Office16
Office16 is Office 2016，Office15 is Office 2013，Office14 is Office 2010。
Open the folder, OSPP.VBS should be in the list.
rum cmd as administrator
cd "C:\Program Files (x86)\Microsoft Office\Office16"
register your KMS server and port:
cscript ospp.vbs /sethst:Your IP or Domain
activate your Office VOL version.
cscript ospp.vbs /act
Note: KMS activation only valid for 180 days, (6 months). You will need to re-activate it after 6 months. Please make sure your KMS server is up.