Skip to content

Instantly share code, notes, and snippets.

@Zibri
Forked from CHEF-KOCH/KMS_office.cmd
Created January 18, 2020 15:59
Show Gist options
  • Select an option

  • Save Zibri/69d55039e5354100d2f8a053cbe64c5a to your computer and use it in GitHub Desktop.

Select an option

Save Zibri/69d55039e5354100d2f8a053cbe64c5a 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 [serverhere]:1688

slmgr /ato

Test if a KMS server is online or not

http://technet.microsoft.com/en-us/library/ff793433.aspx

/skms Name[:Port] | : port [Activation ID] [Activation ID] 
slmgr.vbs /skms KMSServer2
slmgr.vbs /ato

Example: nslookup -type=srv _vlmcs._tcp.kms.digiboy.ir

Online KMS host address:

  • kms.srv.crsoo.com
  • cy2617.jios.org
  • kms.digiboy.ir
  • kms.cangshui.net
  • kms.library.hk
  • hq1.chinancce.com
  • kms.loli.beer
  • kms.v0v.bid
  • 54.223.212.31
  • kms.jm33.me
  • nb.shenqw.win
  • kms.izetn.cn
  • kms.cin.ink
  • 222.184.9.98
  • kms.ijio.net
  • fourdeltaone.net:1688
  • kms.iaini.net
  • kms.cnlic.com
  • kms.51it.wang
  • key.17108.com
  • kms.chinancce.com
  • kms.ddns.net
  • windows.kms.app
  • kms.ddz.red
  • franklv.ddns.net
  • kms.mogeko.me
  • k.zpale.com
  • amrice.top
  • m.zpale.com
  • mvg.zpale.com
  • kms.shuax.com
  • kensol263.imwork.net:1688
  • xykz.f3322.org
  • kms789.com
  • dimanyakms.sytes.net:1688
  • kms8.MSGuides.com
  • kms.03k.org:1688
  • kms.ymgblog.com
  • kms.bige0.com
  • kms9.MSGuides.com
  • kms.cz9.cn
  • kms.lolico.moe
  • kms.ddddg.cn
  • kms.zhuxiaole.org
  • kms.moeclub.org
  • kms.lotro.cc
  • zh.us.to
  • noair.strangled.net:1688

Offline kms host address:

  • mhd.kmdns.net110
  • noip.me
  • 45.78.3.223
  • kms.didichuxing.coms
  • 140.133.45.107
  • toxykz.f3322.org
  • cckms.nccu.edu.tw
  • 192.168.2.81.2.7.0
  • vhk.3322.org
  • uitsckms.uit.tufts.edu
  • kms.isu.edu.tw
  • kms.crackmywpa.com
  • 58.173.212.51
  • lsu-kms.lsu.edu
  • win81.no-ip.org
  • whwebsolution.no-ip.org
  • kms.guowaifuli.com
  • 106.186.25.2393
  • rss.vicp.net:20439
  • 122.226.152.230
  • 222.76.251.188
  • 98.212.2.163
  • annychen.pw
  • heu168.6655.la
  • kms.aglc.cc
  • kms.landiannews.com
  • kms.xspace.in
  • 147.134.1.42
  • winkms.tk
  • kms7.MSGuides.com

Last updated:

  • 13.01.2020

Change log:

  • Dups removed
  • Added some online KMS server provided by WindowsAddict
@echo off
title Microsoft Office 2019 versions are supported!&cls&echo
============================================================================&echo
#Project: Activating Microsoft software products for FREE without software&echo
============================================================================&echo.&echo
#Supported products:&echo - Microsoft Office Standard 2019&echo - Microsoft Office Professional Plus 2019&echo.&echo.&(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\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b
..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo
============================================================================&echo
Activating your Office...&cscript //nologo ospp.vbs /unpkey:6MWKP >nul&cscript //nologo ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-
6MWKP >nul&set i=1
:server
if %i%==1 set KMS_Sev=kms7.MSGuides.com
if %i%==2 set KMS_Sev=kms8.MSGuides.com
if %i%==3 set KMS_Sev=kms9.MSGuides.com
if %i%==4 goto notsupported
cscript //nologo ospp.vbs /sethst:%KMS_Sev% >nul&echo
============================================================================&echo.&echo.
cscript //nologo ospp.vbs /act | find /i "successful" && (echo.&echo
============================================================================&echo.&echo
============================================================================&echo
Sorry! Your version is not supported.&echo Please try installing the latest version here: bit.ly/aiomsp
:halt
pause >nul
slmgr /ipk NPPR9-FWDCX-D2C8J-H872K-2YT43
slmgr /skms kms.digiboy.ir
slmgr /ato
cd\Program Files\Microsoft Office\Office16
cd\Program Files (x86)\Microsoft Office\Office16
cscript OSPP.VBS /sethst:kms.digiboy.ir
cscript OSPP.VBS /actcscript OSPP.VBS /dstatus
slmgr.vbs /ckms
@R37r1bu710n

Copy link
Copy Markdown

For Windows 11, this also works and activation is permanent. In PowerShell as admin:

irm https://get.activated.win | iex

Confirmed solution for Windows 11 bootcamp on MacBookAir9,1

Screenshot 2025-12-05 084612

@ariyanahmed973345-cmyk

Copy link
Copy Markdown

window 11 pro product key

@Lord-of-Souls

Lord-of-Souls commented Dec 14, 2025

Copy link
Copy Markdown

somebody help
cannot find my product serial number, account settings lists "XXXX-XXXX-XXXX-" last four digits, microsoft AI says it is a generic volume license key and cannot be activated for personal use

@jjg6908

jjg6908 commented Apr 2, 2026

Copy link
Copy Markdown

For Windows 11, this also works and activation is permanent. In PowerShell as admin:

irm https://get.activated.win | iex

This still works for Windows 11 in 26. Easy as hell.

@0wwafa

0wwafa commented Apr 2, 2026

Copy link
Copy Markdown

For Windows 11, this also works and activation is permanent. In PowerShell as admin:

irm https://get.activated.win | iex

This still works for Windows 11 in 26. Easy as hell.

Indeed. but the gist is 7 years old :D

@Imomiddin88

Copy link
Copy Markdown

C:>irm https://get.activated.win | iex
"irm" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.

@khnnmaha88-creator

Copy link
Copy Markdown

KMS Server Windows 👇

@pcfile360

Copy link
Copy Markdown

@namozovyoqub

Copy link
Copy Markdown

Picked up Microsoft Office 2024 Professional Plus from https://hypestkey.com/product/microsoft-office-ltsc-professional-plus-2024/, mostly because their reviews sit at 100% and I couldn't find a single bad one. Key arrived pretty much the second I finished paying. Activation took maybe five minutes total.typed in the key, clicked through the instructions, and Office was up and running.
No errors, no "key already in use" nonsense, nothing. Honestly a relief, I half expected it to stop working after a week but it's been solid. Turns out they're also listed as a Microsoft partner (appsource.microsoft.com/en-us/marketplace/partner-dir/4e902d25-237b-480e-8eeb-480dfbc7eab8/overview), so that explains a lot.

@hoyjkkhwg

Copy link
Copy Markdown

@sermon-hush-arson

Copy link
Copy Markdown

Click To Download ⬇️

KMS server Windows Setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment