Build KMS Server in Docker

KMS Server

I see many version of OpenWRT contained the plugin KMS service, so that the office or Windows in the LAN can be activated automatically.

2023-01-17 Updated

  • update Windows VOL Keys
  • How to recover the genuine KEY overwritten by KMS

Backgroud

Installing the activation tool on every Windows is trouble and not secure. The self-built KMS activation server is easy to use and secure.

Currently, the commonly used KMS activation server programs are py-kms in Python and vlmcsd in C. It can run on various systems, such as OpenWRT/Android/Linux/Mac OS/iOS/Windows

Here, we use py-kms in Docker.

Install

  1. Install Docker-CE.
  2. Download py-kms.
    1
    :~$ git clone https://github.com/SystemRage/py-kms.git
  3. Foreign users can directly compile the Dockerfile provided by py-kms. However in China, the software download time is very long at compile time, and error messages that cannot be downloaded often appear.
    So I modified the py-kms/docker/docker-py3-kms-minimal/Dockerfile to use Tsinghua mirror to improve the download speed of the software.
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    # This is a minimized version from docker/docker-py3-kms/Dockerfile without SQLLite support to further reduce image size
    # https://raw.githubusercontent.com/SystemRage/py-kms/master/docker/docker-py3-kms-minimal/Dockerfile

    FROM alpine:latest

    ENV IP 0.0.0.0
    ENV PORT 1688
    #ENV EPID ""
    ENV LCID 1033
    ENV CLIENT_COUNT 26
    ENV ACTIVATION_INTERVAL 120
    ENV RENEWAL_INTERVAL 10080
    ENV HWID "RANDOM"
    ENV LOGLEVEL INFO
    ENV LOGFILE /var/log/pykms_logserver.log
    #ENV LOGSIZE ""

    EXPOSE ${PORT}/tcp

    RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apk/repositories \
    && apk add --no-cache --update bash git py3-argparse py3-flask py3-pygments python3-tkinter \
    sqlite-libs py3-pip p7zip \
    && pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple peewee tzlocal \
    && wget --no-check-certificate https://github.com/SystemRage/py-kms/archive/master.zip \
    && 7z x master.zip -o/home/ \
    && mv /home/py-kms-master/py-kms /home/ \
    && rm master.zip && rm -r /home/py-kms-master \
    && apk del git p7zip

    WORKDIR /home/py-kms

    ENTRYPOINT /usr/bin/python3 pykms_Server.py ${IP} ${PORT} -l ${LCID} -c ${CLIENT_COUNT} -a ${ACTIVATION_INTERVAL} -r ${RENEWAL_INTERVAL} -w ${HWID} -V ${LOGLEVEL} -F ${LOGFILE}

    HEALTHCHECK CMD netstat -ln | grep ${PORT} || exit 1
  4. Build the Docker image
    1
    :~$ cd py-kms/docker/docker-py3-kms-minimal && docker build -t haven200/py-kms .
  5. Run image py-kms
    1
    2
    3
    4
    5
    6
    :~$ docker run --detach --name "kms"  \
    --publish 192.168.1.2:1688:1688/tcp \
    --volume /etc/localtime:/etc/localtime:ro \
    --env ACTIVATION_INTERVAL=1440 \
    --env RENEWAL_INTERVAL=20160 \
    "haven200/py-kms"
  • --publish: Mapping port TCP 1688, local ip is 192.168.1.2.
  • --volume: Using the local time zone.
  • --env: Import environment variables.
  1. View container status
    1
    2
    3
    :~$ docker container ls
    CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
    547e355e1b3a haven200/py-kms "/bin/sh -c '/usr/bi…" About an hour ago Up About an hour (healthy) 192.168.100.101:1688->1688/tcp kms
  2. See whether the port is mapped
    1
    2
    :~$ docker container port kms
    1688/tcp -> 192.168.1.2:1688

Here, our py-kms server is running successfully.

Verify the py-kms service

Use tool pykms_Client.py provided by py-kms.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
:~$ python3 py-kms/py-kms/pykms_Client.py -m Windows10 192.168.1.2
Client generating RPC Bind Request...
Server receiving
<=============== Client sending RPC Bind Request...

Server sending
===============> Client received RPC Bind Response !!!
RPC Bind acknowledged !!!
Client generating Activation Request dictionary...
Client generating Activation Request data...
Client generating RPC Activation Request...

Server receiving
<=============== Client sending RPC Activation Request...

Server sending
===============> Client received Response !!!

Activation Done !!!
  • -m: Which version of the Windows/office is simulated, here we simulate Windows10
  • ip: Here, must use IP address, domain name will cause errors.

Finally, it prompts Activation Done, that is, activation is successful, which shows that our py-kms server has been successfully run without errors.

Configure DNS for Windows to automatically discover kms servers

Here we use dnsmasq as DNS server.

By configuring the SRV parameters of the DNS server, the hosts in the LAN can automatically discover the kms server.
In this way, any pc installed VOL version of office or Windows will automatically activate when connected our local area network.

1
2
3
4
:~$ sudo cat >> /etc/dnsmasq.conf <<EOF
srv-host=_vlmcs._tcp.nas.net,kms.nas.net,1688,0,100
EOF
:~$ sudo systemctl restart dnsmasq
  • _vlmcs: kms server type.
  • _tcp: use tcp.
  • nas.net: suffix domain name of kms server.
  • kms.nas.net: The full domain name of the kms server, which can be used to query the IP address.
  • 1688: port of kms server.
  • 0: priority
  • 100: Weights

Test dns whether set up successfully

1
2
3
4
5
:~$ nslookup -type=srv _vlmcs._tcp.nas.net
Server: 192.168.1.1
Address: 192.168.1.1#53

_vlmcs._tcp.nas.net service = 0 100 1688 kms.nas.net.

Activate Windows

  1. Uninstall the original key
    1
    slmgr -upk
  2. Add key, Select a VOL key that can be used
    1
    slmgr -ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
  3. Change the server of kms, if the kms service is already configured on the dns server, ignore this step.
    1
    slmgr -skms kms.nas.net
  4. Activate
    1
    slmgr -ato
  5. View activation information
    1
    slmgr -xpr

KMS (VOL) Keys for Windows

  • Ultimate: refers to the fully functional version.
  • VOL version: Refers to the large-volume licensed version for large customers.

Windows 7 Ultimate cannot be activated through KMS, please use another tool to activate.

Windows Server 2022

System Key
Windows Server 2022 Datacenter WX4NM-KYWYW-QJJR4-XV3QB-6VM33
Windows Server 2022 Standard VDYBN-27WPP-V4HQT-9VMD4-VMK7H

Windows Server 2019

System Key
Windows Server 2019 Datacenter WMDGN-G9PQG-XVVXX-R3X43-63DFG
Windows Server 2019 Standard N69G4-B89J2-4G8F4-WWYCC-J464C
Windows Server 2019 Essentials WVDHN-86M7X-466P6-VHXV7-YY726
Windows Server 2019 Azure Core FDNH6-VW9RW-BXPJ7-4XTYG-239TB
Windows Server 2019 Datacenter Semi-Annual Channel (v.1809) 6NMRW-2C8FM-D24W7-TQWMY-CWH2D
Windows Server 2019 Standard Semi-Annual Channel (v.1809) N2KJX-J94YW-TQVFB-DG9YT-724CC
Windows Server 2019 ARM64 GRFBW-QNDC4-6QBHG-CCK3B-2PR88

Windows Server 2016

System Key
Windows Server 2016 Standard Semi-Annual Channel (v.1803) PTXN8-JFHJM-4WC78-MPCBR-9W4KR
Windows Server 2016 Datacenter Semi-Annual Channel (v.1803) 2HXDN-KRXHB-GPYC7-YCKFJ-7FVDG
Windows Server 2016 Datacenter Semi-Annual Channel (v.1709) 6Y6KB-N82V8-D8CQV-23MJW-BWTG6
Windows Server 2016 Standard Semi-Annual Channel (v.1709) DPCNP-XQFKJ-BJF7R-FRC8D-GF6G4
Windows Server 2016 Datacenter CB7KF-BWN84-R7R2Y-793K2-8XDDG
Windows Server 2016 Standard WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY
Windows Server 2016 Essentials JCKRF-N37P4-C2D82-9YXRT-4M63B
Windows Server 2016 ARM64 K9FYF-G6NCK-73M32-XMVPY-F9DRR
Windows Server 2016 Cloud Storage QN4C6-GBJD2-FB422-GHWJK-GJG2R
Windows Server 2016 Azure Core VP34G-4NPPG-79JTQ-864T4-R3MQX
WNCYY-GFBH2-M4WTT-XQ2FP-PG2K9

Windows 10/11

System Key
Windows 10/11 Professional Workstation NRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J
Windows 10/11 Professional Workstation N 9FNHH-K3HBT-3W4TD-6383H-6XYWF
Windows 10/11 Enterprise G YYVX9-NTFWV-6MDM3-9PT4T-4M68B
Windows 10/11 Enterprise G N 44RPN-FTY23-9VTTB-MP9BX-T84FV
Windows 10 Enterprise LTSC 2019/2021 M7XTQ-FN8P6-TTKYV-9D4CC-J462D
Windows 10 Enterprise LTSC 2019/2021 N 92NFX-8DJQP-P6BBQ-THF9C-7CG2H
Windows 10/11 Remote Server 7NBT4-WGBQX-MP4H7-QXFF8-YP3KX
Windows 10 Enterprise for Remote Sessions
Windows 10 Enterprise for virtual desktops
Windows 11 Enterprise multi-session
CPWHC-NT2C7-VYW78-DHDB2-PG3GK
Windows 10 S (Lean) NBTWJ-3DR69-3C4V8-C26MC-GQ9M6
Windows 10/11 Professional W269N-WFGWX-YVC9B-4J6C9-T83GX
Windows 10/11 Professional N MH37W-N47XK-V7XM9-C7227-GCQG9
HMNWJ-V69R6-B2CDC-8P7VT-2373K
Windows 10/11 Professional Education 6TP4R-GNPTD-KYYHQ-7B7DP-J447Y
Windows 10/11 Professional Education N YVWGF-BXNMC-HTQYQ-CPQ99-66QFC
Windows 10/11 Education NW6C2-QMPVW-D7KKK-3GKT6-VCFB2
F48BJ-8NX82-MRVY9-PF8BW-HMHY2
Windows 10/11 Education N 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ
PPWGW-8NW9C-J77Q9-8WHB9-QV64W
Windows 10/11 Enterprise NPPR9-FWDCX-D2C8J-H872K-2YT43
96YNV-9X4RP-2YYKB-RMQH4-6Q72D
TN6CM-KCVXP-VVP8X-YVCF7-R9BDH
3PMKQ-YNVGT-HFJGG-2F4FQ-9D6T7
Windows 10/11 Enterprise N DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4
WGGHN-J84D6-QYCPR-T7PJ7-X766F
Windows 10/11 Enterprise S H76BG-QBNM7-73XY9-V6W2T-684BJ
Windows 10/11 Enterprise S N X4R4B-NV6WD-PKTVK-F98BH-4C2J8
Windows 10 Enterprise 2015 LTSB WNMTR-4C88C-JK8YV-HQ7T2-76DF9
Windows 10 Enterprise 2015 LTSB N 2F77B-TNFGY-69QQF-B8YKP-D69TJ
RW7WN-FMT44-KRGBK-G44WK-QV7YK
Windows 10 Enterprise 2016 LTSB DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ
Windows 10 Enterprise 2016 LTSB N QFFDN-GRT3P-VKWWX-X7T3R-8B639
Windows 10/11 Home
Windows 10/11 Core
TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
33QT6-RCNYF-DXB4F-DGP7B-7MHX9
Windows 10/11 Home N
Windows 10/11 Core N
3KHY7-WNT83-DGQKR-F7HPR-844BM
CP4KF-NG6TC-9K6QF-P6GTT-H8RBM
Windows 10/11 Home Single Language
Windows 10 Core Single Language
7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
9HGRW-NH2CQ-XQHJD-YCRWB-6VJV7
4NX46-6DHCG-MR3PH-9FMCX-3RQ3G
Windows 10/11 Home Country Specific
Windows 10 Core Country Specific
PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
JN9HR-MH7K4-DBPDD-TFTXF-Q9MMF

Windows Server 2012 R2

System Key
Windows Server 2012 R2 Standard D2N9P-3P6X9-2R39C-7RTCD-MDVJX
Windows Server 2012 R2 Datacenter W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9
Windows Server 2012 R2 Essentials KNC87-3J2TX-XB4WP-VCPJV-M4FWM
Windows Server 2012 R2 Cloud Storage 3NPTF-33KPT-GGBPR-YX76B-39KDD
Windows Server 2012 Core BN3D2-R7TKB-3YPBD-8DRP2-27GG4
Windows Server 2012 Core N 8N2M2-HWPGY-7PGT9-HGDD8-GVGGY
Windows Server 2012 Core Single Language 2WN2H-YGCQR-KFX6K-CD6TF-84YXQ
Windows Server 2012 Core Country Specific 4K36P-JN4VD-GDC6V-KDT89-DYFKP
Windows Server 2012 Server Standard XC9B7-NBPP2-83J2H-RHMBY-92BT4
Windows Server 2012 Standard Core XC9B7-NBPP2-83J2H-RHMBY-92BT4
Windows Server 2012 MultiPoint Standard HM7DN-YVMH3-46JC3-XYTG7-CYQJJ
Windows Server 2012 MultiPoint Premium XNH6W-2V9GX-RGJ4K-Y8X6F-QGJ2G
Windows Server 2012 Datacenter 48HP8-DN98B-MYWDG-T2DCC-8W83P
Windows Server 2012 Datacenter Core 48HP8-DN98B-MYWDG-T2DCC-8W83P

Windows 8.1

System Key
Windows 8.1 Professional GCRJD-8NW9H-F2CDX-CCM8D-9D6T9
Windows 8.1 Professional N HMCNV-VVBFX-7HMBH-CTY9B-B4FXY
Windows 8.1 Professional WMC 789NJ-TQK6T-6XTH8-J39CJ-J8D3P
Windows 8.1 Enterprise MHF9N-XY6XB-WVXMC-BTDCT-MKKG7
FHQNR-XYXYC-8PMHT-TV4PH-DRQ3H
Windows 8.1 Enterprise N TT4HM-HN7YT-62K67-RGRQJ-JFFXW
NDRDJ-3YBP2-8WTKD-CK7VB-HT8KW
Windows 8.1 Embedded Industry Automotive VHXM3-NR6FT-RY6RT-CK882-KW2CJ
Windows 8.1 Embedded Industry Enterprise FNFKF-PWTVT-9RC8H-32HB2-JB34X
Windows 8.1 Embedded Industry Professional NMMPB-38DD4-R2823-62W8D-VXKJB
Windows 8.1 Core M9Q9P-WNJJT-6PXPY-DWX8H-6XWKK
Windows 8.1 Core N 7B9N3-D94CG-YTVHR-QBPX3-RJP64
Windows 8.1 Core Single Language BB6NG-PQ82V-VRDPW-8XVD2-V8P66
Windows 8.1 Core Country Specific NCTT7-2RGK8-WMHRF-RY7YQ-JTXG3
Windows 8.1 Core ARM XYTND-K6QKT-K2MRH-66RTM-43JKP
Windows 8.1 Core Connected 3PY8R-QHNP9-W7XQD-G6DPH-3J2C9
Windows 8.1 Core Connected N Q6HTR-N24GM-PMJFP-69CD8-2GXKR
Windows 8.1 Core Connected Country Specific R962J-37N87-9VVK2-WJ74P-XTMHR
Windows 8.1 Core Connected Single Language KF37N-VDV38-GRRTV-XH8X6-6F3BB
Windows 8.1 Professional Student MX3RK-9HNGX-K3QKC-6PJ3F-W8D7B
Windows 8.1 Professional Student N TNFGH-2R6PB-8XM3K-QYHX2-J4296

Windows Server 2012

System Key
Windows Server 2012
Windows 8 Core
BN3D2-R7TKB-3YPBD-8DRP2-27GG4
Windows Server 2012 N
Windows 8 Core N
8N2M2-HWPGY-7PGT9-HGDD8-GVGGY
Windows Server 2012 Single Language
Windows 8 Core Single Language
2WN2H-YGCQR-KFX6K-CD6TF-84YXQ
Windows Server 2012 Country Specific
Windows 8 Core Country Specific
4K36P-JN4VD-GDC6V-KDT89-DYFKP
Windows Server 2012 Standard XC9B7-NBPP2-83J2H-RHMBY-92BT4
Windows Server 2012 MultiPoint Standard HM7DN-YVMH3-46JC3-XYTG7-CYQJJ
Windows Server 2012 MultiPoint Premium XNH6W-2V9GX-RGJ4K-Y8X6F-QGJ2G
Windows Server 2012 Datacenter 48HP8-DN98B-MYWDG-T2DCC-8W83P

Windows 8

System Key
Windows 8 Professional NG4HW-VH26C-733KW-K6F98-J8CK4
Windows 8 Professional N XCVCF-2NXM9-723PB-MHCB7-2RYQQ
Windows 8 Professional WMC GNBB8-YVD74-QJHX6-27H4K-8QHDG
NQ3PX-BBY8Y-RRHMM-TBHFW-PJ866
Windows 8 Enterprise 32JNW-9KQ84-P47T8-D8GGY-CWCK7
8M9BN-YB7W9-YV3VJ-7WMGG-MKH3V
Windows 8 Enterprise N JMNMF-RHW7P-DMY6X-RF3DR-X2BQT
NCVKH-RB9D4-R86X8-GB8WG-4M2K6
Windows 8 Embedded Industry Professional JVPDN-TBWJW-PD94V-QYKJ2-KWYQM
RYXVT-BNQG7-VD29F-DBMRY-HT73M
Windows 8 Embedded Industry Enterprise NKB3R-R2F8T-3XCDP-7Q2KW-XWYQ2
Windows 8 Core
Windows Server 2012
BN3D2-R7TKB-3YPBD-8DRP2-27GG4
Windows 8 Core N
Windows Server 2012 N
8N2M2-HWPGY-7PGT9-HGDD8-GVGGY
Windows 8 Core Single Language
Windows Server 2012 Single Language
2WN2H-YGCQR-KFX6K-CD6TF-84YXQ
Windows 8 Core Country Specific
Windows Server 2012 Country Specific
4K36P-JN4VD-GDC6V-KDT89-DYFKP
Windows 8 Core ARM DXHJF-N9KQX-MFPVR-GHGQK-Y7RKV

Windows Server 2008 R2

System Key
Windows MultiPoint Server 2010 736RG-XDKJK-V34PF-BHK87-J6X3K
Windows Server 2008 R2 Web 6TPJF-RBVHG-WBW2R-86QPH-6RTM4
Windows Server 2008 R2 HPC edition TT8MH-CG224-D3D7Q-498W2-9QCTX
Windows Server 2008 R2 Standard YC6KT-GKW9T-YTKYR-T4X34-R7VHC
Windows Server 2008 R2 Enterprise 489J6-VHDMP-X63PK-3K798-CPX3Y
Windows Server 2008 R2 Datacenter 74YFP-3QFB3-KQT8W-PMXWJ-7M648
Windows Server 2008 R2 for Itanium-based Systems GT63C-RJFQ3-4GMB6-BRFB9-CB83V

Windows 7

System Key
Windows 7 Professional FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
MYKDJ-XV4CV-M2D3P-KDVY4-MPTW8
Windows 7 Professional N MRPKT-YTG23-K7D7T-X2JMM-QY7MG
Windows 7 Professional E W82YF-2Q76Y-63HXB-FGJG9-GF7QX
Windows 7 Enterprise 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH
Windows 7 Enterprise N YDRBP-3D83W-TY26F-D46B2-XCKRJ
Windows 7 Enterprise E C29WB-22CC8-VJ326-GHFJW-H9DH4
Windows 7 Embedded POSReady YBYF6-BHCR3-JPKRB-CDW7B-F9BK4
Windows 7 Embedded ThinPC 73KQT-CD9G6-K7TQG-66MRP-CQ22C
Windows 7 Embedded Standard XGY72-BRBBT-FF8MH-2GG8H-W7KCW

Windows Server 2008

System Key
Windows Server 2008 Web WYR28-R7TFJ-3X2YQ-YCY4H-M249D
Windows Server 2008 Standard TM24T-X9RMF-VWXK6-X8JC9-BFGM2
Windows Server 2008 Standard without Hyper-V W7VD6-7JFBR-RX26B-YKQ3Y-6FFFJ
Windows Server 2008 Enterprise YQGMW-MPWTJ-34KDK-48M3W-X4Q6V
Windows Server 2008 Enterprise without Hyper-V 39BXF-X8Q23-P2WWT-38T2F-G3FPG
Windows Server 2008 HPC edition (Computer Cluster) RCTX3-KWVHP-BR6TB-RB6DM-6X7HP
Windows Server 2008 Datacenter 7M67G-PC374-GR742-YH8V4-TCBY3
Windows Server 2008 Datacenter without Hyper-V 22XQ2-VRXRG-P8D42-K34TD-G3QQC
Windows Server 2008 for Itanium-Based Systems 4DWFP-JF3DJ-B7DTH-78FJB-PDRHK

Windows Vista

System Key
Windows Vista Business YFKBB-PQJJV-G996G-VWGXY-2V3X8
Windows Vista Business N HMBQG-8H2RH-C77VX-27R82-VMQBT
Windows Vista Enterprise VKK3X-68KWM-X2YGT-QR4M6-4BWMV
Windows Vista Enterprise N VTC42-BM838-43QHV-84HX6-XJXKV

Activate office

Let`’s take office 2013 as an example.

  • Specify kms server manually.
    1
    2
    3
    4
    cd "%ProgramFiles%\MICROSOFT OFFICE\OFFICE15"
    cscript ospp.vbs /sethst:192.168.1.2
    cscript ospp.vbs /act
    cscript ospp.vbs /dstatus
  • Automatically discover kms server and activate.
    1
    2
    3
    4
    CD "%ProgramFiles(x86)%\MICROSOFT OFFICE\OFFICE15"
    cscript ospp.vbs /remhst
    cscript ospp.vbs /act
    cscript ospp.vbs /dstatus

If the Office key is not available, use the following command to change:

1
cscript ospp.vbs /inpkey:KBKQT-2NMXY-JJWGP-M62JB-92CD4

Office 2021

MS Office edition KMS Setup Key (GVLK keys)
Office Access LTSC 2021 WM8YG-YNGDD-4JHDC-PG3F4-FC4T4
Office Excel LTSC 2021 NWG3X-87C9K-TC7YY-BC2G7-G6RVC
Office Outlook LTSC 2021 C9FM6-3N72F-HFJXB-TM3V9-T86R9
Office Powerpoint LTSC 2021 TY7XF-NFRBR-KJ44C-G83KF-GX27K
Office LTSC Professional Plus 2021 FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH
Office Project Pro 2021 FTNWT-C6WBT-8HMGF-K9PRX-QV9H8
Office Project Standard 2021 J2JDC-NJCYY-9RGQ4-YXWMH-T3D4T
Office Publisher LTSC 2021 2MW9D-N4BXM-9VBPG-Q7W6M-KFBGQ
Office Skype for Business LTSC 2021 HWCXN-K3WBT-WJBKY-R8BD9-XK29P
Office LTSC Standard 2021 KDX7X-BNVR8-TXXGX-4Q7Y8-78VT3
Office Visio LTSC Pro 2021 KNH8D-FGHT4-T8RK3-CTDYJ-K2HT4
Office Visio LTSC Standard 2021 MJVNY-BYWPY-CWV6J-2RKRT-4M8QG
Office Word LTSC 2021 TN8H9-M34D3-Y64V9-TR72V-X79KV

Office 2019

MS Office edition KMS Setup Key (GVLK keys)
Professional Plus 2019 [C2R] VQ9DP-NVHPH-T9HJC-J9PDT-KTQRG
Professional Plus 2019 NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP
Standard 2019 6NWWJ-YQWMR-QKGCB-6TMB3-9D9HK
roject Professional 2019 [C2R] XM2V9-DN9HH-QB449-XDGKC-W2RMW
Project Professional 2019 B4NPR-3FKK7-T2MBV-FRQ4W-PKD2B
Project Standard 2019 C4F7P-NCP8C-6CQPT-MQHV9-JXD2M
isio Professional 2019 [C2R] N2CG9-YD3YK-936X4-3WR82-Q3X4H
Visio Professional 2019 9BGNQ-K37YR-RQHF2-38RQ3-7VCBB
Visio Standard 2019 7TQNQ-K3YQQ-3PFH7-CCPPM-X4VQ2
Access 2019 9N9PT-27V4Y-VJ2PD-YXFMF-YTFQT
Excel 2019 TMJWT-YYNMB-3BKTF-644FC-RVXBD
Outlook 2019 7HD7K-N4PVK-BHBCQ-YWQRW-XW4VK
PowerPoint 2019 RRNCX-C64HY-W2MM7-MCH9G-TJHMQ
Publisher 2019 G2KWX-3NW6P-PY93R-JXK2T-C9Y9V
Skype for Business 2019 NCJ33-JHBBY-HTK98-MYCV8-HMKHJ
Word 2019 PBX3G-NWMT6-Q7XBW-PYJGG-WXD33

Office 2016

MS Office edition KMS Setup Key (GVLK keys)
Professional Plus 2016 XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
Standard 2016 JNRGM-WHDWX-FJJG3-K47QV-DRTFM
Project Professional 2016 YG9NW-3K39V-2T3HJ-93F3Q-G83KT
roject Professional 2016 [C2R] WGT24-HCNMF-FQ7XH-6M8K7-DRTW9
Project Standard 2016 GNFHQ-F6YQM-KQDGJ-327XX-KQBVC
roject Standard 2016 [C2R] D8NRQ-JTYM3-7J2DX-646CT-6836M
Visio Professional 2016 PD3PC-RHNGV-FXJ29-8JK7D-RJRJK
isio Professional 2016 [C2R] 69WXN-MBYV6-22PQG-3WGHK-RM6XC
Visio Standard 2016 7WHWN-4T7MP-G96JF-G33KR-W8GF4
isio Standard 2016 [C2R] NY48V-PPYYH-3F4PX-XJRKJ-W4423
Access 2016 GNH9Y-D2J4T-FJHGG-QRVH7-QPFDW
Excel 2016 9C2PK-NWTVB-JMPW8-BFT28-7FTBF
Mondo 2016 HFTND-W9MK4-8B7MJ-B6C4G-XQBR2
Mondo Retail 2016 DMTCJ-KNRKX-26982-JYCKT-P7KB6
OneNote 2016 DR92N-9HTF2-97XKM-XW2WJ-XW3J6
Outlook 2016 R69KK-NTPKF-7M3Q4-QYBHW-6MT9B
PowerPoint 2016 J7MQP-HNJ4Y-WJ7YM-PFYGF-BY6C6
Publisher 2016 F47MM-N3XJP-TQXJ9-BP99D-8K837
Skype for Business 2016 869NQ-FJ69K-466HW-QYCP2-DDBV6
Word 2016 WXY84-JN2Q9-RBCCQ-3Q3J3-3PFJ6

Office 2013

MS Office edition KMS Setup Key (GVLK keys)
Professional Plus 2013 YC7DK-G2NP3-2QQC3-J6H88-GVGXT
Standard 2013 KBKQT-2NMXY-JJWGP-M62JB-92CD4
Project Professional 2013 FN8TT-7WMH6-2D4X9-M337T-2342K
Project Standard 2013 6NTH3-CW976-3G3Y2-JK3TX-8QHTT
Visio Professional 2013 C2FG9-N6J68-H8BTJ-BW3QX-RM3B3
Visio Standard 2013 J484Y-4NKBF-W2HMG-DBMJC-PGWR7
Access 2013 NG2JY-H4JBT-HQXYP-78QH9-4JM2D
Excel 2013 VGPNG-Y7HQW-9RHP7-TKPV3-BG7GB
OneNote 2013 TGN6P-8MMBC-37P2F-XHXXK-P34VW
Outlook 2013 QPN8Q-BJBTJ-334K3-93TGY-2PMBT
PowerPoint 2013 4NT99-8RJFH-Q2VDH-KYG2C-4RD4F
Publisher 2013 PN2WF-29XG2-T9HJ7-JQPJR-FCXK4
InfoPath 2013 DKT8B-N7VXH-D963P-Q4PHY-F8894
Lync 2013 2MG3G-3BNTT-3MFW9-KDQW3-TCK7R
Word 2013 6Q7VD-NX8JD-WJ2VH-88V73-4GBJ7
Mondo 2013 42QTK-RN8M7-J3C4G-BBGYM-88CYV
SharePoint Workspace (Groove) 2013 H7R7V-WPNXQ-WCYYC-76BGV-VT7GH
SharePoint Designer (Frontpage) 2013 Retail GYJRG-NMYMF-VGBM4-T3QD4-842D

Office 2010

MS Office edition KMS Setup Key (GVLK keys)
Professional Plus 2010 VYBBJ-TRJPB-QFQRF-QFT4D-H3GVB
Standard 2010 V7QKV-4XVVR-XYV4D-F7DFM-8R6BM
Project Professional 2010 YGX6F-PGV49-PGW3J-9BTGG-VHKC6
Project Standard 2010 4HP3K-88W3F-W2K3D-6677X-F9PGB
Visio Professional 2010 7MCW8-VRQVK-G677T-PDJCM-Q8TCP
Visio Standard 2010 767HD-QGMWX-8QTDB-9G3R2-KHFGJ
Visio Premium 2010 D9DWC-HPYVV-JGF4P-BTWQB-WX8BJ
Access 2010 V7Y44-9T38C-R2VJK-666HK-T7DDX
Excel 2010 H62QG-HXVKF-PP4HP-66KMR-CW9BM
OneNote 2010 Q4Y4M-RHWJM-PY37F-MTKWH-D3XHX
Outlook 2010 7YDC2-CWM8M-RRTJC-8MDVC-X3DWQ
PowerPoint 2010 RC8FX-88JRY-3PF7C-X8P67-P4VTT
Publisher 2010 BFK7F-9MYHM-V68C7-DRQ66-83YTP
InfoPath 2010 K96W8-67RPQ-62T9Y-J8FQJ-BT37T
SharePoint Workspace (Groove) 2010 QYYW6-QP4CB-MBV6G-HYMCJ-4T3J4
Word 2010 HVHB3-C6FV7-KQX9W-YQG79-CRY7T
Small Business Basics 2010 D6QFG-VBYP2-XQHM7-J97RH-VVRCK
Starter 2010 Retail VXHHB-W7HBD-7M342-RJ7P8-CHBD6
SharePoint Designer (Frontpage) 2010 Retail H48K6-FB4Y6-P83GH-9J7XG-HDKKX
Office Mondo 1 2010 YBJTT-JG6MD-V9Q7P-DBKXJ-38W9R
Office Mondo 2 2010 7TC2V-WXF6P-TD7RT-BQRXR-B8K32

How to recover the genuine KEY overwritten by KMS?

The computer itself has been activated to a permanent version of Windows at the time of purchase, such as a new Asus, Dell, HP, etc. laptop that comes with a genuine version of Windows.

The system itself is a genuine system. Later, KMS was used to activate Office, but Windows was unexpectedly reactivated. How can I restore the original genuine key?

  1. Enter the following command in the powershell to view the original key of the system
    1
    2
    PS C:\Users\haven200> (Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
    xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
  2. Windows–>Settings–>System–>Activation–>Change product key–>Enter the original genuine key–>Next
  3. Wait for a moment, and Windows displays that activation is successful.

References:

  • bitspace
  • pykms
  • pykms-docs
  • vlmcsd
  • zvv
  • theitbros