Deploying Office 2021 Enterprise with the Office Deployment Tool
<Display Level="FULL" AcceptEULA="TRUE" />
The <RemoveMSI All="True" /> element is essential for a clean transition, as it will automatically remove legacy MSI-based installations. For removing Click-to-Run products, you can use <Remove All="True" /> .
Deploying Office 2021 Enterprise across an organization requires a more robust approach than the standard click-to-run installation used by consumers. IT administrators rely on the and specific configuration files to customize, automate, and manage the installation process. setup.exe configure. configuration-office2021enterprise.xml
If you don't have a configuration-office2021enterprise.xml file, you can create one using the Office Deployment Tool (ODT). The ODT allows you to download Office 2021 and create a configuration file for your installation.
: Explicitly stops specific applications from installing. In the example above, Skype for Business ( Lync ) and the consumer version of OneDrive are blocked to keep the endpoint lean.
This command is the standard way to install or configure Microsoft Office LTSC 2021 Enterprise Microsoft Office Deployment Tool (ODT) . It tells the deployment executable ( Deploying Office 2021 Enterprise with the Office Deployment
Below is a robust, production-ready example of a configuration-office2021enterprise.xml file designed for a silent, automated enterprise installation:
This command instructs the ODT to read your XML file, connect to the Office Content Delivery Network (CDN), and download all necessary product and language files to the same directory. The download process may take a while depending on your internet speed and the size of the selected components.
in that same folder. If you don't have one, you can create a custom one at config.office.com Run as Administrator Command Prompt PowerShell as an administrator, navigate to your folder, and run: setup.exe /configure configuration-Office2021Enterprise.xml Use code with caution. Copied to clipboard (Note: Use a forward slash for the switch; some users accidentally use a backslash which can cause errors) Microsoft Learn Troubleshooting Common Issues Cannot install Office - Error Code 0-2054 - Microsoft Q&A IT administrators rely on the and specific configuration
<Updates Enabled="TRUE" UpdatePath="\\Server\Share\Office2021Source" />
Execute the following command and press Enter:
Use this to skip apps you don't need (e.g., Publisher or Teams). 🚀 How to Run the Installation
To run the installation silenty on a client machine using the local configuration file, execute the following command: setup.exe /configure configuration-office2021enterprise.xml Use code with caution.