Skip to content

Instantly share code, notes, and snippets.

@mndambuki
Created June 7, 2020 03:41
Show Gist options
  • Save mndambuki/bf3b6a1de33dd84dc4f59dcf8e111618 to your computer and use it in GitHub Desktop.
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 [email protected] 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
@Edz020
Copy link

Edz020 commented Nov 7, 2024

image

can someone help me here? thanks in advance

@eddyidris
Copy link

Safety warning!!!
you can implement it from powershell as admin. after implement read following.

After implement remove to kms.03k.org The script is set to connect to an external KMS server (kms.03k.org), which is not an official Microsoft server. Connecting to unknown or unofficial KMS servers can introduce security risks, such as exposing your system to malware or unauthorized access.
Ideally, KMS activation should be done through a trusted internal KMS server managed by your organization or directly through official Microsoft channels if you have a valid license.

How to remove kms.03k.org from powershell as admin

Navigate to the Office installation directory

if (Test-Path "$Env:ProgramFiles\Microsoft Office\Office16\ospp.vbs") {
Set-Location "$Env:ProgramFiles\Microsoft Office\Office16"
} elseif (Test-Path "$Env:ProgramFiles(x86)\Microsoft Office\Office16\ospp.vbs") {
Set-Location "$Env:ProgramFiles(x86)\Microsoft Office\Office16"
} else {
Write-Host "Office 2019 not found." -ForegroundColor Red
exit
}

Remove the KMS server host configuration

Start-Process -FilePath "cscript.exe" -ArgumentList "ospp.vbs /remhst" -NoNewWindow -Wait
Write-Host "KMS server has been removed from Office configuration." -ForegroundColor Green

after implementing you can still use office without activation for 179 days. you decide guys i just shared my experience

here is the key used in script NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP

another activation option temporary type following command slmgr.vbs /rearm
To extend the grace period for Microsoft Office 2019 using KMS or without a valid key, you can use the slmgr.vbs /rearm command, which resets the activation grace period. However, this command can only be used a limited number of times—typically 5 times—before it stops working.

@liujunyi8652
Copy link

It works! Thanks a lot.

@DHernandez9
Copy link

DHernandez9 commented Dec 16, 2024

I got my Office 2019 pro Genuine Microsoft license key from this website click Here

@AdemLamser
Copy link

https://hypestkey.com/product/microsoft-office-ltsc-professional-plus-2024/

Thanks you, got office ltsc 2024 pro plus here + windows 11 pro

Both key really retail, and they give me all certification for my key!!!

@JaneDavis9
Copy link

I got my Office 2019 pro Genuine Microsoft license key from this website click Here

Thanks. I Take a windows 11 pro and Office 2019 pro from the website with big discount. instantly delivered and both worked without any problem. I trust the website because the company registered the UK. you can also see here
https://find-and-update.company-information.service.gov.uk/company/15123928

@spiritsfortechnology
Copy link

Many Thanks, Works for me.

@Muhammadwisalkhattak
Copy link

thanks it works

@smith8097
Copy link

I bought Microsoft Office 2019 for only $10 from https://digitlogs.com/product/office-professional-plus-2019-retail-key/ and installed it. It works great, and I received it quickly. I am very satisfied with the service. Thank you!

@mahmoud-anter
Copy link

wow amazing!!

@manish3s
Copy link

Perfect brother...its works

@hpsxrb
Copy link

hpsxrb commented Jan 30, 2025

Great !

@onepoint247
Copy link

I received the Office 2019 activation key within minutes of purchase from website. It was easy to follow the instructions, and Office 2019 was activated without any problems from website. Super fast and convenient, good site to buy Office 2019.

@Tobey101
Copy link

Tobey101 commented Feb 4, 2025

Wow! I just bought an Office 2019 Pro Plus key from https://digitlogs.com/product-category/software/ for only $12, and I’m so impressed! The process was lightning-fast, and I got the key immediately. My Office is now fully activated, and I couldn’t be happier. Amazing!

@hellL1ght
Copy link

appreciate

@Qasim548
Copy link

Qasim548 commented Feb 5, 2025

This is work for me https://hypestkey.com/product/microsoft-office-ltsc-professional-plus-2024/

Key really retail, and they give me all certification for my keys.

and they partner microsoft

@Johnny4043
Copy link

I got my MS Office Pro Plus 2019 key for just $12 from https://digitlogs.com/product/office-professional-plus-2019-retail-key/.

Genuine retail key and instant delivery!

@minahilmalik82828
Copy link

minahilmalik82828 commented Feb 13, 2025

@HMemon2512
Copy link

thanks it works

@MOAHAMEDSABRRY
Copy link

Thanks for recommendation, working!

Download setup files for MS Office Pro Plus 2019
https://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/media/en-us/ProPlus2019Retail.img

Office 2019 pro plus key retail got here https://hypestkey.com/product/microsoft-office-professional-plus-2019/

@Bigboss440
Copy link

https://hypestkey.com/product/microsoft-office-ltsc-professional-plus-2024/

Thanks you, got office ltsc 2024 pro plus here + windows 11 pro

Both key really retail, and they give me all certification for my key!!!

@richardcooper1
Copy link

richardcooper1 commented Feb 19, 2025

I just bought my MS Office Pro Plus 2019 key for $10 from https://noxkeys.com/product/microsoft-office-2019-professional-plus/, and everything worked great - no problems at all.

They offer 100% genuine retail keys, and the activation process was smooth and hassle-free. I highly recommend it

@playprotect033
Copy link

@arlottejulia
Copy link

@arlottejulia
Copy link

Download Microsoft Office 2019

..
.
.
.
..
.
.
.

..
.
.
.

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

..

.
...

.
.
..
.
.
.
.
.
.
.

@Denny8097
Copy link

Bought a MS Office Pro Plus 2019 key for $12 from https://digitlogs.com/product-category/software/ and I was impressed by how fast it arrived.

Activated without any issues, and it was a retail key. Great experience overall! If you’re looking for an affordable, legitimate Windows and ms office key, Digitlogs is the way to go!

@vollyballvollyball612
Copy link

vollyballvollyball612 commented Feb 24, 2025

@Oleg77783939
Copy link

Thanks for recommendation, working!

Download setup files for MS Office Pro Plus 2019
https://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/media/en-us/ProPlus2019Retail.img

Office 2019 pro plus key retail got here https://hypestkey.com/product/microsoft-office-professional-plus-2019/

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