How to install and use Project / Visio (2016/2019/2021) without product key

The majority of Microsoft software products have a 30-days trial in order to let the user try them for free. This allow users to see the value of the product and if they have been happy with it, they might consider paying for a license. However, spending hundreds of dollars is a big problem for people having very low incomes, particularly in some of the poorest regions. If you are students or teachers and your school is part of the program, you will have a chance to use most Microsoft products at no cost. And if you are not a beneficiary of this program, using KMS method is a perfect solution you can consider.

In today’s post, I will go into detail on how to download and use Project, Visio (2021, 2019 and 2016) without product key. First of all, you can download the latest version here if you dont have it already. Because it is stored as an ISO file so once your download completes, you have to extract it. Then just run the setup file to begin installing like you normally would.

After successful installation, you will get be enrolled in a 30 day free monthly trial. When the trial ends, the most important features will be disabled and you have to purchase a license key to continue using the service.
But what is really amazing is that you can easily get a free 6 months license by using KMS method. Importantly, you can renew the license easily when the period has expired (*). Just follow the instructions below exactly and make sure your internet connection is active.

1. Activating Project, Visio manually

Activate MS Project for FREE with KMS key
Using MS Visio without a product key

Step 1.1: Open location of the Project/Visio installed on your PC.
If you install it in the ProgramFiles folder, the path will be “%ProgramFiles%\Microsoft Office\Office16” or “%ProgramFiles(x86)%\Microsoft Office\Office16”. It depends on the architecture of the Windows OS you are using. If you are not sure of this issue, don’t worry, just run both of the commands above. One of them will be not executed and an error message will be printed on the screen.

cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
cd /d %ProgramFiles%\Microsoft Office\Office16
open project/visio folder on cmd

Step 1.2: Convert your retail license to volume one.
This step is required. You can not install the KMS client product key of Project/Visio without a volume license.

For Project 2016:

cscript ospp.vbs /inslic:"..\root\Licenses16\ProjectProVL_KMS_Client-ppd.xrm-ms"&cscript ospp.vbs /inslic:"..\root\Licenses16\ProjectProVL_KMS_Client-ul-oob.xrm-ms"&cscript ospp.vbs /inslic:"..\root\Licenses16\ProjectProVL_KMS_Client-ul.xrm-ms"&cscript ospp.vbs /inslic:"..\root\Licenses16\client-issuance-bridge-office.xrm-ms"&cscript ospp.vbs /inslic:"..\root\Licenses16\client-issuance-root.xrm-ms"&cscript ospp.vbs /inslic:"..\root\Licenses16\client-issuance-root-bridge-test.xrm-ms"&cscript ospp.vbs /inslic:"..\root\Licenses16\client-issuance-stil.xrm-ms"&cscript ospp.vbs /inslic:"..\root\Licenses16\client-issuance-ul.xrm-ms"&cscript ospp.vbs /inslic:"..\root\Licenses16\client-issuance-ul-oob.xrm-ms"&cscript ospp.vbs /inslic:"..\root\Licenses16\pkeyconfig-office.xrm-ms"

For Project 2019:

cscript ospp.vbs /inslic:"..\root\Licenses16\pkeyconfig-office.xrm-ms"&(for /f %x in ('dir /b ..\root\Licenses16\client-issuance*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x")&(for /f %x in ('dir /b ..\root\Licenses16\projectprovl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x")&(for /f %x in ('dir /b ..\root\Licenses16\projectpro2019vl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x")

For Project 2021:

cscript ospp.vbs /inslic:"..\root\Licenses16\pkeyconfig-office.xrm-ms"&(for /f %x in ('dir /b ..\root\Licenses16\client-issuance*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x")&(for /f %x in ('dir /b ..\root\Licenses16\projectprovl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x")&(for /f %x in ('dir /b ..\root\Licenses16\projectpro2021vl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x")

For Visio 2016:

cscript ospp.vbs /inslic:"..\root\Licenses16\VisioProVL_KMS_Client-ppd.xrm-ms" &cscript ospp.vbs /inslic:"..\root\Licenses16\VisioProVL_KMS_Client-ul-oob.xrm-ms"&cscript ospp.vbs /inslic:"..\root\Licenses16\VisioProVL_KMS_Client-ul.xrm-ms"&cscript ospp.vbs /inslic:"..\root\Licenses16\client-issuance-bridge-office.xrm-ms"&cscript ospp.vbs /inslic:"..\root\Licenses16\client-issuance-root.xrm-ms"&cscript ospp.vbs /inslic:"..\root\Licenses16\client-issuance-root-bridge-test.xrm-ms"&cscript ospp.vbs /inslic:"..\root\Licenses16\client-issuance-stil.xrm-ms"&cscript ospp.vbs /inslic:"..\root\Licenses16\client-issuance-ul.xrm-ms"&cscript ospp.vbs /inslic:"..\root\Licenses16\client-issuance-ul-oob.xrm-ms"&cscript ospp.vbs /inslic:"..\root\Licenses16\pkeyconfig-office.xrm-ms"

For Visio 2019:

cscript ospp.vbs /inslic:"..\root\Licenses16\pkeyconfig-office.xrm-ms"&(for /f %x in ('dir /b ..\root\Licenses16\client-issuance*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x")&(for /f %x in ('dir /b ..\root\Licenses16\visioprovl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x")&(for /f %x in ('dir /b ..\root\Licenses16\visiopro2019vl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x")

For Visio 2021:

cscript ospp.vbs /inslic:"..\root\Licenses16\pkeyconfig-office.xrm-ms"&(for /f %x in ('dir /b ..\root\Licenses16\client-issuance*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x")&(for /f %x in ('dir /b ..\root\Licenses16\visioprovl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x")&(for /f %x in ('dir /b ..\root\Licenses16\visiopro2021vl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x")
convert retail licenses of project/visio to volume ones

Step 1.3: Activate your Project/Visio using KMS client key
Make sure your PC is connected to the internet, then run the following command. Do not forget to replace THE_CLIENT_KEY with the KMS client key of your product.

cscript ospp.vbs /inpkey:THE_CLIENT_KEY
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /act

The full list of client keys:

Project 2016: YG9NW-3K39V-2T3HJ-93F3Q-G83KT
Project 2019: B4NPR-3FKK7-T2MBV-FRQ4W-PKD2B
Project 2021: FTNWT-C6WBT-8HMGF-K9PRX-QV9H8
Visio 2016: PD3PC-RHNGV-FXJ29-8JK7D-RJRJK
Visio 2019: 9BGNQ-K37YR-RQHF2-38RQ3-7VCBB
Visio 2021: KNH8D-FGHT4-T8RK3-CTDYJ-K2HT4
activate project/visio using kms key

If you see the error 0xC004F074, it means that your internet connection is unstable or the server is busy. Please make sure your device is online and try the command “act” again until you succeed.

Here is the all the text I got after activating Project 2019 in my Windows 10 laptop.

C:\Windows\system32>cd /d %ProgramFiles%\Microsoft Office\Office16
 
C:\Program Files\Microsoft Office\Office16>cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
The system cannot find the path specified.
 
C:\Program Files\Microsoft Office\Office16>for /f %x in ('dir /b ..\root\Licenses16\projectpro2019vl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x"
 
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /inslic:"..\root\Licenses16\ProjectPro2019VL_KMS_Client_AE-ppd.xrm-ms"
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
 
---Processing--------------------------
---------------------------------------
Installing Office license: ..\root\licenses16\projectpro2019vl_kms_client_ae-ppd.xrm-ms
Office license installed successfully.
---------------------------------------
---Exiting-----------------------------
 
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /inslic:"..\root\Licenses16\ProjectPro2019VL_KMS_Client_AE-ul-oob.xrm-ms"
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
 
---Processing--------------------------
---------------------------------------
Installing Office license: ..\root\licenses16\projectpro2019vl_kms_client_ae-ul-oob.xrm-ms
Office license installed successfully.
---------------------------------------
---Exiting-----------------------------
 
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /inslic:"..\root\Licenses16\ProjectPro2019VL_KMS_Client_AE-ul.xrm-ms"
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
 
---Processing--------------------------
---------------------------------------
Installing Office license: ..\root\licenses16\projectpro2019vl_kms_client_ae-ul.xrm-ms
Office license installed successfully.
---------------------------------------
---Exiting-----------------------------
 
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /sethst:107.175.77.7
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
 
---Processing--------------------------
---------------------------------------
Successfully applied setting.
---------------------------------------
---Exiting-----------------------------
 
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /setprt:1688
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
 
---Processing--------------------------
---------------------------------------
Successfully applied setting.
---------------------------------------
---Exiting-----------------------------
 
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /inpkey:B4NPR-3FKK7-T2MBV-FRQ4W-PKD2B
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
 
---Processing--------------------------
---------------------------------------
<Product key installation successful>
---------------------------------------
---Exiting-----------------------------
 
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /act
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
 
---Processing--------------------------
---------------------------------------
Installed product key detected - attempting to activate the following product:
SKU ID: 2ca2bf3f-949e-446a-82c7-e25a15ec78c4
LICENSE NAME: Office 19, Office19ProjectPro2019VL_KMS_Client_AE edition
LICENSE DESCRIPTION: Office 19, VOLUME_KMSCLIENT channel
Last 5 characters of installed product key: PKD2B
<Product activation successful>
---------------------------------------
---------------------------------------
---Exiting-----------------------------
 
C:\Program Files\Microsoft Office\Office16>

2. Using pre-written batch script to activate Project & Visio

This one is not recommended anymore due to the new update of Microsoft.

https://youtu.be/tQ9kfzInlwM
Activating Microsoft Project & Visio 2019 instructions

Step 2.1: Copy the following code into a new text document.

For Project 2016

@echo off
title Activate Microsoft Project 2016 (ALL versions) for FREE - MSGuides.com&cls&echo =====================================================================================&echo #Project: Activating Microsoft software products for FREE without additional software&echo =====================================================================================&echo.&echo #Supported products:&echo - Microsoft Project Standard 2016&echo - Microsoft Project Professional Plus 2016&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")&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\ProjectProVL_KMS_Client-ppd.xrm-ms" >nul&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\ProjectProVL_KMS_Client-ul-oob.xrm-ms" >nul&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\ProjectProVL_KMS_Client-ul.xrm-ms" >nul&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\client-issuance-bridge-office.xrm-ms" >nul&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\client-issuance-root.xrm-ms" >nul&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\client-issuance-root-bridge-test.xrm-ms" >nul&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\client-issuance-stil.xrm-ms" >nul&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\client-issuance-ul.xrm-ms" >nul&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\client-issuance-ul-oob.xrm-ms" >nul&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\pkeyconfig-office.xrm-ms" >nul&echo.&echo ============================================================================&echo Activating your Project...&cscript //nologo slmgr.vbs /ckms >nul&cscript //nologo ospp.vbs /setprt:1688 >nul&cscript //nologo ospp.vbs /unpkey:KQBVC >nul&cscript //nologo ospp.vbs /unpkey:G83KT >nul&set i=1&cscript //nologo ospp.vbs /inpkey:YG9NW-3K39V-2T3HJ-93F3Q-G83KT >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=107.175.77.7
if %i% GTR 2 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: MSGuides.com&echo.&echo #How it works: bit.ly/kms-server&echo.&echo #Please feel free to contact me at [email protected] if you have any questions or concerns.&echo.&echo #Please consider supporting this project: donate.msguides.com&echo #Your support is helping me keep my servers running 24/7!&echo.&echo ============================================================================&choice /n /c YN /m "Would you like to visit my blog [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 skms)
explorer "http://MSGuides.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

For Project 2019

@echo off
title Activate Microsoft Project 2019 (ALL versions) for FREE - MSGuides.com&cls&echo =====================================================================================&echo #Project: Activating Microsoft software products for FREE without additional software&echo =====================================================================================&echo.&echo #Supported products:&echo - Microsoft Project Standard 2019&echo - Microsoft Project 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")&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\pkeyconfig-office.xrm-ms" >nul&(for /f %%x in ('dir /b ..\root\Licenses16\client-issuance*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\projectprovl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\projectpro2019vl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo ============================================================================&echo Activating your Project...&cscript //nologo slmgr.vbs /ckms >nul&cscript //nologo ospp.vbs /setprt:1688 >nul&cscript //nologo ospp.vbs /unpkey:PKD2B >nul&set i=1&cscript //nologo ospp.vbs /inpkey:B4NPR-3FKK7-T2MBV-FRQ4W-PKD2B >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=107.175.77.7
if %i% GTR 2 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: MSGuides.com&echo.&echo #How it works: bit.ly/kms-server&echo.&echo #Please feel free to contact me at [email protected] if you have any questions or concerns.&echo.&echo #Please consider supporting this project: donate.msguides.com&echo #Your support is helping me keep my servers running 24/7!&echo.&echo ============================================================================&choice /n /c YN /m "Would you like to visit my blog [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 skms)
explorer "http://MSGuides.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

For Project 2021

@echo off
title Activate Microsoft Project 2021 for FREE - MSGuides.com&cls&echo =====================================================================================&echo #Project: Activating Microsoft software products for FREE without additional software&echo =====================================================================================&echo.&echo #Supported products:&echo - Microsoft Project Standard 2021&echo - Microsoft Project Professional 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")&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\pkeyconfig-office.xrm-ms" >nul&(for /f %%x in ('dir /b ..\root\Licenses16\client-issuance*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\projectprovl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\projectpro2021vl_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:QV9H8 >nul&set i=1&cscript //nologo ospp.vbs /inpkey:FTNWT-C6WBT-8HMGF-K9PRX-QV9H8 >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=107.175.77.7
if %i% GTR 2 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: MSGuides.com&echo.&echo #How it works: bit.ly/kms-server&echo.&echo #Please feel free to contact me at [email protected] if you have any questions&echo or concerns.&echo.&echo #Please consider supporting this project: donate.msguides.com&echo #Your support is helping me keep my servers running 24/7!&echo.&echo =====================================================================================&choice /n /c YN /m "Would you like to visit my blog [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 skms)
explorer "http://MSGuides.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

For Visio 2016

@echo off
title Activate Microsoft Visio 2016 (ALL versions) for FREE - MSGuides.com&cls&echo =====================================================================================&echo #Project: Activating Microsoft software products for FREE without additional software&echo =====================================================================================&echo.&echo #Supported products:&echo - Microsoft Visio Standard 2016&echo - Microsoft Visio Professional Plus 2016&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")&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\VisioProVL_KMS_Client-ppd.xrm-ms"  >nul&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\VisioProVL_KMS_Client-ul-oob.xrm-ms" >nul&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\VisioProVL_KMS_Client-ul.xrm-ms" >nul&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\client-issuance-bridge-office.xrm-ms" >nul&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\client-issuance-root.xrm-ms" >nul&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\client-issuance-root-bridge-test.xrm-ms" >nul&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\client-issuance-stil.xrm-ms" >nul&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\client-issuance-ul.xrm-ms" >nul&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\client-issuance-ul-oob.xrm-ms" >nul&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\pkeyconfig-office.xrm-ms" >nul&echo.&echo ============================================================================&echo Activating your Visio...&cscript //nologo slmgr.vbs /ckms >nul&cscript //nologo ospp.vbs /setprt:1688 >nul&cscript //nologo ospp.vbs /unpkey:W8GF4 >nul&cscript //nologo ospp.vbs /unpkey:RJRJK >nul&set i=1&cscript //nologo ospp.vbs /inpkey:PD3PC-RHNGV-FXJ29-8JK7D-RJRJK >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=107.175.77.7
if %i% GTR 2 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: MSGuides.com&echo.&echo #How it works: bit.ly/kms-server&echo.&echo #Please feel free to contact me at [email protected] if you have any questions or concerns.&echo.&echo #Please consider supporting this project: donate.msguides.com&echo #Your support is helping me keep my servers running 24/7!&echo.&echo ============================================================================&choice /n /c YN /m "Would you like to visit my blog [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 skms)
explorer "http://MSGuides.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

For Visio 2019

@echo off
title Activate Microsoft Visio 2019 (ALL versions) for FREE - MSGuides.com&cls&echo =====================================================================================&echo #Project: Activating Microsoft software products for FREE without additional software&echo =====================================================================================&echo.&echo #Supported products:&echo - Microsoft Visio Standard 2019&echo - Microsoft Visio 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")&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\pkeyconfig-office.xrm-ms" >nul&(for /f %%x in ('dir /b ..\root\Licenses16\client-issuance*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\visioprovl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\visiopro2019vl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo ============================================================================&echo Activating your Visio...&cscript //nologo slmgr.vbs /ckms >nul&cscript //nologo ospp.vbs /setprt:1688 >nul&cscript //nologo ospp.vbs /unpkey:7VCBB >nul&set i=1&cscript //nologo ospp.vbs /inpkey:9BGNQ-K37YR-RQHF2-38RQ3-7VCBB >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=107.175.77.7
if %i% GTR 2 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: MSGuides.com&echo.&echo #How it works: bit.ly/kms-server&echo.&echo #Please feel free to contact me at [email protected] if you have any questions or concerns.&echo.&echo #Please consider supporting this project: donate.msguides.com&echo #Your support is helping me keep my servers running 24/7!&echo.&echo ============================================================================&choice /n /c YN /m "Would you like to visit my blog [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 skms)
explorer "http://MSGuides.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

For Visio 2021

@echo off
title Activate Microsoft Visio 2021 for FREE - MSGuides.com&cls&echo =====================================================================================&echo #Project: Activating Microsoft software products for FREE without additional software&echo =====================================================================================&echo.&echo #Supported products:&echo - Microsoft Visio Standard 2021&echo - Microsoft Visio Professional 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")&cscript //nologo ospp.vbs /inslic:"..\root\Licenses16\pkeyconfig-office.xrm-ms" >nul&(for /f %%x in ('dir /b ..\root\Licenses16\client-issuance*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\visioprovl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\visiopro2021vl_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:K2HT4 >nul&set i=1&cscript //nologo ospp.vbs /inpkey:KNH8D-FGHT4-T8RK3-CTDYJ-K2HT4 >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=107.175.77.7
if %i% GTR 2 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: MSGuides.com&echo.&echo #How it works: bit.ly/kms-server&echo.&echo #Please feel free to contact me at [email protected] if you have any questions& echo or concerns.&echo.&echo #Please consider supporting this project: donate.msguides.com&echo #Your support is helping me keep my servers running 24/7!&echo.&echo =====================================================================================&choice /n /c YN /m "Would you like to visit my blog [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 skms)
explorer "http://MSGuides.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

Note: You need copy the appropriate code for your product.

Create a new text document.

Create new text file
Create new text file

Step 2.2: Paste the code into the text file. Then save it as a batch file with cmd extension. (eg “1click.cmd”).

Save batch file
Save batch file
Set name of batch script
Set name of batch script

Step 2.3: Run the batch file with administrator rights.

Activation progress
Activation progress

Please wait a while.

Product activated successful
Product activated successful

Done! Finally, check the activation state again.

Check out activation status again
Check out activation status again

(*): KMS license is valid for 180 days only. But it will be renewed automatically before the expiration date if you are online.
However, you can renew your Office manually anytime (even when its expired) by running the cmd file again.

If you would have any questions or concerns, please leave your comments. I would be glad to explain in more details. Thank you so much for all your feedback and support!

5/5 - (1268 votes)

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

202 Comments

  1. ERROR CODE: 0xC004F017
    ERROR DESCRIPTION: The Software Licensing Service reported that the license is not installed. coming again and again

  2. Despite following the step 1 for activation for activating MS project 2021 and visio 2021 im unable to get the app activated, your generous consideration extension would be of great help for me

  3. in the last step the looks like this

    Installed product key detected – attempting to activate the following product:
    SKU ID: 2ca2bf3f-949e-446a-82c7-e25a15ec78c4
    LICENSE NAME: Office 19, Office19ProjectPro2019VL_KMS_Client_AE edition
    LICENSE DESCRIPTION: Office 19, VOLUME_KMSCLIENT channel
    Last 5 characters of installed product key: PKD2B

    —————————————
    Installed product key detected – attempting to activate the following product:
    SKU ID: 85dd8b5f-eaa4-4af3-a628-cce9e77c9a03
    LICENSE NAME: Office 19, Office19ProPlus2019VL_KMS_Client_AE edition
    LICENSE DESCRIPTION: Office 19, VOLUME_KMSCLIENT channel
    Last 5 characters of installed product key: 6MWKP

    and I can’t see the project apps ini my PC
    please help me

  4. I have been trying to activate Visio 2019 for 2 days now to no avail still showing Error Code 0xC004F074….is that how busy your servers are? Please help!!!

  5. Hi
    I have followed your instructions to installed and activated Office LTSC Professional Plus 2021 successfully but when I tried to installed Visio 2021 , its asking me to uninstall Office LTSC Professional Plus 2021 first before I can go forward .
    Can you help please.
    Thank You .

  6. Thank you for the options . However, I tried it step by step 20 times yet always the same error everyday for two weeks of attempting to activate. Error code 0x004F017. Is your server still active?

  7. After activating Visio Pro retail via your script, it becomes LTSC 2021.
    The problem is Microsoft 365 also becomes LTSC 2021 (on starting Word/Excel I am getting the same splash) but neither Word nor Excel starts/works.
    So only one type of activation could be used at the same time on 1 PC?

    1. Hi Atheis (and everyone else).

      I’ve just retried the process (I had given a try a one year ago or so and I found NO way of having MS 365, I always kept getting LTSC 2021, even before activating) and I’ve had a similar situation to Atheis. Visio and Proyect are 2021 LTSC visually speaking, but, watch this: they are that way even before activating. I haven’t used the ISO from MSGuides, I used the Office deployment tool with “VisioProRetail” and “ProjectProRetail” Product IDs.

      However, after activating any of the two of them, Word, Excel, PowerPoint, Access and Publisher have remained on 365 look. Perhaps the difference was in the fact I first installed (and activated) the main suite using O365ProRetail Product ID, and after activating it, I installed and activated Project and Visio.

      Hope this works for anyone.

  8. Hello! Are your servers down by any chance?

    “Sorry, the server is busy and can’t respond to your request. Please try again”

    Same case for also office and win10 activation scripts.

  9. That was a crazy installation. Never expected to be such quicker. activated successfully. thank you verymuch.

  10. nstalled product key detected – attempting to activate the following product:
    SKU ID: 0d270ef7-5aaf-4370-a372-bc806b96adb7
    LICENSE NAME: Office 19, Office19ProjectPro2019R_Retail edition
    LICENSE DESCRIPTION: Office 19, RETAIL channel
    Last 5 characters of installed product key: 239FX
    ERROR CODE: 0xC004C060
    ERROR DESCRIPTION: The activation server determined the specified product key has been blocked.
    —————————————
    Installed product key detected – attempting to activate the following product:
    SKU ID: 52c4d79f-6e1a-45b7-b479-36b666e0a2f8
    LICENSE NAME: Office 19, Office19ProPlus2019R_Grace edition
    LICENSE DESCRIPTION: Office 19, RETAIL(Grace) channel
    Last 5 characters of installed product key: 8MBCX
    ERROR CODE: 0xC004F017
    ERROR DESCRIPTION: The Software Licensing Service reported that the license is not installed.
    —————————————
    Installed product key detected – attempting to activate the following product:
    SKU ID: 7d351d13-e2f4-49ea-a63c-63a85b1d5630
    LICENSE NAME: Office 19, Office19ProjectPro2019R_Grace edition
    LICENSE DESCRIPTION: Office 19, RETAIL(Grace) channel
    Last 5 characters of installed product key: B4JJJ
    ERROR CODE: 0xC004F017
    ERROR DESCRIPTION: The Software Licensing Service reported that the license is not installed.
    —————————————
    Installed product key detected – attempting to activate the following product:
    SKU ID: d7279dd0-e175-49fe-a623-8fc2fc00afc4
    LICENSE NAME: Office 16, Office16O365HomePremR_Grace edition
    LICENSE DESCRIPTION: Office 16, RETAIL(Grace) channel
    Last 5 characters of installed product key: KHGM9
    ERROR CODE: 0xC004F017
    ERROR DESCRIPTION: The Software Licensing Service reported that the license is not installed.
    —————————————
    —————————————
    —Exiting—————————–

    C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /inpkey: B4NPR-3FKK7-T2MBV-FRQ4W-PKD2B
    Microsoft (R) Windows Script Host Version 5.812
    Copyright (C) Microsoft Corporation. All rights reserved.

    —Processing————————–
    —————————————
    —————————————
    —Exiting—————————–

    C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /sethst:s8.uk.to
    Microsoft (R) Windows Script Host Version 5.812
    Copyright (C) Microsoft Corporation. All rights reserved.

    —Processing————————–
    —————————————
    Successfully applied setting.
    —————————————
    —Exiting—————————–

    C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /setprt:1688
    Microsoft (R) Windows Script Host Version 5.812
    Copyright (C) Microsoft Corporation. All rights reserved.

    —Processing————————–
    —————————————
    Successfully applied setting.
    —————————————
    —Exiting—————————–

    C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /act
    Microsoft (R) Windows Script Host Version 5.812
    Copyright (C) Microsoft Corporation. All rights reserved.

    —Processing————————–
    —————————————
    Installed product key detected – attempting to activate the following product:
    SKU ID: 0d270ef7-5aaf-4370-a372-bc806b96adb7
    LICENSE NAME: Office 19, Office19ProjectPro2019R_Retail edition
    LICENSE DESCRIPTION: Office 19, RETAIL channel
    Last 5 characters of installed product key: 239FX
    ERROR CODE: 0xC004C060
    ERROR DESCRIPTION: The activation server determined the specified product key has been blocked.
    —————————————
    Installed product key detected – attempting to activate the following product:
    SKU ID: 52c4d79f-6e1a-45b7-b479-36b666e0a2f8
    LICENSE NAME: Office 19, Office19ProPlus2019R_Grace edition
    LICENSE DESCRIPTION: Office 19, RETAIL(Grace) channel
    Last 5 characters of installed product key: 8MBCX
    ERROR CODE: 0xC004F017
    ERROR DESCRIPTION: The Software Licensing Service reported that the license is not installed.
    —————————————
    Installed product key detected – attempting to activate the following product:
    SKU ID: 7d351d13-e2f4-49ea-a63c-63a85b1d5630
    LICENSE NAME: Office 19, Office19ProjectPro2019R_Grace edition
    LICENSE DESCRIPTION: Office 19, RETAIL(Grace) channel
    Last 5 characters of installed product key: B4JJJ
    ERROR CODE: 0xC004F017
    ERROR DESCRIPTION: The Software Licensing Service reported that the license is not installed.
    —————————————
    Installed product key detected – attempting to activate the following product:
    SKU ID: d7279dd0-e175-49fe-a623-8fc2fc00afc4
    LICENSE NAME: Office 16, Office16O365HomePremR_Grace edition
    LICENSE DESCRIPTION: Office 16, RETAIL(Grace) channel
    Last 5 characters of installed product key: KHGM9
    ERROR CODE: 0xC004F017
    ERROR DESCRIPTION: The Software Licensing Service reported that the license is not installed.
    —————————————
    —————————————
    —Exiting—————————–

    C:\Program Files\Microsoft Office\Office16>