{"id":15027934,"url":"https://github.com/netnr/kms","last_synced_at":"2025-05-14T07:09:26.515Z","repository":{"id":41070784,"uuid":"173843857","full_name":"netnr/kms","owner":"netnr","description":"KMS 激活服务，slmgr 命令激活 Windows 系统、Office","archived":false,"fork":false,"pushed_at":"2024-12-17T01:00:19.000Z","size":34,"stargazers_count":2260,"open_issues_count":2,"forks_count":380,"subscribers_count":26,"default_branch":"main","last_synced_at":"2025-04-11T18:18:33.510Z","etag":null,"topics":["kms","office","slmgr","vlmcsd","windows"],"latest_commit_sha":null,"homepage":"https://kms.zme.ink","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netnr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-05T00:30:41.000Z","updated_at":"2025-04-11T16:50:21.000Z","dependencies_parsed_at":"2024-12-17T02:18:18.980Z","dependency_job_id":"590dbffd-2733-4062-b608-b690b2ab799d","html_url":"https://github.com/netnr/kms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netnr%2Fkms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netnr%2Fkms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netnr%2Fkms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netnr%2Fkms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netnr","download_url":"https://codeload.github.com/netnr/kms/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254092787,"owners_count":22013290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kms","office","slmgr","vlmcsd","windows"],"created_at":"2024-09-24T20:07:19.013Z","updated_at":"2025-05-14T07:09:21.503Z","avatar_url":"https://github.com/netnr.png","language":"HTML","readme":"# KMS\nKMS 激活服务，slmgr 命令激活 Windows 系统、Office\n\n### 激活步骤（管理员命令执行）\n1. 设置服务 `slmgr -skms skms.netnr.eu.org`\n2. 安装密钥 `slmgr -ipk 版本对应秘钥`\n3. 激活系统 `slmgr -ato`\n\n### 可用服务\n- `skms.netnr.eu.org` 维护 **CNAME** 指向有效的服务\n\n+ `telnet skms.netnr.eu.org 1688` 测试服务是否可用\n+ `tcping skms.netnr.eu.org 1688`\n\n### 安装服务\n- ref: \u003chttps://github.com/Wind4/vlmcsd/releases\u003e\n- Windows：[vlmcs-Windows](https://gs.zme.ink/static/app/vlmcs-Windows.zip)\n\n### 安装服务（Linux）\n```\n# 一键安装脚本\nwget --no-check-certificate https://raw.githubusercontent.com/teddysun/across/master/kms.sh \u0026\u0026 chmod +x kms.sh \u0026\u0026 ./kms.sh\n\nnetstat -nxtlp | grep 1688 # 查看端口\n/etc/init.d/kms status # 状态\n/etc/init.d/kms start # 启动\n/etc/init.d/kms stop # 停止\n/etc/init.d/kms restart # 重启\n./kms.sh uninstall # 卸载\n```\n\u003chttps://teddysun.com/530.html\u003e\n\n### 密钥 \n\u003chttps://learn.microsoft.com/zh-cn/windows-server/get-started/kms-client-activation-keys\u003e\n\n[kms-client-activation-keys.md](https://github.com/MicrosoftDocs/windowsserverdocs/blob/main/WindowsServerDocs/get-started/kms-client-activation-keys.md)\n\n### Windows Server（LTSC 版本）\n\n#### Windows Server 2025\n\n操作系统版本 | KMS 客户端安装密钥\n--- | ---\nWindows Server 2025 Standard   | TVRH6-WHNXV-R9WG3-9XRFY-MY832\nWindows Server 2025 Datacenter | D764K-2NDRG-47T6Q-P8T8W-YP6DF\nWindows Server 2025 Datacenter: Azure Edition | XGN3F-F394H-FD2MY-PP6FD-8MCRC\n\n#### Windows Server 2022\n\n操作系统版本 | KMS 客户端安装密钥\n--- | ---\nWindows Server 2022 Standard   | VDYBN-27WPP-V4HQT-9VMD4-VMK7H\nWindows Server 2022 Datacenter | WX4NM-KYWYW-QJJR4-XV3QB-6VM33\nWindows Server 2022 Datacenter: Azure Edition | NTBV8-9K7Q8-V27C6-M2BTV-KHMXV\n\n#### Windows Server 2019\n\n操作系统版本 | KMS 客户端安装密钥\n--- | ---\nWindows Server 2019 Standard   | N69G4-B89J2-4G8F4-WWYCC-J464C\nWindows Server 2019 Datacenter | WMDGN-G9PQG-XVVXX-R3X43-63DFG\nWindows Server 2019 Essentials | WVDHN-86M7X-466P6-VHXV7-YY726\n\n#### Windows Server 2016\n\n操作系统版本 | KMS 客户端安装密钥\n--- | ---\nWindows Server 2016 Standard   | WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY\nWindows Server 2016 Datacenter | CB7KF-BWN84-R7R2Y-793K2-8XDDG\nWindows Server 2016 Essentials | JCKRF-N37P4-C2D82-9YXRT-4M63B\n\n### Windows Server (半年频道版本)\n\n#### Windows Server 版本 20H2、2004、1909、1903 和 1809\n\n操作系统版本 | KMS 客户端安装密钥\n--- | ---\nWindows Server Standard   | N2KJX-J94YW-TQVFB-DG9YT-724CC\nWindows Server Datacenter | 6NMRW-2C8FM-D24W7-TQWMY-CWH2D\n\n### Windows 11 和 Windows 10 (半年频道版本)\n\n操作系统版本 | KMS 客户端安装密钥\n--- | ---\nWindows 10/11 专业版 | W269N-WFGWX-YVC9B-4J6C9-T83GX\nWindows 10/11 专业版 N\t | MH37W-N47XK-V7XM9-C7227-GCQG9\nWindows 10/11 专业工作站 | NRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J\nWindows 10/11 专业工作站 N\t | 9FNHH-K3HBT-3W4TD-6383H-6XYWF\nWindows 10/11 专业教育版 | 6TP4R-GNPTD-KYYHQ-7B7DP-J447Y\nWindows 10/11 专业教育版 N | YVWGF-BXNMC-HTQYQ-CPQ99-66QFC\nWindows 10/11 教育版 | NW6C2-QMPVW-D7KKK-3GKT6-VCFB2\nWindows 10/11 教育版 N | 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ\nWindows 10/11 企业版 | NPPR9-FWDCX-D2C8J-H872K-2YT43\nWindows 10/11 企业版 N | DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4\nWindows 10/11 企业版 G | YYVX9-NTFWV-6MDM3-9PT4T-4M68B\nWindows 10/11 企业版 G N | 44RPN-FTY23-9VTTB-MP9BX-T84FV\n\n### Windows 10 (LTSC/LTSB 版本)\n\n#### Windows 10 LTSC 2019\n\n操作系统版本 | KMS 客户端安装密钥\n--- | ---\nWindows 10 企业版 LTSC 2019   | M7XTQ-FN8P6-TTKYV-9D4CC-J462D\nWindows 10 企业版 N LTSC 2019 | 92NFX-8DJQP-P6BBQ-THF9C-7CG2H\n\n#### Windows 10 LTSB 2016\n\n操作系统版本 | KMS 客户端安装密钥\n--- | ---\nWindows 10 企业版 LTSB 2016   | DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ\nWindows 10 企业版 N LTSB 2016 | QFFDN-GRT3P-VKWWX-X7T3R-8B639\n\n#### Windows 10 LTSB 2015\n\n操作系统版本 | KMS 客户端安装密钥\n--- | ---\nWindows 10 企业版 2015 LTSB   | WNMTR-4C88C-JK8YV-HQ7T2-76DF9\nWindows 10 企业版 2015 LTSB N | 2F77B-TNFGY-69QQF-B8YKP-D69TJ\n\n### 早期版本的 Windows Server\n\n#### Windows Server 版本 1803\n\n操作系统版本 | KMS 客户端安装密钥\n--- | ---\nWindows Server Standard   | PTXN8-JFHJM-4WC78-MPCBR-9W4KR\nWindows Server Datacenter | 2HXDN-KRXHB-GPYC7-YCKFJ-7FVDG\n\n#### Windows Server 版本 1709\n\n操作系统版本 | KMS 客户端安装密钥\n--- | ---\nWindows Server Standard   | DPCNP-XQFKJ-BJF7R-FRC8D-GF6G4\nWindows Server Datacenter | 6Y6KB-N82V8-D8CQV-23MJW-BWTG6\n\n#### Windows Server 2012 R2\n\n操作系统版本 | KMS 客户端安装密钥\n--- | ---\nWindows Server 2012 R2 Standard   | D2N9P-3P6X9-2R39C-7RTCD-MDVJX\nWindows Server 2012 R2 Datacenter | W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9\nWindows Server 2012 R2 Essentials | KNC87-3J2TX-XB4WP-VCPJV-M4FWM\n\n#### Windows Server 2012\n\n操作系统版本 | KMS 客户端安装密钥\n--- | ---\nWindows Server 2012 | BN3D2-R7TKB-3YPBD-8DRP2-27GG4\nWindows Server 2012 N | 8N2M2-HWPGY-7PGT9-HGDD8-GVGGY\nWindows Server 2012 单语言版 | 2WN2H-YGCQR-KFX6K-CD6TF-84YXQ\nWindows Server 2012 特定国家/地区版 | 4K36P-JN4VD-GDC6V-KDT89-DYFKP\nWindows Server 2012 Server Standard | XC9B7-NBPP2-83J2H-RHMBY-92BT4\nWindows Server 2012 MultiPoint Standard | HM7DN-YVMH3-46JC3-XYTG7-CYQJJ\nWindows Server 2012 MultiPoint Premium | XNH6W-2V9GX-RGJ4K-Y8X6F-QGJ2G\nWindows Server 2012 Datacenter | 48HP8-DN98B-MYWDG-T2DCC-8W83P\n\n#### Windows Server 2008 R2\n\n操作系统版本 | KMS 客户端安装密钥\n--- | ---\nWindows Server 2008 R2 Web 版 | 6TPJF-RBVHG-WBW2R-86QPH-6RTM4\nWindows Server 2008 R2 HPC 版 | TT8MH-CG224-D3D7Q-498W2-9QCTX\nWindowsServer 2008 R2 Standard | YC6KT-GKW9T-YTKYR-T4X34-R7VHC\nWindowsServer 2008 R2 企业版 | 489J6-VHDMP-X63PK-3K798-CPX3Y\nWindowsServer 2008 R2 Datacenter | 74YFP-3QFB3-KQT8W-PMXWJ-7M648\n面向基于 Itanium 系统的 Windows Server 2008 R2 | GT63C-RJFQ3-4GMB6-BRFB9-CB83V\n\n#### Windows Server 2008\n\n操作系统版本 | KMS 客户端安装密钥\n--- | ---\nWindows Web Server 2008 | WYR28-R7TFJ-3X2YQ-YCY4H-M249D\nWindows Server 2008 Standard | TM24T-X9RMF-VWXK6-X8JC9-BFGM2\n不带 Hyper-V 的 Windows Server 2008 Standard | W7VD6-7JFBR-RX26B-YKQ3Y-6FFFJ\nWindows Server 2008 企业版 | YQGMW-MPWTJ-34KDK-48M3W-X4Q6V\n不带 Hyper-V 的 Windows Server 2008 企业版 | 39BXF-X8Q23-P2WWT-38T2F-G3FPG\nWindows Server 2008 HPC | RCTX3-KWVHP-BR6TB-RB6DM-6X7HP\nWindows Server 2008 Datacenter | 7M67G-PC374-GR742-YH8V4-TCBY3\n不带 Hyper-V 的 Windows Server 2008 Datacenter | 22XQ2-VRXRG-P8D42-K34TD-G3QQC\n面向基于 Itanium 系统的 Windows Server 2008 | 4DWFP-JF3DJ-B7DTH-78FJB-PDRHK\n\n### 早期版本的 Windows\n\n#### Windows 8.1\n\n操作系统版本 | KMS 客户端安装密钥\n--- | ---\nWindows 8.1 专业版 | GCRJD-8NW9H-F2CDX-CCM8D-9D6T9\nWindows 8.1 专业版 N | HMCNV-VVBFX-7HMBH-CTY9B-B4FXY\nWindows 8.1 企业版 | MHF9N-XY6XB-WVXMC-BTDCT-MKKG7\nWindows 8.1 企业版 N | TT4HM-HN7YT-62K67-RGRQJ-JFFXW\n\n#### Windows 8\n\n操作系统版本 | KMS 客户端安装密钥\n--- | ---\nWindows 8 专业版 | NG4HW-VH26C-733KW-K6F98-J8CK4\nWindows 8 专业版 N | XCVCF-2NXM9-723PB-MHCB7-2RYQQ\nWindows 8 企业版 | 32JNW-9KQ84-P47T8-D8GGY-CWCK7\nWindows 8 企业版 N | JMNMF-RHW7P-DMY6X-RF3DR-X2BQT\n\n#### Windows 7\n\n操作系统版本 | KMS 客户端安装密钥\n--- | ---\nWindows 7 专业版 | FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4\nWindows 7 专业版 N | MRPKT-YTG23-K7D7T-X2JMM-QY7MG\nWindows 7 专业版 E | W82YF-2Q76Y-63HXB-FGJG9-GF7QX\nWindows7 企业版 | 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH\nWindows 7 企业版 N | YDRBP-3D83W-TY26F-D46B2-XCKRJ\nWindows 7 企业版 E | C29WB-22CC8-VJ326-GHFJW-H9DH4\n\n### 激活说明\n- KMS 激活有 180 天期限，此期限称为激活有效间隔\n- 若要保持激活状态，您的系统必须通过至少每 180 天连接一次 KMS 服务器来续订激活\n- 默认情况下，系统每 7 天自动进行一次激活续订尝试\n- 在续订客户端激活之后，激活有效间隔重新开始\n- 综上所述，只要您不超过 180 天以上无法连接互联网，系统会自行续期保持激活状态\n\n----------\n### Office（VOL 版本）激活步骤（管理员命令执行）\n1. 进入安装目录 `cd \"C:\\Program Files (x86)\\Microsoft Office\\Office16\"`\n    - 32 位默认一般为 `C:\\Program Files (x86)\\Microsoft Office\\Office16`\n    - 64 位默认一般为 `C:\\Program Files\\Microsoft Office\\Office16`\n    - **Office16** 是 **Office 2016**\n    - **Office15** 是 **Office 2013**\n    - **Office14** 是 **Office 2010**\n    - 打开以上所说的目录，应该有个 `OSPP.VBS` 文件\n2. 注册 KMS 服务 `cscript ospp.vbs /sethst:skms.netnr.eu.org`\n3. 激活 Office `cscript ospp.vbs /act`\n\n### Office 密钥列表\n- \u003chttps://docs.microsoft.com/en-us/DeployOffice/vlactivation/gvlks\u003e\n\n### More\n- \u003chttps://kms.cangshui.net\u003e\n- \u003chttps://teddysun.com/530.html\u003e\n- \u003chttps://blog.03k.org/post/kms.html\u003e\n- \u003chttps://github.com/massgravel/Microsoft-Activation-Scripts\u003e","funding_links":[],"categories":["HTML"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetnr%2Fkms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetnr%2Fkms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetnr%2Fkms/lists"}