Giter Club home page Giter Club logo

kms's Introduction

KMS 激活脚本

Status

不提倡使用盗版软件!!!

激活 Windows 的脚本只支持激活批量授权版(VOL 版)的 Windows, 零售版(Retail)的 Windows 请另寻它法。

Office 方面, 这里提供了两种激活 Office 的脚本, Retail 版和 VOL 版, 分别对应两种 版本 Office, 零售版(Retail 版)和批量授权版(VOL 版)。

零售版的 Office 无法使用 KMS 直接激活, 要先转换为批量授权版的 Office, 再激活。

零售版的 Office 和批量授权版的 Office 在功能上没有任何区别, 只是激活方式不同 。

KMS 激活服务器地址: kms.mogeko.me

服务器挂掉了也不用担心, 只需要去 Google/百度 搜索可以用的 KMS 服务器地址, 然后替 换掉原脚本中挂掉的服务器地址(kms.mogeko.me)就可以了。

使用方法

下载并安装 CA 证书: mogeko.cer

下载并运行 Run.ps1, 选择合适的服务即可激活相应的软件。

为什么需要安装 CA 证书?

判断你安装的 Office 是哪个版本

用管理员权限打开命令行(CMD), 来到 Office 的安装目录, 输入命令 :cscript ospp.vbs /dstatus

如果输出的信息中包含下面这句话说明你安装的是零售版

LICENSE DESCRIPTION: Office 15, RETAIL(Grace) channel

如果输出的信息中包含下面这句话说明你安装的是批量授权版

LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel

data.json

储存激活用的密钥等信息的 data.json 部署在本项目的 Github Pages 上,在每次启动时通过网络动态获取。

如果你不希望动态获取 data.json 或者想要自定义 data.json,你可以将 data.json 下载下来,放在 run.ps1 脚本的同目录下 (不推荐这样做)

LICENCE

GNU General Public License v3.0

kms's People

Contributors

mogeko avatar restyled-commits avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kms's Issues

用 PowerShell 重构

准备用 PowerShell 重构一下,顺便优化操作流程和数据结构

TODO List:

  • 用 PowerShell 重构
  • 将所有功能整合到一个脚本中
  • 数据与脚本分离
  • 动态获取 data.json
  • 允许自定义 ospp.vbs 文件的位置

Office激活脚本中两个连续的cd导致只适用于x86版本

cd /d %ProgramFiles%\Microsoft Office\Office16 cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
实际使用中如果是x64版本需要注释掉第二个cd才能正常工作。

另外建议末尾增加个“按任意键退出”给个看结果的机会。。。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.