Setup.exe Configure. Configuration-office2021enterprise.xml May 2026
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.
After creating your configuration file, you can use it with the setup.exe as described above.
This guide should help you configure and install Microsoft Office 2021 Enterprise using a configuration file. If you have specific settings or requirements for your configuration file, ensure they are accurately reflected in your XML file. setup.exe configure. configuration-office2021enterprise.xml
setup.exe configure configuration-office2021enterprise.xml
This is best if you are installing on multiple computers or want a backup of the installation files.
Step 1: Download the Files Open Command Prompt or PowerShell as Administrator. Navigate to your ODT folder. If you don't have a configuration-office2021enterprise
cd C:\ODT
setup.exe /download configuration-office2021enterprise.xml
Step 2: Install Office
Once the download is complete (and setup.exe is no longer in Task Manager), run the configure command:
setup.exe /configure configuration-office2021enterprise.xml
<Product ID>:
<Language ID>: The language code (e.g., "en-us", "fr-fr").<Display Level="Full" AcceptEULA="TRUE" />: Prevents the user from seeing installation prompts and automatically accepts the license terms.<Property Name="AUTOACTIVATE" Value="1" />: (Optional) Attempts to auto-activate if you have a KMS server or valid Volume License keys setup in your environment.<RemoveMSI All="True" />: Highly recommended. It removes old MSI-based versions of Office (like Office 2013/2010) before installing 2021 to prevent conflicts.en-us to your preferred language code (e.g., es-es for Spanish, fr-fr for French).<ExcludeApp ID="Access" />
<ExcludeApp ID="Publisher" />
<ExcludeApp ID="Outlook" />
<!-- Keep Word, Excel, PowerPoint by not excluding them -->