Skip to content

Instantly share code, notes, and snippets.

@Daksh777
Last active October 17, 2024 10:06
Show Gist options
  • Save Daksh777/689a1ed43b644e2eb3bcee3351e2aaf7 to your computer and use it in GitHub Desktop.
Save Daksh777/689a1ed43b644e2eb3bcee3351e2aaf7 to your computer and use it in GitHub Desktop.
Activate Office 2019 using a batch script legally by using KMS keys. (Run as administrator)
@echo off
title Activate Microsoft Office 2021 (ALL versions) for FREE - MSGuides.com&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)&echo.&echo =====================================================================================&echo Activating your product...&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 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 24/7!&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
Copy link

ghost commented Jan 26, 2023 via email

@Gm-bat
Copy link

Gm-bat commented Feb 9, 2023

Thanks it worked

@Decoder0007
Copy link

Running it as Admin and the website says its fully operational but it still doesnt connect

@leevayle
Copy link

The connection to my KMS server failed! Trying to connect to another one...
Please wait...
Can't seem to work on mine

@hamzadaoud
Copy link

But it says HackTool:BAT/AutoKMS!MSR is A virus

@Moggle-Khraum
Copy link

But it says HackTool:BAT/AutoKMS!MSR is A virus

Its a false positive..

@activatedsoft
Copy link

The [specific concept] discussed in this post is often overlooked, but your emphasis on its importance has convinced me to prioritize it in my own [industry] practices.
Windows Update MiniTool 2024 Crack

@afzaalpc67
Copy link

An iPad application that extends the capabilities of Media Fire Philippines Extract encrypted RAR and ZIP files and password protected files based on 4Shared
Decipher Backup Repair Crack With Torrent

@RealSoftPC57
Copy link

Your perspective on [industry trend] challenges the conventional wisdom, and I appreciate the thought-provoking insights you've shared. Looking forward to more discussions on this topic.
voicemod pro license key crack

@therealhax56
Copy link

Similarly, this product has two modes: programmed and manual. Also, it has a useful “Tools” tab, which contains various framework applications.
Driver Easy Pro license key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment