# kms 使用

## 系统下载

Windows 11 专业版下载

https://www.microsoft.com/zh-cn/software-download/windows11


## kms 服务端安装

在 openwrt 上传并安装下列两个包

[vlmcsd_svn1113-5_aarch64_generic.ipk](./vlmcsd_svn1113-5_aarch64_generic.ipk)

来自: https://op.dllkids.xyz/packages/aarch64_generic/

[luci-app-vlmcsd_1.0.2-1_all.ipk](./luci-app-vlmcsd_1.0.2-1_all.ipk)

来自: https://github.com/cokebar/luci-app-vlmcsd/releases/tag/v1.0.2-1

## kms 激活

以管理员身份运行终端

1. 查看激活状态

   ```sh
   slmgr /dlv
   ```

   [预览图](https://static.qwas.fun/public/2024/11/slmgr-dlv.png)

2. 设置 kms 服务器

   ```sh
   slmgr /skms 192.168.6.1
   ```

   [预览图](https://static.qwas.fun/public/2024/11/slmgr-skms.png)

3. 设置密钥

   ```sh
   slmgr -ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
   ```

   [预览图](https://static.qwas.fun/public/2024/11/slmgr-ipk.png)

4. 设置激活

   ```sh
   slmgr /ato
   ```

   [预览图](https://static.qwas.fun/public/2024/11/slmgr-ato.png)

   
5. 再次查看激活状态

   ```sh
   slmgr /dlv
   ```

   [预览图](https://static.qwas.fun/public/2024/11/slmgr-dlv-3.png)
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9