office windows激活方法vol版

针对vol版本的office软件及windows系统,最安全有效的方法是使用本地kms激活:


office系列

  1. 使用python搭建本地kms 激活server(此版本支持python2/3):
git clone https://github.com/ThunderEX/py-kms.git
  1. 开启kms server进程:
[root@localhost py-kms]# python server.py 
TCP server listening at 0.0.0.0 on port 1688.
  1. CMD管理权限进入office的安装目录32位和64不同,已64位为例
cd /d C:\Program Files\Microsoft Office\Office15
  1. 手动指定office激活服务器地址为kms server的地址(替换10.10.10.10):
    cscript ospp.vbs /sethst:yourhost
C:\Program Files\Microsoft Office\Office15>CSCRIPT OSPP.VBS /SETHST:10.10.10.110
Microsoft (R) Windows Script Host Version 5.812
版权所有(C) Microsoft Corporation。保留所有权利。

---Processing--------------------------
---------------------------------------
Successfully applied setting.
---------------------------------------
---Exiting-----------------------------
  1. 执行激活命令(本例激活了officevisio):
    cscript ospp.vbs /act
C:\Program Files\Microsoft Office\Office15>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: b322da9c-a2e2-4058-9e4e-f11b6970bd19
LICENSE NAME: Office 15, OfficeProPlusVL_KMS_Client edition
LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
Last 5 characters of installed product key: GVGXT

---------------------------------------
Installed product key detected - attempting to activate the following product:
SKU ID: e13ac10e-75d0-41ff-a03d-761932cf341c
LICENSE NAME: Office 15, OfficeVisioProVL_KMS_Client edition*
LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
Last 5 characters of installed product key: RM3B3

---------------------------------------
---------------------------------------
---Exiting-----------------------------
  1. 查看office及visio激活状态:
    cscript ospp.vbs /dstatus
C:\Program Files\Microsoft Office\Office15>cscript ospp.vbs /dstatus
Microsoft (R) Windows Script Host Version 5.812
版权所有(C) Microsoft Corporation。保留所有权利。

---Processing--------------------------
---------------------------------------
SKU ID: b322da9c-a2e2-4058-9e4e-f59c6970cd69
LICENSE NAME: Office 15, OfficeProPlusVL_KMS_Client edition
LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
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: 179 days  (259178 minute(s) before expiring)
Last 5 characters of installed product key: GAGXT
Activation Type Configuration: ALL
        DNS auto-discovery: KMS name not available
        KMS machine registry override defined: 10.10.10.10:1688
        Activation Interval: 120 minutes
        Renewal Interval: 10080 minutes
        KMS host caching: Enabled
---------------------------------------
SKU ID: e11ac22e-75d0-1cff-b1cd-764982cf521c
LICENSE NAME: Office 15, OfficeVisioProVL_KMS_Client edition
LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
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: 179 days  (259178 minute(s) before expiring)
Last 5 characters of installed product key: WM3B3
Activation Type Configuration: ALL
        DNS auto-discovery: KMS name not available
        KMS machine registry override defined: 10.10.10.10:1688
        Activation Interval: 120 minutes
        Renewal Interval: 10080 minutes
        KMS host caching: Enabled
---------------------------------------
---------------------------------------
---Exiting-----------------------------

windows系列

cmd管理员执行:

slmgr -upk
slmgr -ipk   (windows的VOLkey,windows10VOL = W269N-WFGWX-YVC9B-4J6C9-T83GX )
slmgr -skms (KMS服务器IP)
slmgr -ato
slmgr -xpr

你可能感兴趣的:(office windows激活方法vol版)