https://github.com/ziozzang/pykms
Python KMS Server and Client
https://github.com/ziozzang/pykms
Last synced: 2 months ago
JSON representation
Python KMS Server and Client
- Host: GitHub
- URL: https://github.com/ziozzang/pykms
- Owner: ziozzang
- License: other
- Created: 2019-05-19T13:30:07.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-14T12:12:50.000Z (over 7 years ago)
- Last Synced: 2025-01-28T18:21:22.451Z (over 1 year ago)
- Language: Python
- Homepage: https://api.karula.org/kms/
- Size: 111 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README-office.md
- License: LICENSE
Awesome Lists containing this project
README
## 激活 Office 套件
1. 确定自己安装的未激活 Office 为 VOL 版
2. 以管理员权限运行 cmd 或 Windows PowerShell
3. 执行以下指令
```
cd %ProgramFiles%\Microsoft Office\[office_folder]
cscript ospp.vbs /sethst:[server_address]:[port]
cscript ospp.vbs /act
cscript ospp.vbs /dstatus
cscript ospp.vbs /remhst
```
* 默认 `[port]` 为 `1688`
* 当前支持的 `[office_folder]` 如下
* Office 2016 为 `Office16`
* Office 2013 为 `Office15`
* Office 2010 为 `Office14`