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 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.
Method 1: Activate using PowerShell script
We can activate the license using a PowerShell script. The benefits of this activation method:
- You do not need to disable the real-time protection in the Windows Security Center because our activation methods do not use any crack tools.
- No need to turn off the Windows Firewall or editing the hosts file.
- 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.
- The KMS license is valid for 180 days. If you are online, it will automatically renew before expiration. Additionally, you can manually renew your Office activation at any time even after it has expired by running the activation command or script again.
1. Right click on the Windows Start icon, select ether Terminal (Admin) or PowerShell (Admin) to open a new PowerShell window in elevated mode.

2. Then run the below command to activate Office 2021 permanently for free without any cracking software or activation tools.
irm office.msgang.com | iex

3. The script will run automatically. If has no issue, you should see the below output in your PowerShell console. Congratulations! The activation was completed successfully.
# Output
PS C:\Users\admin> irm office.msgang.com | iex
=========================================================================
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...
Number of Installed Office apps: VOLUME: 1 - RETAIL: 0
Activating Microsoft Office products...
Number of Activated Products: 1
---Processing--------------------------
---------------------------------------
PRODUCT ID: 00470-90000-00000-AA161
SKU ID: fbdb3e18-a8ef-4fb3-9183-dffd60bd0984
LICENSE NAME: Office 21, Office21ProPlus2021VL_KMS_Client_AE edition
LICENSE DESCRIPTION: Office 21, VOLUME_KMSCLIENT channel
LICENSE STATUS: ---LICENSED---
REMAINING GRACE: 180 days (259200 minute(s) before expiring)
Last 5 characters of installed product key: 6F7TH
Activation Type Configuration: ALL
DNS auto-discovery: KMS name not available
KMS machine registry override defined: kms.msgang.com:1688
Activation Interval: 120 minutes
Renewal Interval: 244800 minutes
KMS host caching: Enabled
---------------------------------------
---------------------------------------
---Exiting-----------------------------
4. Finally, check the activation status of your Office application. Open any Office app → File menu → Account option.

5. Find the activation status under the Product Information section.

Method 2: Activate using Batch script
The second way, we can use a batch script to activate the Microsoft Office 2021 license. This method is no longer recommended due to the recent Microsoft update. However, if you need to use the batch script for automation, you can proceed with the following steps:
1. The first step is downloading the activation batch script to your computer by clicking on the below download button.
2. Right click on the downloaded kms.zip file then select Extract All… from the right-click context menu to extract it to your computer.

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

4. Windows may display a pop-up window “Windows protected your PC.” This will appear if you attempt to run or install an application that Windows does not recognize. To run the script, click on the More info link then clicks Run anyway button.
5. The script will run automatically. If there are no issues, you should see the screenshot below. You can now press any key to close the command prompt window.

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:
Now it works I hope it works for a long time. Thanks
It worked instantly. Thanks.