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
@PleaseNotLeave
Copy link
Copy Markdown

not work

@Clint-Os
Copy link
Copy Markdown

nice job

@nerun
Copy link
Copy Markdown

nerun commented Oct 17, 2024

Great job! Some addresses work, and some don't. This 140.133.45.107 worked for me in both Windows 10 and 11 in 2024.

@RyukenRK
Copy link
Copy Markdown

Where is the tutorial explaining how to do the stuff? I just see a bunch of content without explaination.

@nerun
Copy link
Copy Markdown

nerun commented Jun 10, 2025

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

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

@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

This works on Windows 10 (bootcamp MacOS Monterey MBP 13,1) for 45 days
win10activate

@anhvlttfs
Copy link
Copy Markdown

anhvlttfs commented Sep 26, 2025

New servers:

kms01-aws.servers.theflightsims.com
kms02-gcp.servers.theflightsims.com

Also, since the domain theflightsims.com is configured the DNS record with dynamic service, you can either use these commands to activate

slmgr.vbs /skms-domain theflightsims.com
slmgr.vbs /skms kms01-aws.servers.theflightsims.com
slmgr.vbs /skms kms02-gcp.servers.theflightsims.com

The arguments /skms-domain is more likely recommended, because if a server is down, you still can get activated with another server within the domain.

@Teem0thy
Copy link
Copy Markdown

Teem0thy commented Dec 3, 2025

Sorry for probably dumb question, but what about product keys? These servers are set up to consume every possible symbols combinations or I have to google for some specific for every server?

@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
Copy link
Copy Markdown

Lord-of-Souls commented Dec 14, 2025

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
Copy link
Copy Markdown

jjg6908 commented Apr 2, 2026

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
Copy link
Copy Markdown

0wwafa commented Apr 2, 2026

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

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