-
-
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 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 |
I got office 2021 pro plus from microsoft partner https://hypestkey.com/product/office-2021-professional-plus/, key activated without any problem
Thanks, that work for me
The system cannot find the path specified. The system cannot find the path specified.
its showing this
this is the image of ProgramFiles and ProgramFiles(x86) folder is same.
i have installed the ms office 365 app from ms store. anyone guide what to do?
you have installed office 365 but this is for office 2019 "https://archive.org/details/microsoft-office-2019-pro-plus-16.0.10325.20118-64-bit#reviews" use this to install office 2019
but how to use?
It worked when I clicked run as administrator
Thank you very much.
Received key 2019 pro plus on https://hypestkey.com/product/microsoft-office-professional-plus-2019/
and they provide me that guide for activate
Download setup files for MS Office Pro Plus 2019
https://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/media/en-us/ProPlus2019Retail.img
After download install
Open word/excell
Click activation via internet
Put code
Activated easy
I'm not sure, but from your screenshot, it seems like you have installed office in a different location than the default directory. Thats why the program cant find your office folder.