Skip to content

Instantly share code, notes, and snippets.

@mndambuki
Created June 7, 2020 03:41
Show Gist options
  • Select an option

  • Save mndambuki/bf3b6a1de33dd84dc4f59dcf8e111618 to your computer and use it in GitHub Desktop.

Select an option

Save mndambuki/bf3b6a1de33dd84dc4f59dcf8e111618 to your computer and use it in GitHub Desktop.
Activate Microsoft Office 2019
@echo off
title Activate Microsoft Office 2019 !
cls
echo ============================================================================
echo #Project: Activating Microsoft software products
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_Sev=kms.03k.org
if %i%==2 set KMS_Sev=kms.03k.org
if %i%==3 set KMS_Sev=kms.03k.org
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 #Please feel free to contact me at mail2ehsanalem@gmail.com if you have any questions or concerns.
echo ============================================================================
choice /n /c YN /m "Would you like to visit my Page [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://github.io/agileehsan"
goto halt
:notsupported
echo.
echo ============================================================================
echo Sorry! Your version is not supported.
echo.
:halt
pause >nul
@hellL1ght

Copy link
Copy Markdown

appreciate

@Ah777edSaid

Ah777edSaid commented Jun 16, 2025

Copy link
Copy Markdown

image

can someone help me here? thanks in advance

Make sure your desktop clock shows the real-time, and it will fix

@sujonmir

Copy link
Copy Markdown

Awesome, worked perfectly for me. Thank you very much ♥

@Pablo-Escobar-Here

Copy link
Copy Markdown

Not Working for me

@daoerb

daoerb commented Dec 2, 2025

Copy link
Copy Markdown

Thank you very much!!

@mnv2406

mnv2406 commented Dec 4, 2025

Copy link
Copy Markdown

It worked ! But some features are still unavailable....is that only happening with me? or any solutions?

@Manjeet9027

Copy link
Copy Markdown

It's vary good . It works only for same version or every for every version ?

@EngrAbdullahSaid

Copy link
Copy Markdown

Thanks worked!

@Atik2020A

Copy link
Copy Markdown

That's worked!! Can you give me office 2024? I need same method

@preetiprajapati18

Copy link
Copy Markdown

really good Thank you!

@Joel-Phceb

Copy link
Copy Markdown

Thank you very much...it works.

@Lhagii01

Copy link
Copy Markdown

Can you give me instructions on how to use this?

@marcial19xx-dot

Copy link
Copy Markdown

It works. Thank you

@umarmahtab

Copy link
Copy Markdown

works

@KevinCraft7

KevinCraft7 commented Mar 2, 2026

Copy link
Copy Markdown

Office 2019 Professional runs smoothly take from licence-keep, com and includes all the essential tools like Word, Excel, and Outlook. Installation was easy, and performance has been stable for everyday work tasks

@uh8860

uh8860 commented Mar 2, 2026

Copy link
Copy Markdown

Click HERE to Download Setup

it was actually very helpful, and i like the way its straight forward. Thank you

@AleshaFegan

AleshaFegan commented Mar 2, 2026

Copy link
Copy Markdown

Office 2019 Professional runs smoothly take from licence-keep, com and includes all the essential tools like Word, Excel, and Outlook. Installation was easy, and performance has been stable for everyday work tasks

Thanks I got office 2019 pro very low cost from this licence-keep

@AnikBarua34

Copy link
Copy Markdown

It worked !!! Thanks

@ahmad121981

Copy link
Copy Markdown

It worked!!!! Thx

@kholhiy474-os

kholhiy474-os commented Apr 15, 2026

Copy link
Copy Markdown

If this screen appears, Microsoft 365 is installed as a one-year subscription or one-time purchase

Click Activate Microsoft Office 2019

A digital product key is transmitted to your PC, so you won't need or receive a printed product key. You activate Microsoft 365 by signing in with a Microsoft account. If we detect your Microsoft account, we'll show it on this screen. After you sign in, your product is added to your Microsoft account, so that you can reinstall it later, or manage your new subscription, without a product key.

@ganuchavan8491

Copy link
Copy Markdown

bro this is not working in my laptop

@3DGISKing

Copy link
Copy Markdown

worked for me.

@noumankanju375

Copy link
Copy Markdown

@babaalhajibukar10-ctrl

Copy link
Copy Markdown

.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.

Download Microsoft Office 2019

........................

@Chevyy

Chevyy commented May 6, 2026

Copy link
Copy Markdown

It works ! Thank you !

@aunnetedu-source

Copy link
Copy Markdown

how much time does it take to activate??

@Arggut

Arggut commented May 19, 2026

Copy link
Copy Markdown

Could somebody tell me how to use it ?

@Bertttt050301

Copy link
Copy Markdown

niceeeeeeeeeeee

@kgul41765-png

Copy link
Copy Markdown

@phongdo00

Copy link
Copy Markdown

I found another way to active Office
step1: open Powershell as Administrator
step2: paste this command irm https://get.activated.win | iex
step3: select 1 for activating Windows, select 2 for activating Office

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