Skip to content

Instantly share code, notes, and snippets.

@thdtt
Last active November 8, 2025 15:34
Show Gist options
  • Save thdtt/61236d7c4c6090e85ac34b33e7318a18 to your computer and use it in GitHub Desktop.
Save thdtt/61236d7c4c6090e85ac34b33e7318a18 to your computer and use it in GitHub Desktop.
Office 365 Activator; dont forget to turn off windows defender real time protection
@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
@ShederatorXD
Copy link

no

@MonsterbudPH
Copy link

Heyyyy.... For those who want to activate O365 not 2016 use Microsoft Activation Scripts (MAS) from this link: https://github.com/massgravel/Microsoft-Activation-Scripts

To download office use Microsoft Official Office Deployment Tool. Stay safe!

This worked for me. Thanks :)

@Daniel2468
Copy link

Beautiful... It works

@aadityapatil350
Copy link

How to activate this?

@twiceinnature
Copy link

not working for me, it says you have different version for ms office 365

@twiceinnature
Copy link

not able to activate

@PRO444400
Copy link

THX WORK!! if you have microsoft defender warning you can ignore it, THERE IS NOT VIRUS!!!!!

@catsiel
Copy link

catsiel commented Dec 28, 2024

WORKED! Thank you, had no idea it's this easy

@CuratorOfLemons
Copy link

working on ms 365! thanks.

@noralaim
Copy link

noralaim commented Mar 6, 2025

work done office 365 06-03-2025

@dasarum
Copy link

dasarum commented Mar 17, 2025

Heyyyy.... For those who want to activate O365 not 2016 use Microsoft Activation Scripts (MAS) from this link: https://github.com/massgravel/Microsoft-Activation-Scripts
To download office use Microsoft Official Office Deployment Tool. Stay safe!

DURATION OF THIS? LIFTIME OR JUST 1 MONTH??

Great thanks! This method worked for Office 365 Personal activation. Not even needed to disable antivirus or Windows defender. Zero error. No expiry date in account status. Will see if this activation valid for one month or more. Mar 17th 2025

@Mozin-Para
Copy link

Mozin-Para commented Aug 31, 2025

Not working

@hamzawy55
Copy link

i did these steps and it worked good, but now i getan official description but I cant activate it

@jc-saitama1701ok
Copy link

hola, alguna version microsoft 365 (pirata) (activada por cmd etc) se puede incluir o que se descargue con COPILOT integrado en word, onenote etc. Muchas gracias, encuentro super util el tener integrado el Copilot, saludos

@vinayhasyagar3636
Copy link

Heyyyy.... For those who want to activate O365 not 2016 use Microsoft Activation Scripts (MAS) from this link: https://github.com/massgravel/Microsoft-Activation-Scripts

To download office use Microsoft Official Office Deployment Tool. Stay safe!

It works great!!!!...is it safe? Do I need to turn off anything?? Like windows defender??

@rohitdas74760-afk
Copy link

Is this method safe?

@catalin-tuduriu
Copy link

Heyyyy.... For those who want to activate O365 not 2016 use Microsoft Activation Scripts (MAS) from this link: https://github.com/massgravel/Microsoft-Activation-Scripts

To download office use Microsoft Official Office Deployment Tool. Stay safe!

This one worked perfectly for me, office 365 with last update! Thank you

@dhruvjjan
Copy link

Worked like a charm, thank youπŸ˜πŸ˜πŸ˜ŠπŸ‘Œ

@Sky-Verma
Copy link

Not sure if this is safe or not. It would activate for sure but doesn't look safe to me. So, not gonna try this because this connects to unknown servers (kms7.msguides.com, etc.) which could be compromised.

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