Setup.exe Configure. Configuration-office2021enterprise.xml Page
What happens: The installation engine processes the XML file, shuts down conflicting applications if forced, and installs Office 2021 Enterprise silently in the background according to your exact rules. Best Practices for Enterprise Deployment
: Ensure setup.exe and the .xml file are in the same directory. If the command fails, double-check that you are using forward slashes / and not backslashes \ for the switches. Deploy Office Long Term Service Channel (LTSC) 2021
Extract the contents to a dedicated folder on your local machine or a network share (e.g., C:\ODT or \\Server\Share\ODT ).
To adapt this deployment to your organization, you must understand what each tag controls: setup.exe configure. configuration-office2021enterprise.xml
A blueprint written in XML format. It tells setup.exe exactly what to do—which Office suite to install, which specific apps to exclude, the preferred language, software updates behavior, and licensing parameters. Step 1: Download and Extract the Office Deployment Tool
This removes all MSI-based Office products (2010, 2013, 2016) before installing 2021.
If you plan to deploy Office to hundreds of machines, do not let every machine download files individually from the internet. Use the command setup.exe /download configuration-office2021enterprise.xml first. This downloads the installation source files to your local folder. Update your XML file to point to this local folder path, and run the /configure command locally. What happens: The installation engine processes the XML
This article provides a comprehensive guide on using setup.exe combined with a configuration-office2021enterprise.xml file to configure your Office 2021 Enterprise deployment efficiently. 1. What is configuration-office2021enterprise.xml?
| Action | Command Syntax | | :--- | :--- | | | setup.exe /download configuration-office2021enterprise.xml | | Install Office | setup.exe /configure configuration-office2021enterprise.xml | | Modify XML | notepad configuration-office2021enterprise.xml | | Packager (Admin) | setup.exe /packager configuration-office2021enterprise.xml "C:\OutputPath" |
<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> <Product ID="VisioViewer2021Volume"> <Language ID="en-us" /> </Product> </Add> <Updates Enabled="TRUE" Channel="PerpetualVL2021" /> <Display Level="NONE" AcceptEULA="TRUE" /> <Logging Level="Standard" Path="%temp%\Office2021Log" /> <Property Name="FORCEAPPSHUTDOWN" Value="TRUE" /> <Property Name="SharedComputerLicensing" Value="0" /> </Configuration> Deploy Office Long Term Service Channel (LTSC) 2021
Execute the configuration command to start installing Office 2021 directly from Microsoft's Content Delivery Network (CDN): setup.exe /configure configuration-office2021enterprise.xml Use code with caution.
Licensing parameters, such as Key Management Service (KMS) or Multiple Activation Key (MAK). 2. Crafting the configuration-office2021enterprise.xml File
This is best if you are installing on multiple computers or want a backup of the installation files.
Installs the 64-bit version (highly recommended).
: Prevents the installation of Skype for Business (formerly Lync), keeping the desktop environment clean.