How to Configure UpdatePath and SourcePath in Office Deployment Tool
Question details
The user needs to understand how to correctly configure the UpdatePath, SourcePath, and download locations using the Office Deployment Tool (ODT).

- Product
- Microsoft 365 / Office Deployment Tool
- Device & OS
- not provided
- Scenario
- Managing offline installations and updates for Microsoft 365 using customized XML configuration files.
- Observed behavior
- If the update path is improperly configured or lacks installation files, Office fails to update and displays an error message stating it ran into a problem while looking for updates.
Ensure you have administrative privileges on the target computer and access to the network share or local folder where the Office installation files will be hosted.
Configure UpdatePath and SourcePath in the XML File
Define the exact locations for installing and updating Office directly in your ODT configuration file to prevent download errors.
The Office Deployment Tool relies on the XML file to know where to pull installation files. DownloadPath is not a valid attribute; instead, you must use SourcePath for the initial install and UpdatePath for subsequent updates.
Right-click your configuration XML file (e.g., configuration.xml) and select 'Open with' > 'Notepad' or another text editor.
To set the installation source, add the SourcePath attribute to the <Add> element. For example: <Add SourcePath="C:\ODT" OfficeClientEdition="64">.
To set the update location, locate or add the <Updates> element and configure the UpdatePath attribute. For example: <Updates Enabled="TRUE" UpdatePath="C:\ODT" />.
Open Command Prompt as an administrator, navigate to your ODT folder, and run 'setup.exe /download configuration.xml' to download the files to the specified SourcePath.

Correct the Update Path via Windows Registry
Force Office to use a specific update location by editing Group Policy registry keys if the XML configuration is overwritten or failing.
Deploy WPS Office as a Lightweight Alternative
If managing Microsoft 365 XML files, deployment tools, and network share paths becomes too complex or costly, consider switching to WPS Office. It provides a highly compatible, lightweight, and completely free alternative that installs in seconds without requiring complicated command-line deployment tools.
- 1. Download the installer: Visit the official WPS Office website and download the standard offline or online installer.
- 2. Install instantly: Run the executable file. WPS Office installs directly without needing an XML configuration file or SourcePath attributes.
- 3. Open your documents: Launch WPS Office to instantly open, edit, and save your existing .docx, .xlsx, and .pptx files.

Frequently Asked Questions
What happens if the UpdatePath folder is empty or invalid?
If the configured local or network UpdatePath does not contain the required installation files, Office will fail to update. The user will receive an error message stating, 'We're sorry, we ran into a problem while looking for updates.' It will not automatically fall back to the Microsoft CDN.
How do I download offline Office installation files using the ODT?
To download the files, open the Command Prompt as an administrator, navigate to the directory where your ODT is located, and execute the command 'setup.exe /download configuration.xml'. The tool will download the necessary files to the directory specified by the SourcePath attribute in your XML.
Can I use DownloadPath in the configuration XML?
No, DownloadPath is not a recognized attribute in the Office Customization Tool or ODT configuration files. You must control download locations using the SourcePath attribute within the <Add> element.
How do I force Microsoft 365 to update from the internet instead of a local path?
To use the official Office CDN for updates, either remove the UpdatePath attribute entirely from your configuration XML file, or delete the 'updatepath' registry key located at HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\office\16.0\common\officeupdate if it was previously set.




