Activating Office 2019 Retail to KMS

In this example we are using Office 2019 Professional Plus in the retails channel and we need to adapt it to run the KMS version which is activated by a enterprise KMS server.

Start Command prompt elevated

This is simple, from the start menu search for command prompt right click and choose "Run as Administrator" as below:



Ensure you command prompt is in the right content as below:


Navigate to the directory

Then you need to navigate to the correct directory using this command:

cd "c:\Program Files (x86)\Microsoft Office\Office16"

That should then put you in that directory as below:


Convert license from Retail to Volume 

for /f %x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x"

Activate license on the internet with Microsoft.

cscript ospp.vbs /setprt:1688
cscript ospp.vbs /unpkey:6MWKP >nul
cscript ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /act

Using your own KMS server

If you are using your own KMS server internally then you can replace the IP here with the IP address of your KMS server for local activation.

cscript ospp.vbs /sethst:107.175.77.7

That should end with the activation being successful as below:


Previous Post Next Post

Ω†Ω…ΩˆΨ°Ψ¬ Ψ§Ω„Ψ§ΨͺΨ΅Ψ§Ω„