Windows and Office KMS activation

Table of content

KMS

Use the python KMS emulator

Upgrade Windows evaluation

DISM /online /Set-Edition:ServerStandard /ProductKey:${productKey} /AcceptEula
2016: CB7KF-BWN84-R7R2Y-793K2-8XDDG
2019: N69G4-B89J2-4G8F4-WWYCC-J464C
2022: VDYBN-27WPP-V4HQT-9VMD4-VMK7H

Activate Windows

slmgr.vbs /skms ${ip}:1688
slmgr.vbs /ipk ${licenseKey}
slmgr.vbs /ato

Activate Office

cscript "C:\Program Files\Microsoft Office\Office16\ospp.vbs" /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
cscript "C:\Program Files\Microsoft Office\Office16\ospp.vbs" /unpkey:BTDRB >nul
cscript "C:\Program Files\Microsoft Office\Office16\ospp.vbs" /unpkey:KHGM9 >nul
cscript "C:\Program Files\Microsoft Office\Office16\ospp.vbs" /unpkey:CPQVG >nul
cscript "C:\Program Files\Microsoft Office\Office16\ospp.vbs" /sethst:51.15.11.152
cscript "C:\Program Files\Microsoft Office\Office16\ospp.vbs" /setprt:1688
cscript "C:\Program Files\Microsoft Office\Office16\ospp.vbs" /act

Licence not installed

(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %x in ('dir /b ..\root\Licenses16\proplusvl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x" >nul)&(for /f %x in ('dir /b ..\root\Licenses16\proplusvl_mak*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x" >nul)

results matching ""

    No results matching ""

    results matching ""

      No results matching ""