Setup.exe Configure. Configuration-office2021enterprise.xml May 2026
Here’s a fully annotated example for Office 2021 Enterprise (Volume License):
<Configuration> <Add OfficeClientEdition="64" Channel="PerpetualVL2021"> <Product ID="ProPlus2021Volume" PIDKEY="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"> <Language ID="en-us" /> <ExcludeApp ID="OneDrive" /> <ExcludeApp ID="Teams" /> </Product> </Add><Updates Enabled="TRUE" UpdatePath="\server\share\office2021\updates" />
<Display Level="FULL" AcceptEULA="TRUE" />
<Logging Level="Standard" Path="%temp%" /> setup.exe configure. configuration-office2021enterprise.xml
<Property Name="SharedComputerLicensing" Value="0" /> <Property Name="SCLCacheOverride" Value="0" /> <Property Name="FORCEAPPSHUTDOWN" Value="FALSE" /> <Property Name="DeviceBasedLicensing" Value="0" /> </Configuration>
<Configuration>
<Add OfficeClientEdition="64" Channel="PerpetualVL2021">
<Product ID="ProPlus2021Volume" PIDKEY="YOUR-MAK-KEY-HERE-XXXXX">
<Language ID="en-us" />
</Product>
</Add>
<Display Level="NONE" AcceptEULA="TRUE" />
</Configuration>
Save, then run:
setup.exe /configure configuration-office2021enterprise.xml Here’s a fully annotated example for Office 2021
The command you are looking for is used to install or configure Microsoft 365 Apps or Office 2021/2019 using the Office Deployment Tool (ODT). Unlike older versions of Office, you cannot simply double-click setup.exe to install; you must reference a configuration file.
Here is the correct command syntax, followed by instructions on how to create the necessary XML file.
<Display Level="NONE" AcceptEULA="TRUE" />
Add this inside <Add>:
<RemoveMSI All="TRUE" />
This removes all MSI-based Office products (2010, 2013, 2016) before installing 2021.
There are two ways to proceed: Downloading first (recommended) or Installing directly from the web.
You likely need to create or edit the configuration-office2021enterprise.xml file. This file tells the installer what version to install, which language to use, and which products to include. Save, then run:
setup
Below is a standard template for Office 2021 Enterprise (typically Volume License).