You are on page 1of 22

Legal way to use Office 365 totally FREE,

without paying a dime


In a previous post here, I have shown you guys how to download and install Office 365
Multi-language using online installer downloaded directly from the Microsoft homepage. The
new installation includes a 30-day free trial license by default. After that, most important
features will be disabled. It means your work will be discontinued unless you pay for Office
365 subscription. If you are in financial difficulties, this is so bad, I know. To help you
overcome this problem, I recommend using KMS licene key to activate your Office. For
those of you guys who don’t already know, KMS license is almost similar to the trial one. It
is totally free, legal and is valid for 180 days only. But don’t worry about the period because
it can be renewed easily.

Remove your current trial license


This step is optional if your trial license was expired. However, if it is still valid, you need to
remove it. Because in some cases, after you activate your Office using KMS license,
important features are resumed but the expiration notification still remains. Please follow
instructions in this post to uninstall the trial license.

Make sure your computer is ready


You need to check your internet connection again and make sure that the Windows Update
service is turned on. KMS license has to be verified by making a connection to my KMS
server before it can be used. So you need to check if the KMS server is blocked or not. This is
pretty simple. Just open your internet browser and try visitting this site:
http://kms8.msguides.com. If it is visible, this means my KMS server is not blocked.

Activating your Office 365 using KMS client key


1. Manual method

Time needed: 1 minute.

Manually activate your Office 365 using KMS client key.

1. Open command prompt as admin.

First, you need to open command prompt with admin rights, then follow the
instruction below step by step. Just copy/paste the commands and do not forget to hit
Enter in order to execute them.

2. Navigate to your Office folder.

If you install your Office in the ProgramFiles folder, the path will be
“%ProgramFiles%\Microsoft Office\Office16” or “%ProgramFiles(x86)%\Microsoft
Office\Office16”. It depends on the architecture of the Windows OS you are using. If
you are not sure of this issue, don’t worry, just run both of the commands above. One
of them will be not executed and an error message will be printed on the screen.

cd /d %ProgramFiles%\Microsoft Office\Office16
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
3. Convert your Office license to volume one if possible.

If your Office is got from Microsoft, this step is required. On the contrary, if you
install Office from a Volume ISO file, this is optional so just skip it if you want.

for /f %x in ('dir /b ..\root\Licenses16\proplusvl_kms*.xrm-ms') do


cscript ospp.vbs /inslic:"..\root\Licenses16\%x"

4. Use KMS client key to activate your Office

Make sure your PC is connected to the internet, then run the following command.

cscript ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99


cscript ospp.vbs /unpkey:BTDRB >nul
cscript ospp.vbs /unpkey:KHGM9 >nul
cscript ospp.vbs /unpkey:CPQVG >nul
cscript ospp.vbs /sethst:kms8.msguides.com
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /act

Here is all the text you will get in the command prompt window.

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\proplusvl_kms*.xrm-ms') do cscript ospp.vbs
/inslic:"..\root\Licenses16\%x"
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs
/inslic:"..\root\Licenses16\ProPlusVL_KMS_Client-ppd.xrm-ms"
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
---Processing--------------------------
Installing Office license: ..\root\licenses16\proplusvl_kms_client-
ppd.xrm-ms
Office license installed successfully.
---Exiting-----------------------------
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs
/inslic:"..\root\Licenses16\ProPlusVL_KMS_Client-ul-oob.xrm-ms"
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
---Processing--------------------------
Installing Office license: ..\root\licenses16\proplusvl_kms_client-
ul-oob.xrm-ms
Office license installed successfully.
---Exiting-----------------------------
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs
/inslic:"..\root\Licenses16\ProPlusVL_KMS_Client-ul.xrm-ms"
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
---Processing--------------------------
Installing Office license: ..\root\licenses16\proplusvl_kms_client-
ul.xrm-ms
Office license installed successfully.
---Exiting-----------------------------
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs
/inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
---Processing--------------------------

---Exiting-----------------------------
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs
/unpkey:BTDRB >nul
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs
/unpkey:KHGM9 >nul
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs
/unpkey:CPQVG >nul
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs
/sethst:kms8.msguides.com
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
---Processing--------------------------
Successfully applied setting.
---Exiting-----------------------------
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs
/setprt:1688
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
---Processing--------------------------
Successfully applied setting.
---Exiting-----------------------------
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /act
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
---Processing--------------------------
Installed product key detected - attempting to activate the
following product:
SKU ID: d450596f-894d-49e0-966a-fd39ed4c4c64
LICENSE NAME: Office 16, Office16ProPlusVL_KMS_Client edition
LICENSE DESCRIPTION: Office 16, VOLUME_KMSCLIENT channel
Last 5 characters of installed product key: WFG99

---Exiting-----------------------------
C:\Program Files\Microsoft Office\Office16>

2. Using batch script

This method is not recommend anymore due to the new update of Microsoft.

Step 1: Copy the code below into a new text document.

@echo off
title Activate Office 365 ProPlus for FREE - MSGuides.com&cls&echo
===========================================================================
=&echo #Project: Activating Microsoft software products for FREE without
software&echo
===========================================================================
=&echo.&echo #Supported products: Office 365 ProPlus (x86-
x64)&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\proplusvl_kms*.xrm-ms') do cscript ospp.vbs
/inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b
..\root\Licenses16\proplusvl_mak*.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:WFG99 >nul&cscript //nologo ospp.vbs /unpkey:DRTFM >nul&cscript
//nologo ospp.vbs /unpkey:BTDRB >nul&cscript //nologo ospp.vbs
/inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99 >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/odt2k16
:halt
pause >nul
Create a new text file

Step 2: Save it as a batch file. (eg. office365.cmd).

Save the text file


Set name of the batch file

Step 3: Run the batch file with admin rights. (important!).

Run the batch file as admin


Done! Your Office is activated successfully.

Successfully activate Office 365

Note:

• I only test this method with Office 365 ProPlus version. I am not sure it will work
with the others.
• Step 3 is flagged “important” because the UAC system will stop this process if you
don’t do it.

How to renew your Office 365 license


By default, your license will be renewed automaticaly every seven days but in some cases, it
can be stuck. So you need to renew the license manually. Just follow instructions here.

Renew Microsoft Office/Windows KMS


license for FREE manually
By default, KMS license is valid for only 180 days and it will be renewed every 7 days as
from the date of activation. However, in some cases, this process can be stuck. The following
are some reasons for this problem.
• Your PC is not connected to the internet or the connection is unstable when the
license renewal process is called.
• You are using a third-party firewall so the connection to KMS server is denied.
• You are using different versions of Office on your PC. Retail and Volume version on
the same PC?

Workarounds
• Make sure your PC is always connected and your internet connection is stable.
• If you are using another firewall, please open port 1688.
• Please do not use Office retail and volume on the same Windows.

How to renew KMS license


Renew Microsoft Office license

Step 1: Open command prompt as administrator.

Step 2: Copy and run the command below. Note: “Office16” is code name of Office 2016. If
you are using Office 2013/2010, just replace it with “Office15” and “Office14”.

cscript "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" /act

If you see an error, try this command.

cscript "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" /act

Renew Office trial license

Done!

Renew Microsoft Windows license

Step 1: Open command prompt as administrator.


Step 2: Execute this command.

cscript slmgr.vbs /ato

Your license is renewed successfully!

Windows Defender detects my scripts as


“HackTool:BAT/AutoKMS
Based on testing on some Windows devices, I have just relized that Microsoft disallowed to
use KMS scripts in the recent update. To reconfirm this, I uploaded a batch script file to
VirusTotal and here is the result.

There is no offical reason or notification and it just was a quiet event. I think many you guys
here were surprised, even shocked as soon as you heard this news. However, Microsoft’s
move this time is easy to understand.

1. Batch script is not recommended anymore


KMS commands are developed by Microsoft but the batch scripts are not. They are just
contain a batch of KMS commands and written by individuals like me. My purpose of
creating the scripts is help you guys save your time instead of running all commands, one by
one in the command prompt or Windows power shell. But this method has never been treated
as an official method because opening batch file with admin rights is not recommended by
Microsoft. For example, if the author inserts the command formatting disk into the script, all
you data will be lost.

2. Batch script is used to fleece others


As you know, my Paypal accounts has been limited permanently because many people
reported me to Paypal and said that I had sold them fake product keys on eBay. Someone has
used my name to create an online shop and sell all my scripts. He told buyers a brazen lie that
the scripts he sold is the new generation of digital license. It goes without saying people who
are willing to spend a few dozen of dollars to order them have never known my site and my
work. And they are willing to report the author of the scripts too when they realized the truth
without finding out carefully.

The move of Microsoft will clear all opportunists and swindlers and I’m all for it. I will
replace the KMS scripts from all my posts with the manual method in the coming time.
Finally, I would like to thank you guys for always standing by my side. Your support and
your encouragement mean a lot to me. It only remains for me to thank.
Uninstall Microsoft product trial license or
KMS license completely
As you know, the new Microsoft product installation usually includes a 30-days free trial license.
However, the problem here is that the trial license is not uninstalled automatically when it is
expired. And so this leads to the paradox that it keeps saying “Most features are disabled” or
“Windows is not activated” even after activating it using a valid license. Besides, some of you guys
who have ever used KMS license to activate your Windows or your Office and now you just want to
remove it in order to use another product key. This is similar to the problem I just mentioned. And to
address these issues, please do the following steps.

Steps to remove your Office license


Step 1: Open command prompt as administrator.

Step 2: Copy/run this command to determine what is the license key you want to remove.

cscript "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" /dstatus

If you see an error, try this command.

cscript "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" /dstatus

Note: “Office16” is codename of Office 2016. If you are using Office 2010/2013, replace
“Office16” with “Office14” or “Office15”.
Determine license you want to remove

Step 3: Copy and run these commands to remove the license. Note: replace “VMFTK” with
the last 5 characters of your product key.

cscript "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" /unpkey:VMFTK

If you see an error, try this command.

cscript "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs"


/unpkey:VMFTK
Office product key is uninstalled successfully

Done!

Steps to remove your Windows license


Step 1: Open command prompt with admin rights.

Step 2: Execute this command.

cscript slmgr.vbs /upk&cscript slmgr.vbs /cpky

Windows product key is removed successfully

Done! The license you want to remove is uninstalled successfully.


Microsoft Office 365 Product Key Free 2021
• MT7YN-TMV9C-7DDX9-64W77-B7R4D
• 6KTFN-PQH9H T8MMB-YG8K4-367TX
• DJKSE-DFJS93-DFJKD94JD-DJKD94JD
• 2MNJP-QY9KX-MKBKM-9VFJ2-CJ9KK
• XRNFT-HG2FV-G74BP-7PVDC-JB29K
• DJKSE-DFJS93-DFJKD94JD-DJKD94JD
• 6PMNJ-Q33T3-VJQFJ-23D3H-6XVTX
• 2MHJR-V4MR2-V4Z2Y-72MQ7-KC6XK

Microsoft Office 365 Pro Plus Product Key

• 6KTFN-PQH9H T8MMB-YG8K4-367TX
• KBDNM-R8CD9-RK366-WFM3X-C7GXK
• MH2KN-96KYR-GTRD4-KBKP4-Q9JP9
• 2MNJP-QY9KX-MKBKM-9VFJ2-CJ9KK
• N4M7D-PD46X-TJ2HQ-RPDD7-T28P9
• NK8R7-8VXCQ 3M2FM-8446R-WFD6X

Microsoft Office 365 Activation Key

• FBFPP-2XG5Y-FG9VH-DVQ2Z-QJRCH
• P8TFP-JGFMM-XPV3X-3FQM2-8K4RP
• 2MHJR-V4MR2-V4Z2Y-72MQ7-KC6XK
• H746C-BM4VK-TZBB8-MVZH8-FXR32

Microsoft Office 365 Product Keys

• 6PMNJ-Q33T3-VJQFJ-23D3H-6XVTX
• MT7YN-TMV9C-7DDX9-64W77-B7R4D
• DJKSE-DFJS93-DFJKD94JD-DJKD94JD
• DJD94-DFKD9-FJD94JD894-FJKD94JD

Microsoft Office 365 Product Key 2019 (Updated)

• XRNFT-HG2FV-G74BP-7PVDC-JB29K
• 2MNJP-QY9KX-MKBKM-9VFJ2-CJ9KK
• 2B8KN-FFK6J-YWMV4-J3DY2-3YF29
• N4M7D-PD46X-TJ2HQ-RPDD7-T28P9
• 4HNBK-863MH-6CR6P-GQ6WP-J42C9
• 6KTFN-PQH9H T8MMB-YG8K4-367TX

Microsoft Office 2016 Activation Key

• FBFPP-2XG5Y-FG9VH-DVQ2Z-QJRCH
• P8TFP-JGFMM-XPV3X-3FQM2-8K4RP
• 2MHJR-V4MR2-V4Z2Y-72MQ7-KC6XK

Microsoft Office 2016 Product Key Free 2019 Latest

• KV8NT-CM2T2-3JD3X-9C473-4F937
• 9C2PK-NWTVB-JMPW8-BFT28-7FTBF
• GNH9Y-D2J4T-FJHGG-QRVH7-QPFDW

Microsoft Office 365 Activation Keys

• 2MNJP-QY9KX-MKBKM-9VFJ2-CJ9KK
• 6KTFN-PQH9H T8MMB-YG8K4-367TX
• DJC4N-DX7PC-GM3GK-V8KKW-XWYGX

Microsoft Office 365 Product Key Free

N7PXY-WR4XP-D4FGK-K66JH-CYQ6X

XRNFT-HG2FV-G74BP-7PVDC-JB29K

Note: If these keys don’t work, you can use the new method to active Microsoft Office 365

How to activate Microsoft Office 365 without product key


Step 1: You copy the code below into a new text document.

@echo off
title Activate Office 365 ProPlus for FREE - MSGuides.com&cls&echo
============================================================================&
echo #Project: Activating Microsoft software products for FREE without
software&echo
============================================================================&
echo.&echo #Supported products: Office 365 ProPlus (x86-x64)&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\proplusvl_kms*.xrm-ms') do cscript ospp.vbs
/inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b
..\root\Licenses16\proplusvl_mak*.xrm-ms') do cscript ospp.vbs
/inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo
============================================================================&
echo Activating your Office...&cscript //nologo ospp.vbs /unpkey:WFG99
>nul&cscript //nologo ospp.vbs /unpkey:DRTFM >nul&cscript //nologo ospp.vbs
/unpkey:BTDRB >nul&cscript //nologo ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-
WFG99 >nul&set i=1
:server
if %i%==1 set KMS_Sev=kms7.MSGuides.com
if %i%==2 set KMS_Sev=kms8.MSGuides.com
if %i%==3 set KMS_Sev=kms9.MSGuides.com
if %i%==4 goto notsupported
cscript //nologo ospp.vbs /sethst:%KMS_Sev% >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/odt2k16
:halt
pause >nul

Then you create a new text document.

Step 2: You paste the code into the text file. Then save it as a batch file
(named “1click.cmd”).
Step 3: You run the batch file as administrator.

Please wait…

Done! Your Office is activated successfully.


Conclusion:

Any Office 365 customer can get the real brand main edition. But the serial
keys are complain

@echo off
title Activate Microsoft Office 2016 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 2016&echo -
Microsoft Office Professional Plus 2016&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\proplusvl_kms*.xrm-ms') do cscript ospp.vbs
/inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b
..\root\Licenses16\proplusvl_mak*.xrm-ms') do cscript ospp.vbs
/inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo
============================================================================&
echo Activating your Office...&cscript //nologo ospp.vbs /unpkey:WFG99
>nul&cscript //nologo ospp.vbs /unpkey:DRTFM >nul&cscript //nologo ospp.vbs
/unpkey:BTDRB >nul&cscript //nologo ospp.vbs /unpkey:CPQVG >nul&cscript
//nologo ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99 >nul&cscript //nologo
ospp.vbs /inpkey:JNRGM-WHDWX-FJJG3-K47QV-DRTFM >nul&set i=1
:server
if %i%==1 set KMS_Sev=kms7.MSGuides.com
if %i%==2 set KMS_Sev=kms8.MSGuides.com
if %i%==3 set KMS_Sev=kms9.MSGuides.com
if %i%==4 goto notsupported
cscript //nologo ospp.vbs /sethst:%KMS_Sev% >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 "https://getproductkey.net"&goto halt
:notsupported
echo.&echo
============================================================================&
echo Sorry! Your version is not supported.&echo Please try installing the
latest version here: bit.ly/downloadmsp
:halt
pause
THE BEST ACTIVATOR CODE

@echo off
title Activate Office 365 ProPlus for FREE - MSGuides.com&cls&echo
============================================================================&
echo #Project: Activating Microsoft software products for FREE without
software&echo
============================================================================&
echo.&echo #Supported products: Office 365 ProPlus (x86-x64)&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\proplusvl_kms*.xrm-ms') do cscript ospp.vbs
/inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b
..\root\Licenses16\proplusvl_mak*.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:WFG99
>nul&cscript //nologo ospp.vbs /unpkey:DRTFM >nul&cscript //nologo ospp.vbs
/unpkey:BTDRB >nul&cscript //nologo ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-
WFG99 >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/odt2k16
:halt
pause >nul

You might also like