0% found this document useful (0 votes)
376 views1 page

MS Office 2021 Script

This document contains a batch script that activates Microsoft Office 2021 products like Office Standard and Professional Plus for free without additional software. It does this by connecting to KMS (Key Management Server) servers to activate the Office licenses. The script will try connecting to different KMS servers if the first one is unavailable or busy.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
376 views1 page

MS Office 2021 Script

This document contains a batch script that activates Microsoft Office 2021 products like Office Standard and Professional Plus for free without additional software. It does this by connecting to KMS (Key Management Server) servers to activate the Office licenses. The script will try connecting to different KMS servers if the first one is unavailable or busy.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

@echo off

title Activate Microsoft Office 2021 (ALL versions) for FREE - by: nhorliemac&cls&echo
=============================================================================
========&echo #Project: Activating Microsoft software products for FREE without additional
software&echo
=============================================================================
========&echo.&echo #Supported products:&echo - Microsoft Office Standard 2021&echo -
Microsoft Office Professional Plus 2021&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\ProPlus2021VL_KMS*.xrm-ms') do cscript
ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\
ProPlus2021VL*.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:6F7TH >nul&set i=1&cscript //nologo ospp.vbs
/inpkey:FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH >nul||goto notsupported
:skms
if %i% GTR 10 goto busy
if %i% EQU 1 set KMS=kms7.MSGuides.com
if %i% EQU 2 set KMS=s8.uk.to
if %i% EQU 3 set KMS=s9.us.to
if %i% GTR 3 goto ato
cscript //nologo ospp.vbs /sethst:%KMS% >nul
:ato
echo
============================================================================&
echo.&echo.&cscript //nologo ospp.vbs /act | find /i "successful" && (echo.&echo
============================================================================&
echo.&echo #My YT channel nhorliemac&echo.&echo #How it works: bit.ly/kms-server&echo.&echo
#Please consider supporting this project: please subscribe nhorliemac&echo #Your support is helping
us to keep the script up to date!&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 skms)
explorer "http://MSGuides.com"&goto halt
:notsupported
echo
============================================================================&
echo.&echo Sorry, your version is not supported.&echo.&goto halt
:busy
echo
============================================================================&
echo.&echo Sorry, the server is busy and can't respond to your request. Please try again.&echo.
:halt
pause >nul

You might also like