Dec 25, 2022

Activate Microsoft Office for FREE using cmds

Before Activation:

Sometime we want to activate MS Office for FREE & we try to find number of free keys from Internet & try our luck in FREE activation.

BUT most times we get same expired keys from different websites and waste our time.
Simplest working solution which I got on Internet is use below script to active for FREE in seconds.
I personally tried it on my system, so I'm posting it here for my future reference & helping others who need it. 

Code is open source - so no hidden trick & safe to use.

Please follow below Steps:

Step1: Save below script as d4techs.cmd file in any notepad file

@echo off

title Activate Microsoft Office 2021 (ALL versions) for FREE - D4Techs.BlogSpot.com&cls&echo =====================================================================================&echo #Project: Activating Microsoft software products for FREE without additional software&echo =====================================================================================&echo.&echo #Supported products:&echo - Microsoft Office Standard 2021&echo - Microsoft Office Professional Plus 2021&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\ProPlus2021VL_KMS*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo =====================================================================================&echo Activating your product...&cscript //nologo slmgr.vbs /ckms >nul&cscript //nologo ospp.vbs /setprt:1688 >nul&cscript //nologo ospp.vbs /unpkey:6F7TH >nul&set i=1&cscript //nologo ospp.vbs /inpkey:FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH >nul||goto notsupported

:skms

if %i% GTR 10 goto busy

if %i% EQU 1 set KMS=kms7.MSGuides.com

if %i% EQU 2 set KMS=ms8.us.to

if %i% EQU 3 set KMS=ms9.us.to

if %i% GTR 3 goto ato

cscript //nologo ospp.vbs /sethst:%KMS% >nul

:ato

echo =====================================================================================&echo.&echo.&cscript //nologo ospp.vbs /act | find /i "successful" && (echo.&echo =====================================================================================&echo.&echo #My official blog: D4Techs.BlogSpot.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: D4Techs.BlogSpot.com&echo #Your support is helping me keep my servers running 24/7!&echo.&echo =====================================================================================& 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 skms)

explorer "http://D4Techs.BlogSpot.com"&goto halt

:notsupported

echo =====================================================================================&echo.&echo Sorry, your version is not supported.&echo.&goto halt

:busy

echo =====================================================================================&echo.&echo Sorry, the server is busy and can't respond to your request. Please try again.&echo.

:halt

pause >nul

Step2: right click on d4techs.cmd file and click "Run as Administrator". It will show below output & activate MS Office for FREE.


Output:


MS Office Activated for FREE:



Credits: https://msguides.com/office-2019

2 comments:

  1. Using Command Prompt only
    Step 1: Open Command Prompt as Administrator & Type CMDs:

    cd %ProgramFiles%\Microsoft Office\Office16 (per your Office location)

    Step 2: Activate Office based on your Office version:
    For Office 2019:
    cscript /nologo ospp.vbs /sethst:kms8.msguides.com
    cscript /nologo ospp.vbs /act

    For Office 2016:
    cscript ospp.vbs /sethst:kms8.msguides.com
    cscript ospp.vbs /act

    Step 3: Verify Activation

    ReplyDelete
  2. Open CMD As administrator for Office 2016 and run below cmds:

    cd C:\Program Files\Microsoft Office\Office16
    cscript /nologo ospp.vbs /sethst:kms8.msguides.com
    cscript /nologo ospp.vbs /act

    ReplyDelete

Bulk Rename - Replace _ with space using PowerShell

How to Bulk Rename - Replace _ with space using PowerShell? Execute below command in PowerShell to replace it, Make sure you enter correct p...