Setup.exe Configure. Configuration-office2021enterprise.xml Jun 2026
<Updates Enabled="TRUE" UpdatePath="\\Server\Share\Office2021Source" />
Note: This does not remove other Click-to-Run versions (like Office 365). Those would need to be uninstalled manually or via the <Remove> element.
: This tag blocks specific applications from installing. In the example above, Skype for Business ( Lync ) and the consumer version of OneDrive are blocked. You can also exclude Excel , Groove , OneNote , Outlook , PowerPoint , or Word if necessary. Display and Automation Settings setup.exe configure. configuration-office2021enterprise.xml
If you run into any issues during deployment, please share the you are seeing or Share public link
: Identifies the specific enterprise product. Volume licensed editions use this ID, whereas retail versions use different strings. In the example above, Skype for Business (
Open Command Prompt as an Administrator, navigate to your folder, and run: setup.exe /download configuration-office2021enterprise.xml Use code with caution.
Open Command Prompt (cmd) or PowerShell in the folder containing your setup.exe file and run: Volume licensed editions use this ID, whereas retail
If you share the actual content of your XML file, I can give a more specific review.
Extract the contents to a dedicated folder on your local machine or a network share (e.g., C:\ODT or \\Server\Share\ODT ).
A disciplined, automated deployment using setup.exe with well-crafted configuration XML enables reproducible, secure, and manageable Office 2021 Enterprise installations. Pair ODT with enterprise distribution tools and a controlled update strategy to reduce support overhead and maintain security posture.
<Configuration> <Product ID="O365ProPlusRetail"> <Language ID="en-us" /> <Language ID="fr-fr" /> <ProductKey>XXXX-XXXX-XXXX-XXXX-XXXX</ProductKey> <ExcludeApp ID="Publisher" /> <ExcludeApp ID="Access" /> </Product> <Property Name="PIDKEY" Value="XXXX-XXXX-XXXX-XXXX-XXXX" /> <Updates Enabled="TRUE" /> <Display Level="None" /> <Logging Level="Standard" Path="%temp%\OfficeDeploymentTool" /> </Configuration>