Skip to content

Instantly share code, notes, and snippets.

@Junohea
Forked from mokoshalb/Office_kms
Last active December 16, 2022 07:27
Show Gist options
  • Save Junohea/c68346f90b4665af5d0750b354f5bf4c to your computer and use it in GitHub Desktop.
Save Junohea/c68346f90b4665af5d0750b354f5bf4c to your computer and use it in GitHub Desktop.
KMS server Windows
## HowTo
DISM /online /Get-TargetEditions
DISM /online /Set-Edition:ServerStandard /ProductKey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx /AcceptEula
(reboot)
slmgr /ipk ххххх-ххххх–ххххх–ххххх–ххххх
slmgr /skms serverName:1688
slmgr /ato
Online KMS host address:
--------
* kms.digiboy.ir
* hq1.chinancce.com
* 54.223.212.31
* kms.cnlic.com
* kms.chinancce.com
* kms.ddns.net
* franklv.ddns.net
* k.zpale.com
* m.zpale.com
* mvg.zpale.com
* kms.shuax.com
* kensol263.imwork.net:1688
* xykz.f3322.org
* kms789.com
* dimanyakms.sytes.net:1688
* kms.03k.org:1688
Offline kms host address:
--------
* kms.lotro.cc
* mhd.kmdns.net110
* noip.me
* 45.78.3.223
* kms.didichuxing.coms
* zh.us.to
* toxykz.f3322.org
* 192.168.2.81.2.7.0
* kms.guowaifuli.com
* 106.186.25.2393
* rss.vicp.net:20439
* 122.226.152.230
* 222.76.251.188
* annychen.pw
* heu168.6655.la
* kms.aglc.cc
* kms.landiannews.com
* kms.xspace.in
* winkms.tk
* kms7.MSGuides.com
* kms8.MSGuides.com
* kms9.MSGuides.com
OSPP.VBS in one of these folders
Program Files\Microsoft Office\Office[##]
Program Files (x86)\Microsoft Office\Office[##]
First, install product key for version of office
cscript OSPP.VBS /inpkey:
office 2010: VYBBJ-TRJPB-QFQRF-QFT4D-H3GVB
office 2013: YC7DK-G2NP3-2QQC3-J6H88-GVGXT
office 2016: XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
office 2019: NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP
office 2021: FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH
Set activation server and activate
cscript OSPP.VBS /sethst:kms.digiboy.ir
cscript OSPP.VBS /act
http://wind4.github.io/vlmcsd/
https://github.com/Wind4/vlmcsd/issues/20
ProPlus2016: https://officecdn.microsoft.com/db/492350F6-3A01-4F97-B9C0-C7C6DDF67D60/media/en-US/ProPlusRetail.img
https://tb.rg-adguard.net/public.php
Office 2021:
ODT setup - https://www.microsoft.com/en-us/download/details.aspx?id=49117
ODT config - https://config.office.com/deploymentsettings
setup.exe /configure Configuration.xml
cscript OSPP.VBS /inpkey:FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH
cscript OSPP.VBS /sethst:kms.digiboy.ir
cscript OSPP.VBS /act
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment