-
Star
(103)
You must be signed in to star a gist -
Fork
(41)
You must be signed in to fork a gist
-
-
Save mndambuki/bf3b6a1de33dd84dc4f59dcf8e111618 to your computer and use it in GitHub Desktop.
@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 |
Thank you so much. It worked!!!!
It worked. thanks so much
Not working for me!
It worked. Thank you so much for your contributions.
its not working they said its ready but still its not working
wow amazing!!!! it really worked. thanks to the team crew
It only says "Activating Office" then jumps to "Would you like to visit my page?" without mentioning if it's successful or not. Please help :(
You need to run this script as Administrator
is it possible to run the Script on a Mac (M2)
What should be the default location for installing Office so that this code will work?
It worked very well this time too. Thanks for your sharing!!!
Can confirm this worked for activating Office 2019 Pro Plus. And I didn't need to run it as Administrator and no reboot required. I ran it as standard user, opened Office and it showed as Activated right away.
it worked perfectly well you have to activate it using administrator privilege.
thank you very much.
but how to use?
search on youtube
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.
It works! Thanks a lot.
This is work for me
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/
And they partnered with microsoft https://appsource.microsoft.com/en-us/marketplace/partner-dir/4e902d25-237b-480e-8eeb-480dfbc7eab8/overview
I got my Office 2019 pro Genuine Microsoft license key from this website click Here
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!!!
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
Many Thanks, Works for me.
thanks it works
wow amazing!!
Perfect brother...its works
Great !
appreciate
I signed up here only to show you my gratitude. This worked like magic. Thank you so much. I have tried so many things until this. You rock man! It worked like a charm.. :) Thank you for sharing..