如何使用批量许可证合法安装并免费激活Office 2019
2023-01-23 canyinms.com 【 字体:大 中 小 】
方法1:手动一个接一个地运行命令
所需时间: 1分钟。
使用合法的KMS产品密钥手动激活Office。
在管理员模式下打开命令提示符。
首先,您需要打开具有管理员权限的命令提示符,然后按照以下说明逐步进行操作。只需复制/粘贴命令,别忘了按Enter即可执行它们。
PC上安装的Office的打开位置
cd /d %ProgramFiles%/Microsoft Office/Office16
cd /d %ProgramFiles(x86)%/Microsoft Office/Office16
如果将Office安装在ProgramFiles文件夹中,则路径将为“%ProgramFiles%/ Microsoft Office / Office16”或“%ProgramFiles(x86)%/ Microsoft Office / Office16”。这取决于您使用的Windows操作系统的体系结构。如果不确定此问题,请不要担心,只需运行以上两个命令。其中之一将不会执行,并且将在屏幕上显示一条错误消息。
将您的零售许可证转换为第一卷
for /f %x in (‘dir /b …/root/Licenses16/ProPlus2019VL*.xrm-ms’) do cscript ospp.vbs /inslic:"…/root/Licenses16%x"
如果您的Office来自Microsoft,则必须执行此步骤。相反,如果从Volume ISO文件安装Office,则这是可选的,因此,如果需要,可以跳过它。
使用KMS客户端密钥激活Office
确保您的PC已连接到Internet,然后运行以下命令。
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /unpkey:6MWKP >nul
cscript ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP
cscript ospp.vbs /sethst:kms8.msguides.com
cscript ospp.vbs /act
这是您将在命令提示符窗口中获得的所有文本。
C:/Windows/system32>cd /d %ProgramFiles%/Microsoft Office/Office16
C:/Program Files/Microsoft Office/Office16>cd /d %ProgramFiles(x86)%/Microsoft Office/Office16
The system cannot find the path specified.
C:/Program Files/Microsoft Office/Office16>for /f %x in (‘dir /b …/root/Licenses16/ProPlus2019VL*.xrm-ms’) do cscript ospp.vbs /inslic:"…/root/Licenses16%x"
C:/Program Files/Microsoft Office/Office16>cscript ospp.vbs /inslic:"…/root/Licenses16/ProPlus2019VL_KMS_Client_AE-ppd.xrm-ms"
Microsoft ® Windows Script Host Version 5.812
Copyright © Microsoft Corporation. All rights reserved.
—Processing--------------------------
Installing Office license: …/root/licenses16/proplus2019vl_kms_client_ae-ppd.xrm-ms
Office license installed successfully.
—Exiting-----------------------------
C:/Program Files/Microsoft Office/Office16>cscript ospp.vbs /inslic:"…/root/Licenses16/ProPlus2019VL_KMS_Client_AE-ul-oob.xrm-ms"
Microsoft ® Windows Script Host Version 5.812
Copyright © Microsoft Corporation. All rights reserved.
—Processing--------------------------
Installing Office license: …/root/licenses16/proplus2019vl_kms_client_ae-ul-oob.xrm-ms
Office license installed successfully.
—Exiting-----------------------------
C:/Program Files/Microsoft Office/Office16>cscript ospp.vbs /inslic:"…/root/Licenses16/ProPlus2019VL_KMS_Client_AE-ul.xrm-ms"
Microsoft ® Windows Script Host Version 5.812
Copyright © Microsoft Corporation. All rights reserved.
—Processing--------------------------
Installing Office license: …/root/licenses16/proplus2019vl_kms_client_ae-ul.xrm-ms
Office license installed successfully.
—Exiting-----------------------------
C:/Program Files/Microsoft Office/Office16>cscript ospp.vbs /inslic:"…/root/Licenses16/ProPlus2019VL_MAK_AE-pl.xrm-ms"
Microsoft ® Windows Script Host Version 5.812
Copyright © Microsoft Corporation. All rights reserved.
—Processing--------------------------
Installing Office license: …/root/licenses16/proplus2019vl_mak_ae-pl.xrm-ms
Office license installed successfully.
—Exiting-----------------------------
C:/Program Files/Microsoft Office/Office16>cscript ospp.vbs /inslic:"…/root/Licenses16/ProPlus2019VL_MAK_AE-ppd.xrm-ms"
Microsoft ® Windows Script Host Version 5.812
Copyright © Microsoft Corporation. All rights reserved.
—Processing--------------------------
Installing Office license: …/root/licenses16/proplus2019vl_mak_ae-ppd.xrm-ms
Office license installed successfully.
—Exiting-----------------------------
C:/Program Files/Microsoft Office/Office16>cscript ospp.vbs /inslic:"…/root/Licenses16/ProPlus2019VL_MAK_AE-ul-oob.xrm-ms"
Microsoft ® Windows Script Host Version 5.812
Copyright © Microsoft Corporation. All rights reserved.
—Processing--------------------------
Installing Office license: …/root/licenses16/proplus2019vl_mak_ae-ul-oob.xrm-ms
Office license installed successfully.
—Exiting-----------------------------
C:/Program Files/Microsoft Office/Office16>cscript ospp.vbs /inslic:"…/root/Licenses16/ProPlus2019VL_MAK_AE-ul-phn.xrm-ms"
Microsoft ® Windows Script Host Version 5.812
Copyright © Microsoft Corporation. All rights reserved.
—Processing--------------------------
Installing Office license: …/root/licenses16/proplus2019vl_mak_ae-ul-phn.xrm-ms
Office license installed successfully.
—Exiting-----------------------------
C:/Program Files/Microsoft Office/Office16>cscript ospp.vbs /setprt:1688
Microsoft ® Windows Script Host Version 5.812
Copyright © Microsoft Corporation. All rights reserved.
—Processing--------------------------
Successfully applied setting.
—Exiting-----------------------------
C:/Program Files/Microsoft Office/Office16>cscript ospp.vbs /unpkey:6MWKP >nul
C:/Program Files/Microsoft Office/Office16>cscript ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP
Microsoft ® Windows Script Host Version 5.812
Copyright © Microsoft Corporation. All rights reserved.
—Processing--------------------------
—Exiting-----------------------------
C:/Program Files/Microsoft Office/Office16>cscript ospp.vbs /sethst:kms8.msguides.com
Microsoft ® Windows Script Host Version 5.812
Copyright © Microsoft Corporation. All rights reserved.
—Processing--------------------------
Successfully applied setting.
—Exiting-----------------------------
C:/Program Files/Microsoft Office/Office16>cscript ospp.vbs /act
Microsoft ® Windows Script Host Version 5.812
Copyright © Microsoft Corporation. All rights reserved.
—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
—Exiting-----------------------------
C:/Program Files/Microsoft Office/Office16>
现在,办公室已成功激活。
Office 2019产品已激活
Office 2019产品已激活
方法2:使用批处理脚本
由于Microsoft的新更新,因此不建议再使用此版本。
步骤1:将以下代码复制到新的文本文档中。
@echo off
title Activate Microsoft Office 2019 ALL versions for FREE!&cls&echo ============================================================================&echo #Project: Activating Microsoft software products for FREE without software&echo ============================================================================&echo.&echo #Supported products:&echo - Microsoft Office Standard 2019&echo - Microsoft Office Professional Plus 2019&echo.&echo.&(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”)&(for /f %%x in (‘dir /b …/root/Licenses16/ProPlus2019VL*.xrm-ms’) do cscript ospp.vbs /inslic:"…/root/Licenses16%%x" >nul)&(for /f %%x in (‘dir /b …/root/Licenses16/ProPlus2019VL*.xrm-ms’) do cscript ospp.vbs /inslic:"…/root/Licenses16%%x" >nul)&echo.&echo ============================================================================&echo Activating your Office…&cscript //nologo slmgr.vbs /ckms >nul&cscript //nologo ospp.vbs /setprt:1688 >nul&cscript //nologo ospp.vbs /unpkey:6MWKP >nul&cscript //nologo ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP >nul&set i=1
:server
if %i%==1 set KMS=kms7.MSGuides.com
if %i%==2 set KMS=kms8.MSGuides.com
if %i%==3 set KMS=kms9.MSGuides.com
if %i%==4 goto notsupported
cscript //nologo ospp.vbs /sethst:%KMS% >nul&echo ============================================================================&echo.&echo.
cscript //nologo ospp.vbs /act | find /i “successful” && (echo.&echo ============================================================================&echo.&echo #My official blog: MSGuides.com&echo.&echo #How it works: bit.ly/kms-server&echo.&echo #Please feel free to contact me at msguides.com@gmail.com if you have any questions or concerns.&echo.&echo #Please consider supporting this project: donate.msguides.com&echo #Your support is helping me keep my servers running everyday!&echo.&echo ============================================================================&choice /n /c YN /m “Would you like to visit my blog [Y,N]?” & if errorlevel 2 exit) || (echo The connection to my KMS server failed! Trying to connect to another one… & echo Please wait… & echo. & echo. & set /a i+=1 & goto server)
explorer “http://MSGuides.com”&goto halt
:notsupported
echo.&echo ============================================================================&echo Sorry! Your version is not supported.&echo Please try installing the latest version here: bit.ly/aiomsp
:halt
pause >nul
创建一个新的文本文件
创建一个新的文本文件
步骤2:将文本文件另存为具有.cmd扩展名的批处理文件。(例如office2019.cmd)。
保存文件
保存文件
设置批处理脚本的名称
设置批处理脚本的名称
步骤3:以管理员权限运行此批处理文件。
以管理员权限运行脚本
以管理员权限运行脚本
UAC警报
UAC警报
步骤4:再次检查激活状态。
您的办公室已成功激活
您的办公室已成功激活
做完了!您的Office已成功激活。
注意:如果您的PC无法连接到任何KMS服务器,请尝试再次运行该批处理文件。
如何自制蛋挞
肉火烧面怎么和面
奶茶几分糖好喝
过桥米线是哪里的?
面霜和乳液的区别
怎么摘隐形眼镜
粉饼和散粉的区别
冷烫和热烫的区别
高品质香水如何鉴别?用三步就可以解决
如何去除黑眼圈