为了廉价,又用的树莓派,说真的,我家的树莓派真的惨。。。。
win10下载地址:https://www.microsoft.com/zh-cn/software-download/windows10
好了,正题开始
vlmcsd是用c写的开源KMS模拟器,效率高且安全可靠。可用来替代旧的python版和闭源版服务。
已经有不少x64平台的镜像,但ARM平台的机器是不能直接拿来用的,所以我弄了支持ARM机器的镜像。
目前支持架构:
用Docker部署KMS服务器(支持ARM平台)
arm64v8:64位ARM平台,如树莓派3b群晖DS218play,威联通TS-212P3等
arm32v7:32位ARM平台,如树莓派2,树莓派3等
amd64:x64平台,如群晖DS218+等
宝塔操作就简单了,之后可能会写个源码安装docker
1.首先后去镜像
命令行:docker pulln mjysci/vlmcsd:arm64v8
宝塔直接拉取:mjysci/vlmcsd:arm64v8
2.新建容器:
命令行:docker run -dn -p 1688:1688 --restart=on-failure:5 --name vlmcsd mjysci/vlmcsd:arm64v8
宝塔直接创建容器:端口添加1688其他默认就好
激活windows
VL版本的镜像一般内置GVLK key,可以直接省略第一步和第二步。
kms激活的前提是你的系统是批量授权版本,即VL版,一般企业版都是VL版,专业版有零售和VL版,家庭版旗舰版OEM版等等那就肯定不能用kms激活。一般建议从msdn上面下载系统.
VL版本的镜像一般内置GVLK key,用于kms激活。如果你手动输过其他key,那么这个内置的key就会被替换掉,这个时候如果你想用kms,那么就需要把GVLK key输回去。首先,到微软中获取key获取你对应版本的KEY
slmgr /upk
slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
slmgr /skms kms.bug-maker.com
slmgr /ato
激活office
OFFICE必须是VOL版本
PS C:\Program Files\Microsoft Office\Office16> cscript ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP
Microsoft (R) Windows Script Host Version 5.812
版权所有(C) Microsoft Corporation。保留所有权利。
---Processing--------------------------
---------------------------------------
<Product key installation successful>
---------------------------------------
---Exiting-----------------------------
PS C:\Program Files\Microsoft Office\Office16> cscript ospp.vbs /act
Microsoft (R) Windows Script Host Version 5.812
版权所有(C) Microsoft Corporation。保留所有权利。
---Processing--------------------------
---------------------------------------
Installed product key detected - attempting to activate the following product:
SKU ID: 85dd8b5f-eaa4-4af3-a628-cce9e77c9a03
LICENSE NAME: Office 19, Office19ProPlus2019VL_KMS_Client_AE edition
LICENSE DESCRIPTION: Office 19, VOLUME_KMSCLIENT channel
Last 5 characters of installed product key: 6MWKP
ERROR CODE: 0xC004F074
ERROR DESCRIPTION: The Software Licensing Service reported that the product could not be activated. No Key Management Service (KMS) could be contacted. Please see the Application Event Log for additional information.
To view the activation event history run: cscript ospp.vbs /dhistorykms
NOTICE: A KB article has been detected for activation failure: 0xC004F074
FOR MORE INFORMATION PLEASE VISIT: https://support.microsoft.com/kb/2870357#Error0xC004F074
---------------------------------------
---------------------------------------
---Exiting-----------------------------
PS C:\Program Files\Microsoft Office\Office16> cscript ospp.vbs /sethst:kms.bug-maker.com
Microsoft (R) Windows Script Host Version 5.812
版权所有(C) Microsoft Corporation。保留所有权利。
---Processing--------------------------
---------------------------------------
Successfully applied setting.
---------------------------------------
---Exiting-----------------------------
PS C:\Program Files\Microsoft Office\Office16> cscript ospp.vbs /act
Microsoft (R) Windows Script Host Version 5.812
版权所有(C) Microsoft Corporation。保留所有权利。
---Processing--------------------------
---------------------------------------
Installed product key detected - attempting to activate the following product:
SKU ID: 85dd8b5f-eaa4-4af3-a628-cce9e77c9a03
LICENSE NAME: Office 19, Office19ProPlus2019VL_KMS_Client_AE edition
LICENSE DESCRIPTION: Office 19, VOLUME_KMSCLIENT channel
Last 5 characters of installed product key: 6MWKP
<Product activation successful>
---------------------------------------
---------------------------------------
---Exiting-----------------------------
PS C:\Program Files\Microsoft Office\Office16> cscript ospp.vbs /dstatus
Microsoft (R) Windows Script Host Version 5.812
版权所有(C) Microsoft Corporation。保留所有权利。
---Processing--------------------------
---------------------------------------
PRODUCT ID: 00414-50000-00000-AA844
SKU ID: 85dd8b5f-eaa4-4af3-a628-cce9e77c9a03
LICENSE NAME: Office 19, Office19ProPlus2019VL_KMS_Client_AE edition
LICENSE DESCRIPTION: Office 19, VOLUME_KMSCLIENT channel
BETA EXPIRATION: 1601/1/1
LICENSE STATUS: ---LICENSED---
ERROR CODE: 0x4004F040 (for information purposes only as the status is licensed)
ERROR DESCRIPTION: The Software Licensing Service reported that the product was activated but the owner should verify the Product Use Rights.
REMAINING GRACE: 180 days (259200 minute(s) before expiring)
Last 5 characters of installed product key: 6MWKP
Activation Type Configuration: KMS
DNS auto-discovery: KMS name not available
KMS machine registry override defined: kms.bug-maker.com:1688
Activation Interval: 120 minutes
Renewal Interval: 10080 minutes
KMS host caching: Enabled
---------------------------------------
---------------------------------------
---Exiting-----------------------------