Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Thank you for your sharing and the screenshot. Error 0-2048 (0) appears when the Office Deployment Tool (ODT) can’t find or read the XML configuration file that is referenced in the command. The ODT installation requires two key files (setup.exe and a configuration .xml file) and setup.exe must be run from Command Prompt while pointing to that XML file.
To make sure I provide the correct installation steps and configuration for your setup, could you please confirm which product you are trying to install?
- Office 2024 (Retail / standard Office 2024), or
- Office 2024 LTSC (Long-Term Servicing Channel)
In the meaning time, If you are using ODT to deploy office 2024 LTSC, please follow these steps:
- Confirm the files are in the same folder :
For example, create a folder: C:\ODT\ and ensure these two files are inside:
- C:\ODT\setup.exe
- C:\ODT\Configuration.xml
Important: Make sure the file is in .xml format (not Configuration.xml.txt).
- Run Command Prompt as Administrator
- Click Start and type cmd
- Right-click Command Prompt
- Select Run as administrator
- Run the command from the ODT folder
In the elevated Command Prompt, run:
cd /d C:\ODT
Then run the download command (if you are downloading files first):
setup.exe /download Configuration.xml
And then run the install command:
setup.exe /configure Configuration.xml
If the issue still persists, I'd recommend you disable any Antivirus program or Windows firewall you may have for temporary purpose, use the Office Customization Tool to create the configuration file, and test running CMD as an Administrator instead, and see if you have the same issue.
Additional details are available at the link below:
- Install Microsoft 365 Apps
- Configuration options for the Office Deployment Tool
- ODT cannot find configuration file.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.