KMS服務器激活Windows和Office2013EnterprisePlushtml
參考了文檔 http://wenku.baidu.com/view/0cb2602358fb770bf68a5501.html服務器
Ospp.vbs在Office安裝目錄,所以必需要先定位到目錄;指定KMS服務器地址(HEU_KMS_Activator_CH_v7.6b.exe的目標計算機IP地址);,執行激活命令並查看激活狀態。實際測試時沒有輸入/inpkey同樣可以激活,估計安裝程序的KMS Key有效,只是缺乏KMS服務器罷了。app
執行命令以下:ide
cd "C:\Program Files\Microsoft Office\Office15"測試
rem cscript ospp.vbs /inpkey:YC7DK-G2NP3-2QQC3-J6H88-GVGXThtm
cscript ospp.vbs /sethst:192.168.0.127ip
cscript ospp.vbs /actrem
cscript ospp.vbs /dstatus文檔
Windows系統激活get
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>