Place both files in a network share and run:
\\server\ODT\setup.exe /configure \\server\ODT\config.xml
Use Display Level="None" to avoid prompts during logon.
Microsoft provides the Office Deployment Tool (ODT) to install, customize, and manage Office 2021 Enterprise editions. The core method involves running setup.exe with a configuration.xml file. setup.exe configure. configuration-office2021enterprise.xml
<Configuration>
<Add OfficeClientEdition="64" Channel="PerpetualVL2021">
<Product ID="ProPlus2021Volume" PIDKEY="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX">
<Language ID="en-us" />
<ExcludeApp ID="Access" />
</Product>
</Add>
<Updates Enabled="TRUE" Channel="PerpetualVL2021" />
<Display Level="None" AcceptEULA="TRUE" />
</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
Let’s break down the command into its three core components: Place both files in a network share and
When executed, setup.exe parses the XML, downloads the required bits (if not already cached), and performs the installation silently with the specified parameters.
| Element/Attribute | Purpose |
|------------------|---------|
| OfficeClientEdition | 32 or 64 – matches your OS and user needs. |
| Channel="PerpetualVL2021" | Required for volume-licensed Office 2021 (no subscription). |
| Product ID="ProPlus2021Volume" | Installs Office 2021 Professional Plus. Other options: Standard2021Volume, ProjectPro2021Volume, VisioPro2021Volume. |
| PIDKEY | Your 25-character volume license key. Can be omitted if using KMS/ADBA activation. |
| Language ID | Primary language. Add multiple <Language> lines for multi-language installs. |
| ExcludeApp | Prevents installing specific apps (OneDrive, Teams, Skype, OneNote, etc.). |
| Updates Enabled="TRUE" | Allows automatic updates from the specified UpdatePath (local share or CDN). |
| Display Level="FULL" | Shows UI during install. "NONE" for silent install. AcceptEULA="TRUE" prevents prompts. |
| Logging | Saves installation log for troubleshooting. |
| Property – SharedComputerLicensing | Set 1 for RDS/Citrix environments. |
| Property – FORCEAPPSHUTDOWN | Forces closed apps during install. Use cautiously. | Use Display Level="None" to avoid prompts during logon
To verify installation, search for “Word” or run:
Get-AppxPackage *Microsoft.Office*
# Or check classic COM objects: New-Object -ComObject Excel.Application