KMS服务器激活Windows和Office2013EnterprisePlus
参考了文档 http://wenku.baidu.com/view/0cb2602358fb770bf68a5501.html
Ospp.vbs在Office安装目录,因此必须要先定位到目录;指定KMS服务器地址(HEU_KMS_Activator_CH_v7.6b.exe的目标计算机IP地址);,执行激活命令并查看激活状态。实际测试时没有输入/inpkey一样能够激活,估计安装程序的KMS Key有效,只是缺少KMS服务器罢了。
执行命令如下:
cd "C:\Program Files\Microsoft Office\Office15"
rem cscript ospp.vbs /inpkey:YC7DK-G2NP3-2QQC3-J6H88-GVGXT
cscript ospp.vbs /sethst:192.168.0.127
cscript ospp.vbs /act
cscript ospp.vbs /dstatus
Windows系统激活
Rem Slmgr –ipk XXXXXXXXXXXXXX
Slmgr –skms 192.168.0.127
Slmgr –ato
Slmgr –dlv
Slmgr –dli
执行结果如下:
==================================================================================
C:\Program Files\Microsoft Office\Office15>cscript ospp.vbs /sethst:192.168.0.127
Microsoft (R) Windows Script Host Version 5.8
版权所有(C) Microsoft Corporation。保留所有权利。
---Processing--------------------------
---------------------------------------
Successfully applied setting.
---------------------------------------
---Exiting-----------------------------
C:\Program Files\Microsoft Office\Office15>cscript ospp.vbs /act
Microsoft (R) Windows Script Host Version 5.8
版权所有(C) Microsoft Corporation。保留所有权利。
---Processing--------------------------
---------------------------------------
Installed product key detected - attempting to activate the following product:
SKU ID: 4a5d124a-e620-44ba-b6ff-658961b33b9a
LICENSE NAME: Office 15, OfficeProjectProVL_KMS_Client edition
LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
Last 5 characters of installed product key: 2342K
<Product activation successful>
---------------------------------------
Installed product key detected - attempting to activate the following product:
SKU ID: b322da9c-a2e2-4058-9e4e-f59a6970bd69
LICENSE NAME: Office 15, OfficeProPlusVL_KMS_Client edition
LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
Last 5 characters of installed product key: GVGXT
<Product activation successful>
---------------------------------------
Installed product key detected - attempting to activate the following product:
SKU ID: e13ac10e-75d0-4aff-a0cd-764982cf541c
LICENSE NAME: Office 15, OfficeVisioProVL_KMS_Client edition
LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
Last 5 characters of installed product key: RM3B3
<Product activation successful>
---------------------------------------
---------------------------------------
---Exiting-----------------------------
C:\Program Files\Microsoft Office\Office15>cscript ospp.vbs /dstatus
Microsoft (R) Windows Script Host Version 5.8
版权所有(C) Microsoft Corporation。保留所有权利。
---Processing--------------------------
---------------------------------------
SKU ID: 4a5d124a-e620-44ba-b6ff-658961b33b9a
LICENSE NAME: Office 15, OfficeProjectProVL_KMS_Client edition
LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
BETA EXPIRATION: 1601/1/1
LICENSE STATUS: ---LICENSED---
REMAINING GRACE: 180 days (259200 minute(s) before expiring)
Last 5 characters of installed product key: 2342K
Activation Type Configuration: ALL
DNS auto-discovery: KMS name not available
KMS machine registry override defined: 192.168.0.127:1688
Activation Interval: 120 minutes
Renewal Interval: 10080 minutes
KMS host caching: Enabled
---------------------------------------
SKU ID: b322da9c-a2e2-4058-9e4e-f59a6970bd69
LICENSE NAME: Office 15, OfficeProPlusVL_KMS_Client edition
LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
BETA EXPIRATION: 1601/1/1
LICENSE STATUS: ---LICENSED---
REMAINING GRACE: 180 days (259200 minute(s) before expiring)
Last 5 characters of installed product key: GVGXT
Activation Type Configuration: ALL
DNS auto-discovery: KMS name not available
KMS machine registry override defined: 192.168.0.127:1688
Activation Interval: 120 minutes
Renewal Interval: 10080 minutes
KMS host caching: Enabled
---------------------------------------
SKU ID: e13ac10e-75d0-4aff-a0cd-764982cf541c
LICENSE NAME: Office 15, OfficeVisioProVL_KMS_Client edition
LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
BETA EXPIRATION: 1601/1/1
LICENSE STATUS: ---LICENSED---
REMAINING GRACE: 180 days (259200 minute(s) before expiring)
Last 5 characters of installed product key: RM3B3
Activation Type Configuration: ALL
DNS auto-discovery: KMS name not available
KMS machine registry override defined: 192.168.0.127:1688
Activation Interval: 120 minutes
Renewal Interval: 10080 minutes
KMS host caching: Enabled
---------------------------------------
---------------------------------------
---Exiting-----------------------------
C:\Program Files\Microsoft Office\Office15>