Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

Download and Install Office 2021 using Office Deployment Tool

March 23, 2023
in Blog, Microsoft Office
3
ADVERTISEMENT

Table of Contents

What Is Office Deployment Tool

Office Deployment Tool is short for Office ODT which is a command-line tool used to download and deploy Microsoft 365, Office 2021, Office 2019 apps on Windows PCs. That is to say, you can download and configure Click-to-Run versions of Office utilities like Microsoft 365 apps for enterprise.

To be specific, the ODT tool gives you more control over an Office configuration file. You can configure which product, language, display, and property elements are installed, how to update them, whether or not to display the install experience to your users, etc.

To know more details about configuration options for Office Deployment Tool, you can read Microsoft document.

Microsoft Office Deployment Tool package comes with two kinds of file:

  • setup.exe: The main application of the Office Deployment Tool.
  • configuration-*.xml: Some XML configuration files. Here are some pre-built XML configuration files from Microsoft. You can use it to download and install Office 365, Office 2019 Enterprise and Office 2021 Enterprise.
Bg2136

Download Office Deployment Tool

1. Open this link download the Office Deployment Tool from Microsoft Download Center.

Bg2137
2. Open downloaded file, in the Microsoft Office Click-to-Run Administrator window, select the checkbox for the Microsoft License Terms and click on .
Bg2138

3. In the pop-up window, select a location to save the extracted Microsoft Office Deployment Tool package and click on .

Bg2139

After that, you can install Office 2021 apps with the Office Deployment Tool. If you don’t know how to do that, keep reading the following part.

Bg2136
ADVERTISEMENT

How to Install Office 2021 with Office Deployment Tool

Let’s take a look the example file configuration-Office2021Enterprise.xml in the extracted folder.

In this example, the configuration file downloads the installation files for a 64-bit English edition of Microsoft Office 2021 Professional Plus and the volume license version of the Visio 2021 Pro and Project 2021 Pro.

<Configuration>

  <Add OfficeClientEdition="64" Channel="PerpetualVL2021">
    <Product ID="ProPlus2021Volume">
      <Language ID="en-us" />
      <ExcludeApp ID="Lync" />
    </Product>
    <Product ID="VisioPro2021Volume">
      <Language ID="en-us" />
    </Product>
    <Product ID="ProjectPro2021Volume">
      <Language ID="en-us" />
    </Product>
  </Add>

  <Remove All="True" />

  <!--  <RemoveMSI All="True" /> -->
  <!--  <Display Level="None" AcceptEULA="TRUE" />  -->
  <!--  <Property Name="AUTOACTIVATE" Value="1" />  -->

</Configuration>

Create a configuration file

In this post, we’ll download the Microsoft Office 2021 Professional Plus. We don’t reuse the pre-built xml configuration files. We’ll create a configuration file from the beginning. To do it:

1. Delete all sample xml configuration file in the extracted folder. Now, you have only single setup.exe file in this location.

Bg2140

2. In the extracted folder, right click on the blank then create a new text document.

Bg2141

3. Open the newly created text document then enter the following code. In this code:

  • OfficeClientEdition=”64″: Downloads and installs the 64-bit edition of Office, change 64 to 32 to download 32-bit edition of Office.
  • Product ID=”ProPlus2021Volume”: Downloads and installs Microsoft Office 2021 Professional Plus. You can change this value to download another product. Read more List of Product IDs which are supported by the Office Deployment Tool.
  • Language ID=”en-us”: Downloads and installs English version of Office. Read more: List of Language ID for Office Deployment Tool.
Note Note: Change the Product ID to to download and install Microsoft Office Standard 2021.
<Configuration>

  <Add OfficeClientEdition="64">
    <Product ID="ProPlus2021Volume">
      <Language ID="en-us" />
    </Product>
  </Add>

</Configuration>
Bg2154
4. Next, you need to save the text file as xml file. To do it, let’s navigate to the menu then select option.
Bg2144

5. In the Save As window, by default the file extension is Text Documents (*.txt). You need change the Save as type to All Files option.

In the File name field, enter the name exactly configuration.xml.

Bg2145

Now, we’ve two files in the extracted folder setup.exe and configuration.xml.

Bg2146

Run Office Deployment Tool in configure mode (Install)

1. On the folder path containing the setup.exe file. Click on the address bar in the File Explorer and type then press . The purpose of this is to help you launch the Command Prompt in the correct path. As the image below:

Bg2147

2. Run the following command to download and install Microsoft Office using Office Deployment Tool.

setup.exe /configure configuration.xml

3. When the command runs successfully, you will see a pop-up window showing Office is being installed. Wait for the Office installation to complete.

Bg2148

4. Once done, reopen any Office app such as Word to verify it works.

Bg2149
ADVERTISEMENT

Run Office Deployment Tool in download mode (Download)

In some cases, you want to download Microsoft Office apps to install on multiple computers without the internet connection.

To achieve this goal, you need to run the Office Deployment Tool in the download mode. In the command prompt window, let’s change parameter to parameter.
setup.exe /download configuration.xml

3. It will look as if nothing is happening, but your product will be downloading in the background.

Bg2150

4. And the Office Deployment Tool will create a folder named Office in the same folder that contact the setup.exe file.

Bg2151

4. How do we know the download process is completed ?

The download will be a large file and might take a while to finish. Once the download is completed, you will be returned to the Command Prompt.

Bg2152
Finally, when the download has finished, you’re ready to install the product without the internet connection. Type into the Command Prompt.

Alternatively, you can create a batch file to install Microsoft Office click to run without typing any commands.

Download and install multiple Microsoft products at once

In some cases, you want to install multiple Microsoft products at once such as Office 2021, Visio 2021 and Project 2021.

To achieve that goal, let’s add the additional products inside the <Add>…</Add> block of your xml configuration file.

<Configuration>

  <Add OfficeClientEdition="64">
    <Product ID="ProPlus2021Volume">
      <Language ID="en-us" />
    </Product>
    <Product ID="ProjectPro2019Volume">
      <Language ID="en-us" />
    </Product>
    <Product ID="VisioPro2019Volume">
      <Language ID="en-us" />
    </Product>
  </Add>

</Configuration>
Type setup.exe /configure configuration.xml into the Command Prompt window to download and install all products at once.
Bg2155
ADVERTISEMENT
5/5 - (1 vote)
Previous Post

How to Add a Timeout or Delay in a Batch File

Next Post

How to Open Multiple URLs in a Browser Using PowerShell

Related Posts

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024
Ftr19

How to Fix Windows Cannot Read the ProductKey From the Unattend Answer File in VirtualBox

July 26, 2024
Ftr25

How to Update Windows Terminal in Windows 10/11

July 26, 2024

How to Disable The Beep Sound in WSL Terminal on Windows

July 26, 2024

Comments 3

  1. Anonymous says:
    2 months ago

    تايتيتغفيث

    Reply
  2. riyad riyad says:
    2 months ago

    قفتغفتغثي

    Reply
  3. riyad riyad says:
    2 months ago

    مننبهخثصهل

    Reply

Leave a Reply Cancel reply

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

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory