Activate Microsoft Volume License products in seconds.

One private KMS host, every supported edition. Auto-discovery via DNS SRV from inside the network, manual /skms from outside. No keys to remember — just install a Volume License edition and it activates itself.

Internal LAN host kms.viktorbarzin.lan:1688
External / off-LAN host kms.viktorbarzin.me:1688
Auto-discovery SRV _vlmcs._tcp.viktorbarzin.lan

Quick start — fully automatic on a new machine

On the home / lab network, a freshly-installed Volume License edition will activate itself once Windows can find the SRV record. The bootstrap script below sets the Primary DNS Suffix, optionally installs Office + Project (LTSC 2024 VL), triggers slmgr /ato + ospp.vbs /act, and prompts for a single reboot.

PowerShell (run as Administrator)
powershell -ExecutionPolicy Bypass -File "\\nas.viktorbarzin.lan\Emo shared\kms-bootstrap.ps1"

Off-LAN? Skip auto-discovery and pin the host explicitly:

cmd.exe — explicit KMS host
slmgr /skms kms.viktorbarzin.me
slmgr /ato

cscript "C:\Program Files\Microsoft Office\Office16\ospp.vbs" /sethst:kms.viktorbarzin.me
cscript "C:\Program Files\Microsoft Office\Office16\ospp.vbs" /act

Windows desktop

Per-edition GVLKs. Volume License only — Home and retail SKUs cannot KMS-activate. Click any key to copy.

Windows 11 / 10

EditionGVLKNotes
Pro currentW269N-WFGWX-YVC9B-4J6C9-T83GXSame GVLK for Win11 and Win10 Pro.
Pro N currentMH37W-N47XK-V7XM9-C7227-GCQG9EU 'N' edition (no media pack).
Pro for Workstations currentNRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J
Pro for Workstations N current9FNHH-K3HBT-3W4TD-6383H-6XYWF
Pro Education current6TP4R-GNPTD-KYYHQ-7B7DP-J447Y
Pro Education N currentYVWGF-BXNMC-HTQYQ-CPQ99-66QFC
Education currentNW6C2-QMPVW-D7KKK-3GKT6-VCFB2
Education N current2WH4N-8QGBV-H22JP-CT43Q-MDWWJ
Enterprise currentNPPR9-FWDCX-D2C8J-H872K-2YT43
Enterprise N currentDPH2V-TTNVB-4X9Q3-TJR4H-KHJW4
Enterprise G currentYYVX9-NTFWV-6MDM3-9PT4T-4M68BGerman government SKU.
Enterprise G N current44RPN-FTY23-9VTTB-MP9BX-T84FV

Windows LTSC

EditionGVLKNotes
Enterprise LTSC 2024 / 2021 / 2019 currentM7XTQ-FN8P6-TTKYV-9D4CC-J462DSingle GVLK across Win11 LTSC 2024 and Win10 LTSC 2021/2019.
Enterprise N LTSC 2024 / 2021 / 2019 current92NFX-8DJQP-P6BBQ-THF9C-7CG2H
IoT Enterprise LTSC 2024 / 2021 currentKBN8V-HFGQ4-MGXVD-347P6-PDQGTSame GVLK for x64 and ARM64 IoT.
Enterprise LTSB 2016DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJOut of mainstream support; security updates ended Oct 2026.
Enterprise N LTSB 2016QFFDN-GRT3P-VKWWX-X7T3R-8B639
Enterprise LTSB 2015WNMTR-4C88C-JK8YV-HQ7T2-76DF9End of support reached.
Enterprise N LTSB 20152F77B-TNFGY-69QQF-B8YKP-D69TJ

Legacy desktop

EditionGVLKNotes
Windows 8.1 ProGCRJD-8NW9H-F2CDX-CCM8D-9D6T9Out of support since Jan 2023.
Windows 8.1 Pro NHMCNV-VVBFX-7HMBH-CTY9B-B4FXY
Windows 8.1 EnterpriseMHF9N-XY6XB-WVXMC-BTDCT-MKKG7
Windows 8.1 Enterprise NTT4HM-HN7YT-62K67-RGRQJ-JFFXW
Windows 8 ProNG4HW-VH26C-733KW-K6F98-J8CK4EOL Jan 2016.
Windows 8 Pro NXCVCF-2NXM9-723PB-MHCB7-2RYQQ
Windows 8 Enterprise32JNW-9KQ84-P47T8-D8GGY-CWCK7
Windows 8 Enterprise NJMNMF-RHW7P-DMY6X-RF3DR-X2BQT
Windows 7 ProfessionalFJ82H-XT6CR-J8D7P-XQJJ2-GPDD4EOL Jan 2020 (ESU through 2023).
Windows 7 Professional NMRPKT-YTG23-K7D7T-X2JMM-QY7MG
Windows 7 Professional EW82YF-2Q76Y-63HXB-FGJG9-GF7QX
Windows 7 Enterprise33PXH-7Y6KF-2VJC9-XBBR8-HVTHH
Windows 7 Enterprise NYDRBP-3D83W-TY26F-D46B2-XCKRJ
Windows 7 Enterprise EC29WB-22CC8-VJ326-GHFJW-H9DH4Win7 Ultimate is NOT KMS-activatable — not a Volume License SKU.
Windows Vista BusinessYFKBB-PQJJV-G996G-VWGXY-2V3X8EOL Apr 2017.
Windows Vista Business NHMBQG-8H2RH-C77VX-27R82-VMQBT
Windows Vista EnterpriseVKK3X-68KWM-X2YGT-QR4M6-4BWMV
Windows Vista Enterprise NVTC42-BM838-43QHV-84HX6-XJXKV
How to use a GVLK on Windows
:: open cmd.exe as Administrator
slmgr /upk                            :: remove existing key
slmgr /ipk <PASTE-GVLK-HERE>          :: install GVLK
slmgr /skms kms.viktorbarzin.me       :: optional: skip auto-discovery
slmgr /ato                            :: activate
slmgr /dlv                            :: verify (look for "LICENSED")

Windows Server

Server SKUs need only 5 unique clients to satisfy the KMS activation count threshold (vs. 25 for desktop).

Windows Server 2025

EditionGVLKNotes
Standard currentTVRH6-WHNXV-R9WG3-9XRFY-MY832
Datacenter currentD764K-2NDRG-47T6Q-P8T8W-YP6DF
Datacenter: Azure Edition currentXGN3F-F394H-FD2MY-PP6FD-8MCRCAzure Edition expects Azure Arc attestation; KMS may fail outside Azure.

Windows Server 2022

EditionGVLKNotes
Standard currentVDYBN-27WPP-V4HQT-9VMD4-VMK7H
Datacenter currentWX4NM-KYWYW-QJJR4-XV3QB-6VM33
Datacenter: Azure Edition currentNTBV8-9K7Q8-V27C6-M2BTV-KHMXVAzure Edition — Arc attestation needed for full activation outside Azure.

Windows Server 2019

EditionGVLKNotes
Standard currentN69G4-B89J2-4G8F4-WWYCC-J464C
Datacenter currentWMDGN-G9PQG-XVVXX-R3X43-63DFG
Essentials currentWVDHN-86M7X-466P6-VHXV7-YY726

Windows Server 2016

EditionGVLKNotes
StandardWC2BQ-8NRM3-FDDYY-2BFGV-KHKQYEOL Jan 2027.
DatacenterCB7KF-BWN84-R7R2Y-793K2-8XDDG
EssentialsJCKRF-N37P4-C2D82-9YXRT-4M63B

Windows Server 2012 R2

EditionGVLKNotes
StandardD2N9P-3P6X9-2R39C-7RTCD-MDVJXEOL Oct 2023; ESU available.
DatacenterW3GGN-FT8W3-Y4M27-J84CP-Q3VJ9
EssentialsKNC87-3J2TX-XB4WP-VCPJV-M4FWM

Windows Server 2012

EditionGVLKNotes
StandardXC9B7-NBPP2-83J2H-RHMBY-92BT4
Datacenter48HP8-DN98B-MYWDG-T2DCC-8W83P
EssentialsHTDQM-NBMMG-KGYDT-2DTKT-J2MPV
MultiPoint StandardHM7DN-YVMH3-46JC3-XYTG7-CYQJJ
MultiPoint PremiumXNH6W-2V9GX-RGJ4K-Y8X6F-QGJ2G

Windows Server 2008 R2

EditionGVLKNotes
StandardYC6KT-GKW9T-YTKYR-T4X34-R7VHCEOL Jan 2020 (ESU 2023).
Enterprise489J6-VHDMP-X63PK-3K798-CPX3Y
Datacenter74YFP-3QFB3-KQT8W-PMXWJ-7M648
Web6TPJF-RBVHG-WBW2R-86QPH-6RTM4
HPCTT8MH-CG224-D3D7Q-498W2-9QCTX
ItaniumGT63C-RJFQ3-4GMB6-BRFB9-CB83V

Windows Server 2008

EditionGVLKNotes
StandardTM24T-X9RMF-VWXK6-X8JC9-BFGM2EOL Jan 2020.
EnterpriseYQGMW-MPWTJ-34KDK-48M3W-X4Q6V
Datacenter7M67G-PC374-GR742-YH8V4-TCBY3
WebWYR28-R7TFJ-3X2YQ-YCY4H-M249D
HPCRCTX3-KWVHP-BR6TB-RB6DM-6X7HP
Itanium4DWFP-JF3DJ-B7DTH-78FJB-PDRHK

Office · Project · Visio

All listed editions are Volume License. Install via the Office Deployment Tool with the matching Configuration.xml below (use Channel shown in each row), or manually swap a retail key with ospp.vbs /unpkey:<LAST5> + /inpkey:<GVLK> and /act.

Office LTSC 2024

EditionProduct IDGVLKChannel
Office LTSC Professional Plus 2024 currentProPlus2024VolumeXJ2XN-FW8RK-P4HMP-DKDBV-GCVGBPerpetualVL2024
Office LTSC Standard 2024 currentStandard2024VolumeV28N4-JG22K-W66P8-VTMGK-H6HGRPerpetualVL2024
Project Professional 2024 currentProjectPro2024VolumeFQQ23-N4YCY-73HQ3-FM9WC-76HF4PerpetualVL2024
Project Standard 2024 currentProjectStd2024VolumePD3TT-NTHQQ-VC7CY-MFXK3-G87F8PerpetualVL2024
Visio LTSC Professional 2024 currentVisioPro2024VolumeB7TN8-FJ8V3-7QYCP-HQPMV-YY89GPerpetualVL2024
Visio LTSC Standard 2024 currentVisioStd2024VolumeJMMVY-XFNQC-KK4HK-9H7R3-WQQTVPerpetualVL2024
Access LTSC 2024 currentAccess2024Volume82FTR-NCHR7-W3944-MGRHM-JMCWDPerpetualVL2024
Excel LTSC 2024 currentExcel2024VolumeF4DYN-89BP2-WQTWJ-GR8YC-CKGJGPerpetualVL2024
Outlook LTSC 2024 currentOutlook2024VolumeD2F8D-N3Q3B-J28PV-X27HD-RJWB9PerpetualVL2024
PowerPoint LTSC 2024 currentPowerPoint2024VolumeCW94N-K6GJH-9CTXY-MG2VC-FYCWPPerpetualVL2024
Word LTSC 2024 currentWord2024VolumeMQ84N-7VYDM-FXV7C-6K7CC-VFW9JPerpetualVL2024
Skype for Business LTSC 2024 currentSkypeforBusiness2024Volume4NKHF-9HBQF-Q3B6C-7YV34-F64P3PerpetualVL2024

Office LTSC 2021

EditionProduct IDGVLKChannel
Office LTSC Professional Plus 2021ProPlus2021VolumeFXYTK-NJJ8C-GB6DW-3DYQT-6F7THPerpetualVL2021
Office LTSC Standard 2021Standard2021VolumeKDX7X-BNVR8-TXXGX-4Q7Y8-78VT3PerpetualVL2021
Project Professional 2021ProjectPro2021VolumeFTNWT-C6WBT-8HMGF-K9PRX-QV9H8PerpetualVL2021
Project Standard 2021ProjectStd2021VolumeJ2JDC-NJCYY-9RGQ4-YXWMH-T3D4TPerpetualVL2021
Visio LTSC Professional 2021VisioPro2021VolumeKNH8D-FGHT4-T8RK3-CTDYJ-K2HT4PerpetualVL2021
Visio LTSC Standard 2021VisioStd2021VolumeMJVNY-BYWPY-CWV6J-2RKRT-4M8QGPerpetualVL2021
Access LTSC 2021Access2021VolumeWM8YG-YNGDD-4JHDC-PG3F4-FC4T4PerpetualVL2021
Excel LTSC 2021Excel2021VolumeNWG3X-87C9K-TC7YY-BC2G7-G6RVCPerpetualVL2021
Outlook LTSC 2021Outlook2021VolumeC9FM6-3N72F-HFJXB-TM3V9-T86R9PerpetualVL2021
PowerPoint LTSC 2021PowerPoint2021VolumeTY7XF-NFRBR-KJ44C-G83KF-GX27KPerpetualVL2021
Word LTSC 2021Word2021VolumeTN8H9-M34D3-Y64V9-TR72V-X79KVPerpetualVL2021
Publisher LTSC 2021Publisher2021Volume2MW9D-N4BXM-9VBPG-Q7W6M-KFBGQPerpetualVL2021
Skype for Business LTSC 2021SkypeforBusiness2021VolumeHWCXN-K3WBT-WJBKY-R8BD9-XK29PPerpetualVL2021

Office 2019

EditionProduct IDGVLKChannel
Office Professional Plus 2019ProPlus2019VolumeNMMKJ-6RK4F-KMJVX-8D9MJ-6MWKPPerpetualVL2019
Office Standard 2019Standard2019Volume6NWWJ-YQWMR-QKGCB-6TMB3-9D9HKPerpetualVL2019
Project Professional 2019ProjectPro2019VolumeB4NPR-3FKK7-T2MBV-FRQ4W-PKD2BPerpetualVL2019
Project Standard 2019ProjectStd2019VolumeC4F7P-NCP8C-6CQPT-MQHV9-JXD2MPerpetualVL2019
Visio Professional 2019VisioPro2019Volume9BGNQ-K37YR-RQHF2-38RQ3-7VCBBPerpetualVL2019
Visio Standard 2019VisioStd2019Volume7TQNQ-K3YQQ-3PFH7-CCPPM-X4VQ2PerpetualVL2019
Access 2019Access2019Volume9N9PT-27V4Y-VJ2PD-YXFMF-YTFQTPerpetualVL2019
Excel 2019Excel2019VolumeTMJWT-YYNMB-3BKTF-644FC-RVXBDPerpetualVL2019
Outlook 2019Outlook2019Volume7HD7K-N4PVK-BHBCQ-YWQRW-XW4VKPerpetualVL2019
PowerPoint 2019PowerPoint2019VolumeRRNCX-C64HY-W2MM7-MCH9G-TJHMQPerpetualVL2019
Publisher 2019Publisher2019VolumeG2KWX-3NW6P-PY93R-JXK2T-C9Y9VPerpetualVL2019
Word 2019Word2019VolumePBX3G-NWMT6-Q7XBW-PYJGG-WXD33PerpetualVL2019
Skype for Business 2019SkypeforBusiness2019VolumeNCJ33-JHBBY-HTK98-MYCV8-HMKHJPerpetualVL2019

Office 2016

EditionProduct IDGVLKChannel
Office Professional Plus 2016ProPlus2016VolumeXQNVK-8JYDB-WJ9W3-YJ8YR-WFG99MSI / VL Click-to-Run
Office Standard 2016Standard2016VolumeJNRGM-WHDWX-FJJG3-K47QV-DRTFMMSI / VL Click-to-Run
Project Professional 2016ProjectPro2016VolumeYG9NW-3K39V-2T3HJ-93F3Q-G83KTMSI / VL Click-to-Run
Project Standard 2016ProjectStd2016VolumeGNFHQ-F6YQM-KQDGJ-327XX-KQBVCMSI / VL Click-to-Run
Visio Professional 2016VisioPro2016VolumePD3PC-RHNGV-FXJ29-8JK7D-RJRJKMSI / VL Click-to-Run
Visio Standard 2016VisioStd2016Volume7WHWN-4T7MP-G96JF-G33KR-W8GF4MSI / VL Click-to-Run
Access 2016Access2016VolumeGNH9Y-D2J4T-FJHGG-QRVH7-QPFDWMSI / VL Click-to-Run
Excel 2016Excel2016Volume9C2PK-NWTVB-JMPW8-BFT28-7FTBFMSI / VL Click-to-Run
OneNote 2016OneNote2016VolumeDR92N-9HTF2-97XKM-XW2WJ-XW3J6MSI / VL Click-to-Run
Outlook 2016Outlook2016VolumeR69KK-NTPKF-7M3Q4-QYBHW-6MT9BMSI / VL Click-to-Run
PowerPoint 2016PowerPoint2016VolumeJ7MQP-HNJ4Y-WJ7YM-PFYGF-BY6C6MSI / VL Click-to-Run
Publisher 2016Publisher2016VolumeF47MM-N3XJP-TQXJ9-BP99D-8K837MSI / VL Click-to-Run
Word 2016Word2016VolumeWXY84-JN2Q9-RBCCQ-3Q3J3-3PFJ6MSI / VL Click-to-Run
Skype for Business 2016SkypeforBusiness2016Volume869NQ-FJ69K-466HW-QYCP2-DDBV6MSI / VL Click-to-Run
Sample Configuration.xml — Office Pro Plus 2024 + Project Pro 2024
<Configuration>
  <Add OfficeClientEdition="64" Channel="PerpetualVL2024">
    <Product ID="ProPlus2024Volume"   PIDKEY="XJ2XN-FW8RK-P4HMP-DKDBV-GCVGB">
      <Language ID="en-us"/>
    </Product>
    <Product ID="ProjectPro2024Volume" PIDKEY="FQQ23-N4YCY-73HQ3-FM9WC-76HF4">
      <Language ID="en-us"/>
    </Product>
  </Add>
  <Updates Enabled="TRUE" Channel="PerpetualVL2024"/>
  <Display Level="None" AcceptEULA="TRUE"/>
  <Property Name="AUTOACTIVATE" Value="1"/>
  <Property Name="FORCEAPPSHUTDOWN" Value="TRUE"/>
</Configuration>
Activation — bare commands
cd "C:\Program Files\Microsoft Office\Office16"
cscript ospp.vbs /sethst:kms.viktorbarzin.me
cscript ospp.vbs /inpkey:<PASTE-GVLK>
cscript ospp.vbs /act
cscript ospp.vbs /dstatus               :: verify --LICENSED--

Downloads

Office Deployment Tool

Single binary that installs every Office VL edition listed above, driven by a Configuration.xml.

Office Deployment Tool (ODT) ↗

Single setup.exe covers Office 2016, 2019, LTSC 2021, LTSC 2024. Configuration.xml controls product + channel.

Windows ISOs

Bootstrap script

One-shot PowerShell that wires DNS suffix, Office install, and activation:

kms-bootstrap.ps1 ↗

FAQ & gotchas

Why won't my retail Office activate?

KMS only grants licenses to Volume License editions. Retail / OEM / Microsoft 365 keys reject KMS responses. Either reinstall as VL via ODT, or swap the key in place: cscript ospp.vbs /unpkey:<LAST5> followed by cscript ospp.vbs /inpkey:<GVLK> and /act.

What about Windows Home?

Home editions cannot be KMS-activated. Either upgrade to Pro/Enterprise/Education (DISM /Set-Edition or in-place reinstall) or use a retail key.

The first activation fails with 0xC004F038

That's the KMS count threshold: 25 unique clients (or 5 servers) must contact the host before desktop clients can activate. The host caches counts for 30 days. The vlmcsd implementation in this server bypasses that — but real Microsoft KMS hosts enforce it. If you ever swap to a hardware host you may need to pre-seed activations.

Office LTSC vs Microsoft 365 — can they coexist?

No. The Click-to-Run installer refuses side-by-side. Run setup.exe /configure Remove.xml with <Remove All="TRUE"/> first, then install the VL edition.

How does auto-discovery work?

The Software Protection Service queries DNS for _vlmcs._tcp.<primary-dns-suffix>. If the SRV resolves it connects to that host on the returned port (1688 by default). On this network the suffix is viktorbarzin.lan and the SRV resolves to kms.viktorbarzin.lan:1688. Set the suffix once via System Properties → Computer Name → More → Primary DNS suffix.

How long does a KMS license last?

180 days. The client tries to renew every 7 days; one successful renewal resets the 180-day clock. As long as a machine reaches the KMS once a quarter it stays activated indefinitely.

Where can I see the GVLKs Microsoft publishes?

Windows: learn.microsoft.com/.../kms-client-activation-keys.
Office / Project / Visio: learn.microsoft.com/.../gvlks.