服务器维护,服务器代维,安全设置,漏洞扫描,入侵检测服务

运维之家

 找回密码
 注册
搜索
查看: 8777|回复: 2

自建KMS服务器及激活windows/office

[复制链接]
dirtysea 发表于 2020-5-19 17:29:32 | 显示全部楼层 |阅读模式
一、说明

服务作用:在线激活windows和office,

适用对象:VOL版本的windows和office

优点:不用担心别人家的服务停止后无法正常激活,在线激活 省时省力 无需安装软件 干净环保 命令简单

缺点:服务器不挂的话自动重新授权到服务器挂(服务器挂了还能继续180天)

二、服务器搭建

1、下载vlmcsd (以Centos7.6 x86_64为例)

wget https://github.com/Wind4/vlmcsd/ ... 111/binaries.tar.gz
2、解压

tar -zxvf binaries.tar.gz
3、将对应的操作系统和CPU品牌的可执行文件复制到自己习惯的目录(主要为了方便管理)

mv ./binaries/Linux/intel/static/vlmcsd-x64-musl-static /usr/local/kms/vlmcsd
(查看cpu信息: cat /proc/cpuinfo)

4、授权(根据自身需要来授权,我的是演示机!所以就给777了)

chmod 777  /usr/local/kms/vlmcsd
5、启动(直接运行该执行文件,这样一台KMS服务器就可以正常使用了。)

/usr/local/kms/vlmcsd
6、配置为服务(该操作为非必需!看个人习惯,有些为喜欢用服务方式来启动)

创建service文件(以kms.service为例,服务名可由你自己取!)

vi /usr/lib/systemd/system/kms.service
复制粘贴以下内容,保存退出

[Unit]
Description=vlmcsd(kms server)
After=network.target

[Service]
Type=forking
ExecStart=/usr/local/kms/vlmcsd
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s QUIT $MAINPID

[Install]
WantedBy=multi-user.target
重新加载配置文件,使服务生效

systemctl daemon-reload
这样就可以通过下面的命令来管理KMS服务了

# 设定开机启动
systemctl enable kms
# 启动服务
systemctl start kms
# 停止服务
systemctl stop kms
# 重启服务
systemctl restart kms
# 取消开机启动
systemctl disable kms
# 查看服务状态
systemctl status kms
最后检查确认进程及端口是否正常。

# ps -ef | grep vlmcsd
root     19582     1  0 08:30 ?        00:00:00 /usr/local/kms/vlmcsd
root     26325 26286  0 10:33 pts/1    00:00:00 grep --color=auto vlmcsd


# netstat -nat | grep 1688
tcp        0      0 0.0.0.0:1688            0.0.0.0:*               LISTEN     
tcp6       0      0 :::1688                 :::*                    LISTEN
三、windows激活方法(以管理员身份运行cmd或Power Shell)

windows激活(kms激活的前提是你的系统是批量授权版本,即VL版,其它的版本(如零售版)硬要使用该激活方式,那就得先转为VL版,可网上搜其它教程)

1、导入key(一般新安装的系统是没有导入过key,如果你已经导入过key这步可不操作)

可以查看微软官网给出的key(https://docs.microsoft.com/en-us ... 2-and-2012/jj612867(v=ws.11))

查看windows版本

wmic os get caption
导入对应版本的Key(替换成对应版本的key,部份版本的Key在文章底部)

slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx
2、配置kms服务器地址 (注意替换为自己的域名或IP)

slmgr /skms abc.abc.com
3、激活(手动激活)

slmgr /ato
4、查看激活状态

slmgr /xpr
 

四、Office激活方法(以管理员身份运行cmd或Power Shell)

再次强调,你的OFFICE必须是VOL版本,否则无法激活!使用office安装目录下的ospp.vbs工具进行操作。

找到你的office安装目录,如C:\Program Files (x86)\Microsoft Office\Office16

64位的就是C:\Program Files\Microsoft Office\Office16

office16是office2016,office15就是office2013,office14就是office2010。

相应的Key可以查看微软官网(https://docs.microsoft.com/zh-cn/DeployOffice/vlactivation/gvlks)

1、进行ospp.vbs目录 (如果目录有空格,可能需要加半角的双引号")

cd C:\Program Files\Microsoft Office\Office16


cd C:\"Program Files"\"Microsoft Office"\Office16
2、导入key(替换成对应版本的key,部份版本的Key在文章底部)

cscript ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP
3、配置kms服务器地址(注意替换为自己服务器的域名或IP)

cscript ospp.vbs /sethst:abc.abc.com
4、激活(手动激活)

cscript ospp.vbs /act
5、查看激活状态

cscript ospp.vbs /dstatus
如果提示看到successful的字样,那么就是激活成功了。

五、附件表

windows系统部份Key列出如下:

Operating system edition

KMS Client Setup Key

Windows 10 Professional

W269N-WFGWX-YVC9B-4J6C9-T83GX

Windows 10 Professional N

MH37W-N47XK-V7XM9-C7227-GCQG9

Windows 10 Enterprise

NPPR9-FWDCX-D2C8J-H872K-2YT43

Windows 10 Enterprise N

DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4

Windows 10 Education

NW6C2-QMPVW-D7KKK-3GKT6-VCFB2

Windows 10 Education N

2WH4N-8QGBV-H22JP-CT43Q-MDWWJ

Windows 8.1 Professional

GCRJD-8NW9H-F2CDX-CCM8D-9D6T9

Windows 8.1 Professional N

HMCNV-VVBFX-7HMBH-CTY9B-B4FXY

Windows 8.1 Enterprise

MHF9N-XY6XB-WVXMC-BTDCT-MKKG7

Windows 8.1 Enterprise N

TT4HM-HN7YT-62K67-RGRQJ-JFFXW

Windows 8 Professional

NG4HW-VH26C-733KW-K6F98-J8CK4

Windows 8 Professional N

XCVCF-2NXM9-723PB-MHCB7-2RYQQ

Windows 8 Enterprise

32JNW-9KQ84-P47T8-D8GGY-CWCK7

Windows 8 Enterprise N

JMNMF-RHW7P-DMY6X-RF3DR-X2BQT

Windows Server 2012

BN3D2-R7TKB-3YPBD-8DRP2-27GG4

Windows 7 Professional

FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4

Windows 7 Professional N

MRPKT-YTG23-K7D7T-X2JMM-QY7MG

Windows 7 Professional E

W82YF-2Q76Y-63HXB-FGJG9-GF7QX

Windows 7 Enterprise

33PXH-7Y6KF-2VJC9-XBBR8-HVTHH

Windows 7 Enterprise N

YDRBP-3D83W-TY26F-D46B2-XCKRJ

Windows 7 Enterprise E

C29WB-22CC8-VJ326-GHFJW-H9DH4

Office 部份Key列出如下:

Product        GVLK
Office 专业增强版 2019         NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP 
Office 标准版 2019         6NWWJ-YQWMR-QKGCB-6TMB3-9D9HK 
Project 专业版 2019         B4NPR-3FKK7-T2MBV-FRQ4W-PKD2B
Project 标准版 2019         C4F7P-NCP8C-6CQPT-MQHV9-JXD2M
Visio 专业版 2019         9BGNQ-K37YR-RQHF2-38RQ3-7VCBB 
Visio 标准版 2019         7TQNQ-K3YQQ-3PFH7-CCPPM-X4VQ
Office 专业增强版 2016         XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99 
Office Standard 2016         JNRGM-WHDWX-FJJG3-K47QV-DRTFM 
Project Professional 2016         YG9NW-3K39V-2T3HJ-93F3Q-G83KT 
Project Standard 2016         GNFHQ-F6YQM-KQDGJ-327XX-KQBVC 
Visio Professional 2016         PD3PC-RHNGV-FXJ29-8JK7D-RJRJK 
Visio Standard 2016         7WHWN-4T7MP-G96JF-G33KR-W8GF4 
 

参考文章及链接:

1、《使用vlmcsd自建KMS服务~一句命令激活windows/office》https://www.cnblogs.com/wangchuanyang/p/6397411.html

2、《搭建自己的KMS服务器》https://blog.csdn.net/Dyminas/article/details/80235271
————————————————
版权声明:本文为CSDN博主「旺旺酥」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/suzhongwan ... le/details/90598139
 楼主| dirtysea 发表于 2020-5-20 18:01:29 | 显示全部楼层
Windows全版本KMS激活脚本

搭建了个KMS服务器,制作了个批处理激活脚本,所有代码可以看到,让你再也不用担心系统会被有些激活工具强改主页,留有后门的风险了。

  本脚本可以激活Windows全版本,安全、绿色。

  1、首先你的系统必须是VL版本

  2、请以管理员身份运行次脚本

复制代码
@echo off&setlocal EnableDelayedExpansion&color 3e
title Windows KMS激活脚本 --by 海东青


:: 如果激活失败,可能是因为连不到KMS服务器了,
:: KMS服务器地址
set KMS_Sev=www.dirtysea.com
set KMS_Port=1688
set do_check=false

call :getver
call :adminchk
::定义win10
set 10.0_1_Core_=TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
set 10.0_1_CoreCountrySpecific=PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
set 10.0_1_CoreN=3KHY7-WNT83-DGQKR-F7HPR-844BM
set 10.0_1_CoreSingleLanguage=7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
set 10.0_1_Professional=W269N-WFGWX-YVC9B-4J6C9-T83GX
set 10.0_1_ProfessionalN=MH37W-N47XK-V7XM9-C7227-GCQG9
set 10.0_1_Enterprise=NPPR9-FWDCX-D2C8J-H872K-2YT43
set 10.0_1_EnterpriseN=DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4
set 10.0_1_Education=NW6C2-QMPVW-D7KKK-3GKT6-VCFB2
set 10.0_1_EducationN=2WH4N-8QGBV-H22JP-CT43Q-MDWWJ
set 10.0_1_EnterpriseS=WNMTR-4C88C-JK8YV-HQ7T2-76DF9
set 10.0_1_EnterpriseSN=2F77B-TNFGY-69QQF-B8YKP-D69TJ
set 10.0_1_EnterpriseLTSC=M7XTQ-FN8P6-TTKYV-9D4CC-J462D
set 10.0_1_EnterpriseLTSCN=92NFX-8DJQP-P6BBQ-THF9C-7CG2H
set 10.0_1_EnterpriseLTSB=DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ
set 10.0_1_EnterpriseLTSBN=QFFDN-GRT3P-VKWWX-X7T3R-8B639
set 10.0_1_ProfessionalEducation=6TP4R-GNPTD-KYYHQ-7B7DP-J447Y
set 10.0_1_ProfessionalEducationN=YVWGF-BXNMC-HTQYQ-CPQ99-66QFC
set 10.0_1_ProfessionalWorkstation=NRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J
set 10.0_1_ProfessionalWorkstationN=9FNHH-K3HBT-3W4TD-6383H-6XYWF
set 10.0_1_EnterpriseG=YYVX9-NTFWV-6MDM3-9PT4T-4M68B
set 10.0_1_EnterpriseGN=44RPN-FTY23-9VTTB-MP9BX-T84FV
set 10.0_1_Home=TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
set 10.0_1_HomeN=3KHY7-WNT83-DGQKR-F7HPR-844BM
set 10.0_1_HomeSingleLanguage=7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
set 10.0_1_HomeCountrySpecific=PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
set 10.0_1_HomeCore=TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
set 10.0_1_HomeCoreCountrySpecific=PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
::定义2019
set 10.0_3_2019_ServerDatacenter=WMDGN-G9PQG-XVVXX-R3X43-63DFG
set 10.0_3_2019_ServerStandard=N69G4-B89J2-4G8F4-WWYCC-J464C
set 10.0_3_2019_ServerEssentials=WVDHN-86M7X-466P6-VHXV7-YY726
set 10.0_3_2019_ServerAzureCore=FDNH6-VW9RW-BXPJ7-4XTYG-239TB
set 10.0_3_2019_ServerARM64=GRFBW-QNDC4-6QBHG-CCK3B-2PR88

::定义2016
set 10.0_3_2016_ServerDatacenter=CB7KF-BWN84-R7R2Y-793K2-8XDDG
set 10.0_3_2016_ServerStandard=WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY
set 10.0_3_2016_ServerEssentials=JCKRF-N37P4-C2D82-9YXRT-4M63B
set 10.0_3_2016_ServerCloudStorage=QN4C6-GBJD2-FB422-GHWJK-GJG2R
set 10.0_3_2016_ServerAzureCore=VP34G-4NPPG-79JTQ-864T4-R3MQX
set 10.0_3_2016_ServerRDSH=7NBT4-WGBQX-MP4H7-QXFF8-YP3KX


::定义Windows Server 2012 R2 and Windows 8.1
set 6.3_3_ServerStandard=D2N9P-3P6X9-2R39C-7RTCD-MDVJX
set 6.3_3_ServerDatacenter=W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9
set 6.3_3_ServerEssentials=KNC87-3J2TX-XB4WP-VCPJV-M4FWM
set 6.3_3_ServerCloudStorage=3NPTF-33KPT-GGBPR-YX76B-39KDD

set 6.3_1_Professional=GCRJD-8NW9H-F2CDX-CCM8D-9D6T9
set 6.3_1_ProfessionalN=HMCNV-VVBFX-7HMBH-CTY9B-B4FXY
set 6.3_1_Enterprise=MHF9N-XY6XB-WVXMC-BTDCT-MKKG7
set 6.3_1_EnterpriseN=TT4HM-HN7YT-62K67-RGRQJ-JFFXW
set 6.3_1_ProfessionalWMC=789NJ-TQK6T-6XTH8-J39CJ-J8D3P
set 6.3_1_Core=M9Q9P-WNJJT-6PXPY-DWX8H-6XWKK
set 6.3_1_CoreN=7B9N3-D94CG-YTVHR-QBPX3-RJP64
set 6.3_1_CoreARM=XYTND-K6QKT-K2MRH-66RTM-43JKP
set 6.3_1_CoreSingleLanguage=BB6NG-PQ82V-VRDPW-8XVD2-V8P66
set 6.3_1_CoreCountrySpecific=NCTT7-2RGK8-WMHRF-RY7YQ-JTXG3
set 6.3_1_EmbeddedIndustry=NMMPB-38DD4-R2823-62W8D-VXKJB
set 6.3_1_EmbeddedIndustryEnterprise=FNFKF-PWTVT-9RC8H-32HB2-JB34X
set 6.3_1_EmbeddedIndustryAutomotive=VHXM3-NR6FT-RY6RT-CK882-KW2CJ
set 6.3_1_CoreConnected=3PY8R-QHNP9-W7XQD-G6DPH-3J2C9
set 6.3_1_CoreConnectedN =Q6HTR-N24GM-PMJFP-69CD8-2GXKR
set 6.3_1_CoreConnectedSingleLanguage=KF37N-VDV38-GRRTV-XH8X6-6F3BB
set 6.3_1_CoreConnectedCountrySpecific=R962J-37N87-9VVK2-WJ74P-XTMHR
set 6.3_1_ProfessionalStudent=MX3RK-9HNGX-K3QKC-6PJ3F-W8D7B
set 6.3_1_ProfessionalStudentN=TNFGH-2R6PB-8XM3K-QYHX2-J4296



::定义Windows Server 2012 and Windows 8
set 6.2_1_Professional=NG4HW-VH26C-733KW-K6F98-J8CK4
set 6.2_1_ProfessionalN=XCVCF-2NXM9-723PB-MHCB7-2RYQQ
set 6.2_1_Enterprise=32JNW-9KQ84-P47T8-D8GGY-CWCK7
set 6.2_1_EnterpriseN=JMNMF-RHW7P-DMY6X-RF3DR-X2BQT

set 6.2_3_Server=BN3D2-R7TKB-3YPBD-8DRP2-27GG4
set 6.2_3_ServerN=8N2M2-HWPGY-7PGT9-HGDD8-GVGGY
set 6.2_3_ServerSingleLanguage=2WN2H-YGCQR-KFX6K-CD6TF-84YXQ
set 6.2_3_ServerCountry Specific=4K36P-JN4VD-GDC6V-KDT89-DYFKP
set 6.2_3_ServerStandard=XC9B7-NBPP2-83J2H-RHMBY-92BT4
set 6.2_3_ServerMultiPointStandard=HM7DN-YVMH3-46JC3-XYTG7-CYQJJ
set 6.2_3_ServerMultiPointPremium=XNH6W-2V9GX-RGJ4K-Y8X6F-QGJ2G
set 6.2_3_ServerDatacenter=48HP8-DN98B-MYWDG-T2DCC-8W83P



::定义Windows Server 2008R2
set 6.1_3_ServerWeb=6TPJF-RBVHG-WBW2R-86QPH-6RTM4
set 6.1_3_ServerHPC=TT8MH-CG224-D3D7Q-498W2-9QCTX
set 6.1_3_ServerStandard=YC6KT-GKW9T-YTKYR-T4X34-R7VHC
set 6.1_3_ServerEnterprise=489J6-VHDMP-X63PK-3K798-CPX3Y
set 6.1_3_ServerDatacenter=74YFP-3QFB3-KQT8W-PMXWJ-7M648
set 6.1_3_ServerEnterpriseIA64=GT63C-RJFQ3-4GMB6-BRFB9-CB83V

::定义Windows 7
set 6.1_1_Professional=FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
set 6.1_1_ProfessionalN=MRPKT-YTG23-K7D7T-X2JMM-QY7MG
set 6.1_1_ProfessionalE=W82YF-2Q76Y-63HXB-FGJG9-GF7QX
set 6.1_1_Enterprise=33PXH-7Y6KF-2VJC9-XBBR8-HVTHH
set 6.1_1_EnterpriseN=YDRBP-3D83W-TY26F-D46B2-XCKRJ
::Windows Vista and Windows Server 2008
set 6.0_1_Business=YFKBB-PQJJV-G996G-VWGXY-2V3X8
set 6.0_1_BusinessN=HMBQG-8H2RH-C77VX-27R82-VMQBT
set 6.0_1_Enterprise=VKK3X-68KWM-X2YGT-QR4M6-4BWMV
set 6.0_1_EnterpriseN=VTC42-BM838-43QHV-84HX6-XJXKV

set 6.0_3_ServerWeb=WYR28-R7TFJ-3X2YQ-YCY4H-M249D
set 6.0_3_ServerStandard=TM24T-X9RMF-VWXK6-X8JC9-BFGM2
TM24T-X9RMF-VWXK6-X8JC9-BFGM2
set 6.0_3_ServerEnterprise=YQGMW-MPWTJ-34KDK-48M3W-X4Q6V
set 6.0_3_ServerHPC=RCTX3-KWVHP-BR6TB-RB6DM-6X7HP
set 6.0_3_ServerDatacenter=7M67G-PC374-GR742-YH8V4-TCBY3
set 6.0_3_ServerIA64=4DWFP-JF3DJ-B7DTH-78FJB-PDRHK

for /f "tokens=3 delims=: " %%G in ('dism /Online /Get-CurrentEdition /English ^| findstr /i "Current Edition :"') do (
            set "EditionID=%%G"
        )

for /f "tokens=2 delims== " %%I in ('wmic os get ProductType /value') do (
            set "ProductType=%%I"
        )


if "%winver%"=="10.0" if "%ProductType%"=="3" set do_check=true
if "%do_check%"=="true" (
    for /f "tokens=4 delims= " %%J in ('wmic os get Caption /value') do ( set "Caption=%%J" )
)


if defined Caption (
    set strEditionId=%winver%_%ProductType%_%Caption%_%EditionID%
) else (
    set strEditionId=%winver%_%ProductType%_%EditionID%
)

if defined %strEditionId% (
    cscript //Nologo %windir%\system32\slmgr.vbs /ipk !%strEditionId%!
    cscript //Nologo %windir%\system32\slmgr.vbs /skms %KMS_Sev%
    cscript //Nologo %windir%\system32\slmgr.vbs /ato
) else (
    echo.&echo Not found DEFINED Key: "%EditionID%".
    echo.
)
pause
exit



:getver
ver | find "10.0." >nul && set "winver=10.0"
ver | find "6.3." >nul && set "winver=6.3"
ver | find "6.2." >nul && set "winver=6.2"
ver | find "6.1." >nul && set "winver=6.1"
ver | find "6.0." >nul && set "winver=6.0"



:adminchk
reg query "HKU\S-1-5-19" >nul 2>nul || (
cls&echo.&echo Run as ADMINISTRATOR, Pls.
echo.&echo Press any key to exit.
echo.&pause>nul
exit)
goto :EOF
复制代码

 

请复制上面的代码保存为.bat或.cmd文件,然后运行。

 

如果脚本激活不了,可以按下面说明手工激活。


以管理员身份运行命令提示符.
        安装密钥: slmgr /ipk [密钥]
        设置激活: slmgr /skms kms.cdn.mn
        激活产品: slmgr /ato

    KMS GVLK:
        Windows Server 2019 ARM64 : GRFBW-QNDC4-6QBHG-CCK3B-2PR88
        Windows Server 2019 Azure Core : FDNH6-VW9RW-BXPJ7-4XTYG-239TB
        Windows Server 2019 Datacenter : WMDGN-G9PQG-XVVXX-R3X43-63DFG
        Windows Server 2019 Essentials : WVDHN-86M7X-466P6-VHXV7-YY726
    9 Essentials : WVDHN-86M7X-466P6-VHXV7-YY726
        Windows Server 2019 Standard : N69G4-B89J2-4G8F4-WWYCC-J464C
        Windows Server 2019 Datacenter (Semi-Annual Channel v.1809) : 6NMRW-2C8FM-D24W7-TQWMY-CWH2D
        Windows Server 2019 Standard (Semi-Annual Channel v.1809) : N2KJX-J94YW-TQVFB-DG9YT-724CC
        Windows Server 2019 Standard [Preview] : MFY9F-XBN2F-TYFMP-CCV49-RMYVH
        Windows Server 2019 Datacenter [Preview] : 6XBNX-4JQGW-QX6QG-74P76-72V67
        Windows 10 Enterprise LTSC 2019 : M7XTQ-FN8P6-TTKYV-9D4CC-J462D
        Windows 10 Enterprise LTSC 2019 N : 92NFX-8DJQP-P6BBQ-THF9C-7CG2H
        Windows 10 Enterprise G : YYVX9-NTFWV-6MDM3-9PT4T-4M68B
        Windows 10 Enterprise G N : 44RPN-FTY23-9VTTB-MP9BX-T84FV
        Windows 10 Enterprise 2016 LTSB : DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ
        Windows 10 Enterprise 2016 LTSB N : QFFDN-GRT3P-VKWWX-X7T3R-8B639
        Windows 10 Home / Core : TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
        Windows 10 Home / Core Country Specific : PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
        Windows 10 Home / Core N : 3KHY7-WNT83-DGQKR-F7HPR-844BM
        Windows 10 Home / Core Single Language : 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
        Windows 10 Education : NW6C2-QMPVW-D7KKK-3GKT6-VCFB2
        Windows 10 Education N : 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ
        Windows 10 Enterprise : NPPR9-FWDCX-D2C8J-H872K-2YT43
        Windows 10 Enterprise [Preview] : QNMXX-GCD3W-TCCT4-872RV-G6P4J
        Windows 10 Enterprise S : H76BG-QBNM7-73XY9-V6W2T-684BJ
        Windows 10 Enterprise 2015 LTSB : WNMTR-4C88C-JK8YV-HQ7T2-76DF9
        Windows 10 Enterprise 2015 LTSB N : 2F77B-TNFGY-69QQF-B8YKP-D69TJ
        Windows 10 Enterprise N : DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4
        Windows 10 Enterprise S N : X4R4B-NV6WD-PKTVK-F98BH-4C2J8
        Windows 10 Professional Workstation : NRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J
        Windows 10 Professional Workstation N : 9FNHH-K3HBT-3W4TD-6383H-6XYWF
        Windows 10 Professional : W269N-WFGWX-YVC9B-4J6C9-T83GX
        Windows 10 Professional Education : 6TP4R-GNPTD-KYYHQ-7B7DP-J447Y
        Windows 10 Professional Education N : YVWGF-BXNMC-HTQYQ-CPQ99-66QFC
        Windows 10 Professional N : MH37W-N47XK-V7XM9-C7227-GCQG9
        Windows 10 Professional [Preview] : XQHPH-N4D9W-M8P96-DPDFP-TMVPY
        Windows 10 Professional WMC [Pre-Release] : NKPM6-TCVPT-3HRFX-Q4H9B-QJ34Y
        Windows 10 Enterprise for Virtual Desktops : CPWHC-NT2C7-VYW78-DHDB2-PG3GK
        Windows 10 Remote Server : 7NBT4-WGBQX-MP4H7-QXFF8-YP3KX
        Windows 10 S (Lean) : NBTWJ-3DR69-3C4V8-C26MC-GQ9M6
        Windows 10 IoT Core [Pre-Release] : 7NX88-X6YM3-9Q3YT-CCGBF-KBVQF
        Windows 10 Core Connected [Pre-Release] : DJMYQ-WN6HG-YJ2YX-82JDB-CWFCW
        Windows 10 Core Connected N [Pre-Release] : JQNT7-W63G4-WX4QX-RD9M9-6CPKM
        Windows 10 Core Connected Single Language [Pre-Release] : QQMNF-GPVQ6-BFXGG-GWRCX-7XKT7
        Windows 10 Core Connected Country Specific [Pre-Release] : FTNXM-J4RGP-MYQCV-RVM8R-TVH24
        Windows 10 Professional S [Pre-Release] : 3NF4D-GF9GY-63VKH-QRC3V-7QW8P
        Windows 10 Professional S N [Pre-Release] : KNDJ3-GVHWT-3TV4V-36K8Y-PR4PF
        Windows 10 Professional Student [Pre-Release] : YNXW3-HV3VB-Y83VG-KPBXM-6VH3Q
        Windows 10 Professional Student N [Pre-Release] : 8G9XJ-GN6PJ-GW787-MVV7G-GMR99
        Windows 7 Enterprise : 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH
        Windows 7 Enterprise E : C29WB-22CC8-VJ326-GHFJW-H9DH4
        Windows 7 Enterprise N : YDRBP-3D83W-TY26F-D46B2-XCKRJ
        Windows 7 Professional : FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
        Windows 7 Professional E : W82YF-2Q76Y-63HXB-FGJG9-GF7QX
        Windows 7 Professional N : MRPKT-YTG23-K7D7T-X2JMM-QY7MG
        Windows 7 Embedded POSReady : YBYF6-BHCR3-JPKRB-CDW7B-F9BK4
        Windows 7 Embedded Standard : XGY72-BRBBT-FF8MH-2GG8H-W7KCW
        Windows 7 ThinPC : 73KQT-CD9G6-K7TQG-66MRP-CQ22C
        Windows 8 Core / Server 2012 : BN3D2-R7TKB-3YPBD-8DRP2-27GG4
        Windows 8 Core / Server 2012 Country Specific : 4K36P-JN4VD-GDC6V-KDT89-DYFKP
        Windows 8 Core / Server 2012 N : 8N2M2-HWPGY-7PGT9-HGDD8-GVGGY
        Windows 8 Core / Server 2012 Single Language : 2WN2H-YGCQR-KFX6K-CD6TF-84YXQ
        Windows 8 Professional WMC : GNBB8-YVD74-QJHX6-27H4K-8QHDG
        Windows 8 Embedded Industry Professional : RYXVT-BNQG7-VD29F-DBMRY-HT73M
        Windows 8 Embedded Industry Enterprise : NKB3R-R2F8T-3XCDP-7Q2KW-XWYQ2
        Windows 8 Enterprise : 32JNW-9KQ84-P47T8-D8GGY-CWCK7
        Windows 8 Enterprise N : JMNMF-RHW7P-DMY6X-RF3DR-X2BQT
        Windows 8 Professional : NG4HW-VH26C-733KW-K6F98-J8CK4
        Windows 8 Professional N : XCVCF-2NXM9-723PB-MHCB7-2RYQQ
        Windows 8.1 Core : M9Q9P-WNJJT-6PXPY-DWX8H-6XWKK
        Windows 8.1 Core ARM64 : XYTND-K6QKT-K2MRH-66RTM-43JKP
        Windows 8.1 Core Country Specific : NCTT7-2RGK8-WMHRF-RY7YQ-JTXG3
        Windows 8.1 Core N : 7B9N3-D94CG-YTVHR-QBPX3-RJP64
        Windows 8.1 Core Single Language : BB6NG-PQ82V-VRDPW-8XVD2-V8P66
        Windows 8.1 Professional Student : MX3RK-9HNGX-K3QKC-6PJ3F-W8D7B
        Windows 8.1 Professional Student N : TNFGH-2R6PB-8XM3K-QYHX2-J4296
        Windows 8.1 Professional WMC : 789NJ-TQK6T-6XTH8-J39CJ-J8D3P
        Windows 8.1 Core Connected : 3PY8R-QHNP9-W7XQD-G6DPH-3J2C9
        Windows 8.1 Core Connected Country Specific : R962J-37N87-9VVK2-WJ74P-XTMHR
        Windows 8.1 Core Connected N : Q6HTR-N24GM-PMJFP-69CD8-2GXKR
        Windows 8.1 Core Connected Single Language : KF37N-VDV38-GRRTV-XH8X6-6F3BB
        Windows 8.1 Enterprise : MHF9N-XY6XB-WVXMC-BTDCT-MKKG7
        Windows 8.1 Enterprise N : TT4HM-HN7YT-62K67-RGRQJ-JFFXW
        Windows 8.1 Professional : GCRJD-8NW9H-F2CDX-CCM8D-9D6T9
        Windows 8.1 Professional N : HMCNV-VVBFX-7HMBH-CTY9B-B4FXY
        Windows 8.1 Embedded Industry Professional : NMMPB-38DD4-R2823-62W8D-VXKJB
        Windows 8.1 Embedded Industry Automotive : VHXM3-NR6FT-RY6RT-CK882-KW2CJ
        Windows 8.1 Embedded Industry Enterprise : FNFKF-PWTVT-9RC8H-32HB2-JB34X
        Windows 8.1 Enterprise [Preview] : 2MP7K-98NK8-WPVF3-Q2WDG-VMD98
        Windows 8.1 Professional (Blue) [Preview] : MTWNQ-CKDHJ-3HXW9-Q2PFX-WB2HQ
        Windows 8 Professional WMC [RC] : MY4N9-TGH34-4X4VY-8FG2T-RRDPV
        Windows 8.x [Preview] : MPWP3-DXNP9-BRD79-W8WFP-3YFJ6
        Windows Server Next HI [Preview] : 7VX4N-3VDHQ-VYGHB-JXJVP-9QB26
        Windows Server 2008 Web : WYR28-R7TFJ-3X2YQ-YCY4H-M249D
        Windows Server 2008 HPC Edition : RCTX3-KWVHP-BR6TB-RB6DM-6X7HP
        Windows Server 2008 Standard : TM24T-X9RMF-VWXK6-X8JC9-BFGM2
        Windows Server 2008 Standard without Hyper-V : W7VD6-7JFBR-RX26B-YKQ3Y-6FFFJ
        Windows Server 2008 Enterprise : YQGMW-MPWTJ-34KDK-48M3W-X4Q6V
        Windows Server 2008 Enterprise without Hyper-V : 39BXF-X8Q23-P2WWT-38T2F-G3FPG
        Windows Server 2008 Datacenter : 7M67G-PC374-GR742-YH8V4-TCBY3
        Windows Server 2008 Datacenter without Hyper-V : 22XQ2-VRXRG-P8D42-K34TD-G3QQC
        Windows Server 2008 for Itanium Systems : 4DWFP-JF3DJ-B7DTH-78FJB-PDRHK
        Windows MultiPoint Server 2010 : 736RG-XDKJK-V34PF-BHK87-J6X3K
        Windows Server 2008 R2 Web : 6TPJF-RBVHG-WBW2R-86QPH-6RTM4
        Windows Server 2008 R2 HPC Edition : TT8MH-CG224-D3D7Q-498W2-9QCTX
        Windows Server 2008 R2 Standard : YC6KT-GKW9T-YTKYR-T4X34-R7VHC
        Windows Server 2008 R2 Enterprise : 489J6-VHDMP-X63PK-3K798-CPX3Y
        Windows Server 2008 R2 Datacenter : 74YFP-3QFB3-KQT8W-PMXWJ-7M648
        Windows Server 2008 R2 for Itanium Systems : GT63C-RJFQ3-4GMB6-BRFB9-CB83V
        Windows Server 2012 Datacenter : 48HP8-DN98B-MYWDG-T2DCC-8W83P
        Windows Server 2012 MultiPoint Premium : XNH6W-2V9GX-RGJ4K-Y8X6F-QGJ2G
        Windows Server 2012 MultiPoint Standard : HM7DN-YVMH3-46JC3-XYTG7-CYQJJ
        Windows Server 2012 Standard : XC9B7-NBPP2-83J2H-RHMBY-92BT4
        Windows Server 2012 R2 Cloud Storage : 3NPTF-33KPT-GGBPR-YX76B-39KDD
        Windows Server 2012 R2 Datacenter : W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9
        Windows Server 2012 R2 Essentials : KNC87-3J2TX-XB4WP-VCPJV-M4FWM
        Windows Server 2012 R2 Standard : D2N9P-3P6X9-2R39C-7RTCD-MDVJX
        Windows Server 2016 Azure Core : VP34G-4NPPG-79JTQ-864T4-R3MQX
        Windows Server 2016 Cloud Storage : QN4C6-GBJD2-FB422-GHWJK-GJG2R
        Windows Server 2016 Datacenter : CB7KF-BWN84-R7R2Y-793K2-8XDDG
        Windows Server 2016 Essentials : JCKRF-N37P4-C2D82-9YXRT-4M63B
        Windows Server 2016 Standard : WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY
        Windows Server 2016 ARM64 : K9FYF-G6NCK-73M32-XMVPY-F9DRR
        Windows Server 2016 Datacenter (Semi-Annual Channel v.1803) : 2HXDN-KRXHB-GPYC7-YCKFJ-7FVDG
        Windows Server 2016 Standard (Semi-Annual Channel v.1803) : PTXN8-JFHJM-4WC78-MPCBR-9W4KR
        Windows Server 2016 Datacenter [Preview] : VRDD2-NVGDP-K7QG8-69BR4-TVFHB
        Windows Vista Business : YFKBB-PQJJV-G996G-VWGXY-2V3X8
        Windows Vista Business N : HMBQG-8H2RH-C77VX-27R82-VMQBT
        Windows Vista Enterprise : VKK3X-68KWM-X2YGT-QR4M6-4BWMV
        Windows Vista Enterprise N : VTC42-BM838-43QHV-84HX6-XJXKV
        Windows Vista Business [Preview 1] : XQYF4-QVCMY-YXQRD-9QPV8-3YP9V
        Windows Vista Business [Preview 2] : YVT36-YVCP2-J97GQ-7T22R-RWV8P
        Windows Vista Business N [Preview] : HGBJ9-RWD6M-6HDGW-6T2XD-JQ66F
        Windows Vista Enterprise [Preview 1] : 3JHG3-Y66GP-B7F3K-JFVX2-VBH7K
        Windows Vista Enterprise [Beta-2 build 5384] : MF9PG-RQK7R-26BPJ-TWFYK-RHXCM
        Windows Longhorn Web [Preview] : MDRCM-4WKCW-J93FF-J9Q48-M6KBB
        Windows Longhorn Standard : Q37JX-P3HHB-GKRH2-PDBKG-GGXPW
        Windows Longhorn Enterprise : 7KYMQ-R788Q-4RF69-KTWKM-92PFJ
        Windows Longhorn Datacenter [Preview] : HR8VD-7DHG2-48378-M9D73-28F4T
        Windows Longhorn for Itanium Systems [Preview] : CWV9H-PHGPW-V93WV-QBQV9-8V336
        Office Access 2010 : V7Y44-9T38C-R2VJK-666HK-T7DDX
        Office Excel 2010 : H62QG-HXVKF-PP4HP-66KMR-CW9BM
        Office Groove (SharePoint Workspace) 2010 : QYYW6-QP4CB-MBV6G-HYMCJ-4T3J4
        Office InfoPath 2010 : K96W8-67RPQ-62T9Y-J8FQJ-BT37T
        Office Mondo 1 2010 : YBJTT-JG6MD-V9Q7P-DBKXJ-38W9R
        Office Mondo 2 2010 : 7TC2V-WXF6P-TD7RT-BQRXR-B8K32
        Office OneNote 2010 : Q4Y4M-RHWJM-PY37F-MTKWH-D3XHX
        Office OutLook 2010 : 7YDC2-CWM8M-RRTJC-8MDVC-X3DWQ
        Office PowerPoint 2010 : RC8FX-88JRY-3PF7C-X8P67-P4VTT
        Office Professional Plus 2010 : VYBBJ-TRJPB-QFQRF-QFT4D-H3GVB
        Office Project Professional 2010 : YGX6F-PGV49-PGW3J-9BTGG-VHKC6
        Office Project Standard 2010 : 4HP3K-88W3F-W2K3D-6677X-F9PGB
        Office Publisher 2010 : BFK7F-9MYHM-V68C7-DRQ66-83YTP
        Office Small Business Basics 2010 : D6QFG-VBYP2-XQHM7-J97RH-VVRCK
        Office Standard 2010 : V7QKV-4XVVR-XYV4D-F7DFM-8R6BM
        Office Visio Premium 2010 : D9DWC-HPYVV-JGF4P-BTWQB-WX8BJ
        Office Visio Professional 2010 : 7MCW8-VRQVK-G677T-PDJCM-Q8TCP
        Office Visio Standard 2010 : 767HD-QGMWX-8QTDB-9G3R2-KHFGJ
        Office Word 2010 : HVHB3-C6FV7-KQX9W-YQG79-CRY7T
        Office Starter 2010 Retail : VXHHB-W7HBD-7M342-RJ7P8-CHBD6
        Office SharePoint Designer (Frontpage) 2010 Retail : H48K6-FB4Y6-P83GH-9J7XG-HDKKX
        Office Access 2013 : NG2JY-H4JBT-HQXYP-78QH9-4JM2D
        Office Excel 2013 : VGPNG-Y7HQW-9RHP7-TKPV3-BG7GB
        Office InfoPath 2013 : DKT8B-N7VXH-D963P-Q4PHY-F8894
        Office Lync 2013 : 2MG3G-3BNTT-3MFW9-KDQW3-TCK7R
        Office Mondo 2013 : 42QTK-RN8M7-J3C4G-BBGYM-88CYV
        Office OneNote 2013 : TGN6P-8MMBC-37P2F-XHXXK-P34VW
        Office OutLook 2013 : QPN8Q-BJBTJ-334K3-93TGY-2PMBT
        Office PowerPoint 2013 : 4NT99-8RJFH-Q2VDH-KYG2C-4RD4F
        Office Professional Plus 2013 : YC7DK-G2NP3-2QQC3-J6H88-GVGXT
        Office Project Professional 2013 : FN8TT-7WMH6-2D4X9-M337T-2342K
        Office Project Standard 2013 : 6NTH3-CW976-3G3Y2-JK3TX-8QHTT
        Office Publisher 2013 : PN2WF-29XG2-T9HJ7-JQPJR-FCXK4
        Office Standard 2013 : KBKQT-2NMXY-JJWGP-M62JB-92CD4
        Office Visio Professional 2013 : C2FG9-N6J68-H8BTJ-BW3QX-RM3B3
        Office Visio Standard 2013 : J484Y-4NKBF-W2HMG-DBMJC-PGWR7
        Office Word 2013 : 6Q7VD-NX8JD-WJ2VH-88V73-4GBJ7
        Office SharePoint Workspace (Groove) 2013 : H7R7V-WPNXQ-WCYYC-76BGV-VT7GH
        Office SharePoint Designer (Frontpage) 2013 Retail : GYJRG-NMYMF-VGBM4-T3QD4-842DW
        Office Access 2013 [Pre-Release] : DJBH8-RGN7Q-836KD-DMP3M-DM9MF
        Office Excel 2013 [Pre-Release] : Q3BNP-3WXDT-GG8HF-24KMW-HMDBK
        Office SharePoint Workspace (Groove) 2013 [Pre-Release] : WVCGG-NK4FG-7XKXM-BD4WF-3C624
        Office InfoPath 2013 [Pre-Release] : 7KPJJ-N8TT7-CK3KR-QTV98-YPVXQ
        Office Lync 2013 [Pre-Release] : XNVD3-RYC7T-7R6BT-WX6CF-8BYH7
        Office Mondo 2013 [Pre-Release] : GCGCN-6FJRM-TR9Q3-BGMWJ-78KQV
        Office OneNote 2013 [Pre-Release] : VYNYX-8GPBC-7FQMD-D6B7B-7MDFD
        Office Outlook 2013 [Pre-Release] : X2KNB-FRRG2-WXDPH-739DM-DM9RH
        Office PowerPoint 2013 [Pre-Release] : B8CT8-BTNFQ-XQXBK-BFWV8-HMDFQ
        Office Professional Plus 2013 [Pre-Release] : PGD67-JN23K-JGVWV-KTHP4-GXR9G
        Office Project Professional 2013 [Pre-Release] : NFKVM-DVG7F-TYWYR-3RPHY-F872K
        Office Project Standard 2013 [Pre-Release] : N89QF-GGB8J-BKD28-C4V28-W4XTK
        Office Publisher 2013 [Pre-Release] : NB67P-J8XP4-XDK9B-V73VH-M4CKR
        Office Visio Professional 2013 [Pre-Release] : B3C7Q-D6NH2-2VRFW-HHWDG-FVQB6
        Office Visio Standard 2013 [Pre-Release] : 9MKNF-J9XQ6-JV4XB-FJQPY-43F43
        Office Word 2013 [Pre-Release] : JBGD4-3JNG7-JWWGV-CR6TP-DC62Q
        Office Access 2016 : GNH9Y-D2J4T-FJHGG-QRVH7-QPFDW
        Office Excel 2016 : 9C2PK-NWTVB-JMPW8-BFT28-7FTBF
        Office Mondo 2016 : HFTND-W9MK4-8B7MJ-B6C4G-XQBR2
        Office Mondo Retail 2016 : DMTCJ-KNRKX-26982-JYCKT-P7KB6
        Office OneNote 2016 : DR92N-9HTF2-97XKM-XW2WJ-XW3J6
        Office Outlook 2016 : R69KK-NTPKF-7M3Q4-QYBHW-6MT9B
        Office Powerpoint 2016 : J7MQP-HNJ4Y-WJ7YM-PFYGF-BY6C6
        Office Professional Plus 2016 : XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
        Office Project Professional 2016 : YG9NW-3K39V-2T3HJ-93F3Q-G83KT
        Office Project Professional 2016 C2R [Preview] : WGT24-HCNMF-FQ7XH-6M8K7-DRTW9
        Office Project Standard 2016 : GNFHQ-F6YQM-KQDGJ-327XX-KQBVC
        Office Project Standard 2016 C2R [Preview] : D8NRQ-JTYM3-7J2DX-646CT-6836M
        Office Publisher 2016 : F47MM-N3XJP-TQXJ9-BP99D-8K837
        Office Skype for Business 2016 : 869NQ-FJ69K-466HW-QYCP2-DDBV6
        Office Standard 2016 : JNRGM-WHDWX-FJJG3-K47QV-DRTFM
        Office Visio Professional 2016 : PD3PC-RHNGV-FXJ29-8JK7D-RJRJK
        Office Visio Professional 2016 C2R [Preview] : 69WXN-MBYV6-22PQG-3WGHK-RM6XC
        Office Visio Standard 2016 : 7WHWN-4T7MP-G96JF-G33KR-W8GF4
        Office Visio Standard 2016 C2R [Preview] : NY48V-PPYYH-3F4PX-XJRKJ-W4423
        Office Word 2016 : WXY84-JN2Q9-RBCCQ-3Q3J3-3PFJ6
        Office Professional Plus 2019 C2R [Preview] : VQ9DP-NVHPH-T9HJC-J9PDT-KTQRG
        Office Project Professional 2019 C2R [Preview] : XM2V9-DN9HH-QB449-XDGKC-W2RMW
        Office Visio Professional 2019 C2R [Preview] : N2CG9-YD3YK-936X4-3WR82-Q3X4H
        Office Access 2019 : 9N9PT-27V4Y-VJ2PD-YXFMF-YTFQT
        Office Excel 2019 : TMJWT-YYNMB-3BKTF-644FC-RVXBD
        Office Outlook 2019 : 7HD7K-N4PVK-BHBCQ-YWQRW-XW4VK
        Office Powerpoint 2019 : RRNCX-C64HY-W2MM7-MCH9G-TJHMQ
        Office Professional Plus 2019 : NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP
        Office Project Professional 2019 : B4NPR-3FKK7-T2MBV-FRQ4W-PKD2B
        Office Project Standard 2019 : C4F7P-NCP8C-6CQPT-MQHV9-JXD2M
        Office Publisher 2019 : G2KWX-3NW6P-PY93R-JXK2T-C9Y9V
        Office Skype for Business 2019 : NCJ33-JHBBY-HTK98-MYCV8-HMKHJ
        Office Standard 2019 : 6NWWJ-YQWMR-QKGCB-6TMB3-9D9HK
        Office Visio Professional 2019 : 9BGNQ-K37YR-RQHF2-38RQ3-7VCBB
        Office Visio Standard 2019 : 7TQNQ-K3YQQ-3PFH7-CCPPM-X4VQ2
        Office Word 2019 : PBX3G-NWMT6-Q7XBW-PYJGG-WXD33

=============================

支持Windows操作系统(VL),Office软件(VL).
已支持到最新的Windows和Office!
支持激活 Windows10 和 Office2019.

Windows:

以管理员身份打开命令提示符,然执行下列命令:
cd /d "%SystemRoot%\system32"
slmgr /skms kms.cdn.mn
slmgr /ato
slmgr /xpr

Office:

以管理员身份打开命令提示符,进入软件安装目录,然后执行下列命令:
# 这里以Office 2013为例:
# 进入32位版本安装目录:
    
cd /d "%ProgramFiles(x86)%\Microsoft Office\Office15"

# 进入64位版本安装目录:
    
cd /d "%ProgramFiles%\Microsoft Office\Office15"

# 然后执行下列命令:
    
cscript ospp.vbs /sethst:kms.cdn.mn
cscript ospp.vbs /act
cscript ospp.vbs /dstatus

通过以上步骤就可以免费激活你的Windows系统和Office软件.
如果激活失败或输入过其他密钥,请先替换为微软官方GVLK密钥.(点击查看)
以安装政府版密钥为例(Ent G 400 Years):
    
slmgr /ipk YYVX9-NTFWV-6MDM3-9PT4T-4M68B


注意:

    KMS方式激活的有效期只有180天.
    每隔一段时间系统会自动KMS服务器请求续期.
    只要kms.cdn.mn能够访问,这些都是自动的.无需人为干预.



 楼主| dirtysea 发表于 2020-6-1 17:12:29 | 显示全部楼层

Outline 搭建与使用教程

office系列转vol版 并自动激活讲下面文件保存为.bat以管理员运行


@ECHO OFF&PUSHD %~DP0
setlocal EnableDelayedExpansion&color 3e & cd /d "%~dp0"
title office系列 retail转换vol版
%1 %2
mshta vbscript:createobject("shell.application").shellexecute("%~s0","goto :runas","","runas",1)(window.close)&goto :eof
:runas
if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16"
if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16"
if exist "%ProgramFiles%\Microsoft Office\Office15\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office15"
if exist "%ProgramFiles(x86)%\Microsoft Office\Office15\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office15"
if exist "%ProgramFiles%\Microsoft Office\Office14\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office14"
if exist "%ProgramFiles(x86)%\Microsoft Office\Office14\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office14"
:WH
cls
echo.
echo 选择需要转化的office版本序号---海东青
echo.
echo --------------------------------------------------------------------------------
echo 1. 零售版 Office Pro Plus 2016 转化为VOL版
echo.
echo 2. 零售版 Office Visio Pro 2016 转化为VOL版
echo.
echo 3. 零售版 Office Project Pro 2016 转化为VOL版
echo.
echo 4. 零售版 Office Pro Plus 2013 转化为VOL版
echo.
echo 5. 零售版 Office Visio Pro 2013 转化为VOL版
echo.
echo 6. 零售版 Office Project Pro 2013 转化为VOL版
echo.
echo 7. 零售版 Office Pro Plus 2010 转化为VOL版
echo.
echo 8. 零售版 Office Visio Pro 2010 转化为VOL版
echo.
echo 9. 零售版 Office Project Pro 2010 转化为VOL版
echo.
echo. --------------------------------------------------------------------------------
set /p tsk="请输入需要转化的office版本序号【回车】确认(1-9): "set KMS_Sev=www.dirtysea.comif not defined tsk goto:err
if %tsk%==1 goto:1
if %tsk%==2 goto:2
if %tsk%==3 goto:3
if %tsk%==4 goto:4
if %tsk%==5 goto:5
if %tsk%==6 goto:6
if %tsk%==7 goto:7
if %tsk%==8 goto:8
if %tsk%==9 goto:9
:err
goto:WH
:1
cls
echo 正在安装 KMS 许可证...
for /f %%x in ('dir /b ..\root\Licenses16\proplusvl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul
echo 正在安装 MAK 许可证...
for /f %%x in ('dir /b ..\root\Licenses16\proplusvl_mak*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul
cscript ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
goto :e
:2
cls
echo 正在安装 KMS 许可证...
for /f %%x in ('dir /b ..\root\Licenses16\visio???vl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul
echo 正在安装 MAK 许可证...
for /f %%x in ('dir /b ..\root\Licenses16\visio???vl_mak*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul
cscript ospp.vbs /inpkey:PD3PC-RHNGV-FXJ29-8JK7D-RJRJK
goto :e
:3
cls
echo 正在安装 KMS 许可证...
for /f %%x in ('dir /b ..\root\Licenses16\project???vl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul
echo 正在安装 MAK 许可证...
for /f %%x in ('dir /b ..\root\Licenses16\project???vl_mak*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul
cscript ospp.vbs /inpkey:YG9NW-3K39V-2T3HJ-93F3Q-G83KT
goto :e
:4
cls
echo 正在安装 KMS 许可证...
for /f %%x in ('dir /b ..\root\Licenses15\proplusvl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses15\%%x" >nul
echo 正在安装 MAK 许可证...
for /f %%x in ('dir /b ..\root\Licenses15\proplusvl_mak*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses15\%%x" >nul
set /p y=请输入激活密钥,按回车确定:
cscript ospp.vbs /inpkey:YC7DK-G2NP3-2QQC3-J6H88-GVGXT
goto :e
:5
cls
echo 正在安装 KMS 许可证...
for /f %%x in ('dir /b ..\root\Licenses15\visio???vl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses15\%%x" >nul
echo 正在安装 MAK 许可证...
for /f %%x in ('dir /b ..\root\Licenses15\visio???vl_mak*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses15\%%x" >nul
cscript ospp.vbs /inpkey:C2FG9-N6J68-H8BTJ-BW3QX-RM3B3
goto :e
:6
cls
echo 正在安装 KMS 许可证...
for /f %%x in ('dir /b ..\root\Licenses15\project???vl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses15\%%x" >nul
echo 正在安装 MAK 许可证...
for /f %%x in ('dir /b ..\root\Licenses15\project???vl_mak*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses15\%%x" >nul
cscript ospp.vbs /inpkey:FN8TT-7WMH6-2D4X9-M337T-2342K
goto :e
:7
cls
echo 正在安装 KMS 许可证...
for /f %%x in ('dir /b ..\root\Licenses14\proplusvl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses14\%%x" >nul
echo 正在安装 MAK 许可证...
for /f %%x in ('dir /b ..\root\Licenses14\proplusvl_mak*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses14\%%x" >nul
cscript ospp.vbs /inpkey:VYBBJ-TRJPB-QFQRF-QFT4D-H3GVB
goto :e
:8
cls
echo 正在安装 KMS 许可证...
for /f %%x in ('dir /b ..\root\Licenses14\visio???vl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses14\%%x" >nul
echo 正在安装 MAK 许可证...
for /f %%x in ('dir /b ..\root\Licenses14\visio???vl_mak*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses14\%%x" >nul
cscript ospp.vbs /inpkey:7MCW8-VRQVK-G677T-PDJCM-Q8TCP
goto :e
:9
cls
echo 正在安装 KMS 许可证...
for /f %%x in ('dir /b ..\root\Licenses14\project???vl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses14\%%x" >nul
echo 正在安装 MAK 许可证...
for /f %%x in ('dir /b ..\root\Licenses14\project???vl_mak*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses14\%%x" >nul
cscript ospp.vbs /inpkey:YGX6F-PGV49-PGW3J-9BTGG-VHKC6
goto :e:e
echo.
echo 转化VOL完成!::注册office2016::cd "C:\Program Files (x86)\Microsoft Office\Office16\"cscript ospp.vbs /sethst:%KMS_Sev%::cscript ospp.vbs /act::cscript ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99cscript ospp.vbs /dstatus
echo 注册KMS完成,按任意键退出!
pause >nul
exit
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|手机版|Archiver|运维之家

GMT+8, 2024-11-1 08:35 , Processed in 0.025458 second(s), 15 queries .

Powered by Dirtysea

© 2008-2020 Dirtysea.com.

快速回复 返回顶部 返回列表