Table of Contents
Before you begin
- Microsoft Office 2019/2021 is compatible only with Windows 10 or later. Therefore, if you are using Windows 7 or 8, you will not be able to install it. In this case, Office 2016 remains a viable option for you.
- You can install either the 32-bit or 64-bit version the Microsoft Office apps. Using the 64-bit version of the app is recommended.
- To ensure that Microsoft Office functions properly, it is recommended to completely uninstall any versions of Office before beginning the new installation.
Download and install Microsoft Office 2019
Microsoft provides a tool called the Office Deployment Tool to download and install Microsoft Office applications. However, this tool may be challenging for standard users to use. You can obtain more details about the tool from Microsoft Learn.
I have created a PowerShell script to automatically download and install all versions of Microsoft Office. The benefits of using this method are:
- Can be used to download Office 2013/2016/2019/2021 and Office 365 apps.
- Supports download and install both Office 32 and 64 bit.
- Supports multiple languages when installing Microsoft Office.
- Supports remove or uninstall all installed Office apps to do a clean install.
- The source for installation is getting from Microsoft’s servers with high speed and secure.
To download and install Microsoft Office 2019, you can follow the below steps:
1. Right-click on the Windows start icon then select Windows PowerShell (Admin) or Terminal (Admin) in Windows 11 to open an elevated PowerShell window.

2. Copy then run the below command to download and install Microsoft Office 2019 apps.
irm install.msgang.com | iex

3. When a new window opens, select the application and version you want to install, then click the Submit button. In this post, we’ll install Microsoft Office 2019 Professional (64-bit) with English as the display language.

4. The installation starts automatically after a few seconds. The install process could take a several minutes to download and install depending on your internet speed.

5. Finally, close the PowerShell window then open any Office app such as Microsoft Word to verify the Microsoft Office 2019 has been installed successfully.

6. As indicated in the screenshot below, I have successfully installed Microsoft Office Professional Plus 2019 on my PC. The trial license will expire in 7 days, so it is necessary to activate it as soon as possible.

In the next section, we’ll show you how to activate your Microsoft Office 2019 license without using any additional software or crack activation tools.
::Output
C:\Program Files\Microsoft Office\Office16>cscript //nologo ospp.vbs /act
---Processing--------------------------
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
<Product activation successful>
---Exiting-----------------------------
4️⃣ Finally, check the activation status of your Office again. Open any Office app | File menu | Account option | Find the status under Product Information section.

Method 2: Using PowerShell
The second way, we can use the Windows PowerShell to activate the Microsoft Office 2021 license. The steps are similar with using cmd method, but the commands would be changed a little bit.
1️⃣ Right-click on the Windows start icon then select Windows PowerShell (Admin) or Terminal (Admin) in Windows 11 to open an elevated PowerShell window.

2️⃣ Copy, right click to paste all below commands into PowerShell window at once then hit Enter.
#Office installation location detection
$path64 = "C:\Program Files\Microsoft Office\Office1*"
$path32 = "C:\Program Files (x86)\Microsoft Office\Office1*"
if ((Test-Path -Path "$path32\ospp.vbs")) {
Set-Location $path32 -ErrorAction SilentlyContinue
}
if ((Test-Path -Path "$path64\ospp.vbs")) {
Set-Location $path64 -ErrorAction SilentlyContinue
}
#Active the license (Office 2019 Standard or Professional Plus)
cscript //nologo ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP
cscript //nologo ospp.vbs /inpkey:6NWWJ-YQWMR-QKGCB-6TMB3-9D9HK
cscript //nologo ospp.vbs /sethst:kms.msgang.com
cscript //nologo ospp.vbs /act
#Output
...
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
<Product activation successful>
Method 3: Using PowerShell script
The third way, we can active Office license using a PowerShell script. The script details can be found at my GitHub repository. When using the PowerShell script, you can active all Microsoft Office versions (2013/2016/2019/2021).
The benefits of this method are:
- When activating with the PowerShell script, you don’t have type the activation commands manually on each client computers.
- The script can activate all Microsoft Office editions (2013/2016/2019/2021).
- The script can be used to activate either Office 64-bit or Office 32-bit.
- You don’t need to know which Microsoft Office edition you’ve installed (Pro or Standard). Script detects your Office edition automatically then activates it.
- The script will convert Office Retail to Volume then activate it automatically.
All you need to do is right click on the Windows Start icon 🪟, select ether Terminal (Admin) or PowerShell (Admin) to open a new PowerShell window in elevated mode.

Then run the below single line command to activate Office 2019 permanently for free without any 3rd software or activation tools.
irm office.msgang.com | iex
#Output
=========================================================================
Name: Microsoft Office Activator by Leo.
Description: Activate all Offices Editions for free without any software.
Website: https://msgang.com
Script by: Leo Nguyen
=========================================================================
Checking installed Office editions...
Installed Office: Office19ProPlus2019VL_KMS_Client_AE
Activating Office19ProPlus2019VL_KMS_Client_AE, please be patient.
---Processing--------------------------
---------------------------------------
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
<Product activation successful>
---------------------------------------
---------------------------------------
---Exiting-----------------------------
Method 4: Using batch script
This one is not recommended anymore due to the new update of Microsoft. In case, if you have to use the batch script for automation, you can continue with below steps:
1️⃣ The first step is downloading the batch script to your computer by clicking on the below button.
2️⃣ Right click on the downloaded kms.zip file, select Extract All… from the right-click context menu to extract it to your computer.

3️⃣ Navigate to the extracted folder. Right-click on the extracted batch file then select Run as administrator to run the batch file with admin rights.

Windows may give you a pop-up window saying Windows protected your PC. You will receive the popup if you attempt to run or install an application that Windows doesn’t recognize. To run the script, click on the More info link then click Run anyway button.
The script will run automatically. If has no issue, you should see the below screenshot. You can now press any key to close the command prompt window.

If you would have any questions or concerns, please leave your comments or visit my Discord server. I would be glad to explain in more details. Thank you so much for all your feedback and support!
Conclusion
Hello Friends! My name is Leo, and I’m here to share all my knowledge about activating Microsoft software products. In the past, I ran several YouTube channels on this topic, though many were removed due to issues related to software piracy. That’s why I started this blog to keep the conversation going without interruption. I plan to continue sharing my insights for as long as I can.
If you would have any questions or concerns, please leave your comments or visit my Discord server. I would be glad to explain in more details. Thank you so much for all your feedback and support!
Want to activate others Microsoft products for free? You can follow the below posts:
Download and install Microsoft Office 2021
Microsoft provides a tool called the Office Deployment Tool to download and install Microsoft Office applications. However, this tool may be challenging for standard users to use. You can obtain more details about the tool from Microsoft Learn.
I have created a PowerShell script to automatically download and install all versions of Microsoft Office. The benefits of using this method are:
- Can be used to download Office 2013/2016/2019/2021 and Office 365 apps.
- Supports download and install both Office 32 and 64 bit.
- Supports multiple languages when installing Microsoft Office.
- Supports remove or uninstall all installed Office apps to do a clean install.
- The source for installation is getting from Microsoft’s servers with high speed and secure.
To download and install Microsoft Office 2021, you can follow the below steps:
1. Right-click on the Windows start icon then select Windows PowerShell (Admin) or Terminal (Admin) in Windows 11 to open an elevated PowerShell window.

2. Copy then run the below command to download Microsoft Office apps.
irm install.msgang.com | iex

3. When a new window opens, select the application and version you want to install, then click the Submit button. In this post, we’ll install Microsoft Office 2021 Professional (64-bit) with English as the display language.

4. The installation starts automatically after a few seconds. The install process could take a several minutes to download and install depending on your internet speed.

5. Finally, close the PowerShell window then open any Office app such as Microsoft Word to verify the Microsoft Office 2021 has been installed successfully.

6. As indicated in the screenshot below, I have successfully installed Microsoft Office LTSC Professional Plus 2021 on my PC. The trial license will expire in 7 days, so it is necessary to activate it as soon as possible.

In the next section, we’ll show you how to activate your Microsoft Office 2021 license without using any additional software or crack activation tools.