Fix Office 365 Deployment Tool Error 30015-1007
Question details
Resolve error 30015-1007 when downloading Office 365 files with the Office Deployment Tool.

- Product
- Office Deployment Tool for Microsoft 365
- Device & OS
- not provided
- Scenario
- Downloading Office installation files using an XML configuration that specifies a network share or an invalid source path.
- Observed behavior
- The download fails with error 30015-1007 instead of retrieving the Office installation files.
Locate the Office Deployment Tool's setup.exe and the XML configuration file used for the download. Check that the computer has internet access and permission to write to a local folder.
Change the XML source path to a local folder
Use this method when the download points to a network share or an invalid source path.
In File Explorer, create a folder such as C:\office365 and confirm that your account can write to it.
Open your configuration XML file in Notepad. In the Add element, set the attribute to SourcePath="C:\office365", replacing the network or invalid path, and save the file.
Open Command Prompt, change to the folder containing setup.exe, and run setup.exe /download "C:\path\to\configuration.xml", replacing the example path with your XML file's actual path.
In File Explorer, open C:\office365 and check its Office\Data subfolders for downloaded CAB and DAT files.

Check the deployment tool and language configuration
Use this if the local-path download still fails or the XML specifies an incorrect language.
Work with Office files using WPS Office
If you need an alternative while resolving the Microsoft deployment error, WPS Office is a free, lightweight office suite with a familiar interface. Open compatible Office files and continue working with minimal disruption.

Frequently Asked Questions
What can cause error 30015-1007 during an Office download?
The Office Deployment Tool can fail when the XML SourcePath points to an invalid location or a network share that cannot be used. Check the Add element in the XML and try a writable local folder.
Where do I change the Office download location?
Open the deployment configuration XML in Notepad and change the SourcePath attribute in the Add element, for example to SourcePath="C:\office365". Save the file before rerunning the download.
Which command downloads the Office installation files?
In Command Prompt, change to the folder containing the Office Deployment Tool's setup.exe and run setup.exe /download followed by the path to your configuration XML file.
Should I change the language code to en-us?
Use en-us in the XML Language element if you want US English. If you need another language, use its valid language ID instead.




