I had the same error, fixed by elevating the command line
ODT cannot find configuration file.
Hello
I have some issues with Office deployment tool. I would like to install only specific apps from Microsoft 365.
I followed the tutorial found in this site:
https://learn.microsoft.com/en-us/microsoft-365-apps/deploy/overview-office-deployment-tool
I created my configuration file based on the sample file from the mentioned website (in attachment).
I managed to download files running command '.\setup.exe /download config.xml'.
When I tried to run '.\setup.exe /configure config.xml', I got "We couldnt find the specified configuration file" error.
Is there any way to fix this?
Thanks
Config file:
Microsoft 365 and Office | Install, redeem, activate | For education | Windows
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
-
Anonymous
2025-04-29T16:11:01+00:00
-
Anonymous
2025-01-26T04:55:16+00:00 Dear SKeyBoarder,
Thank you for posting back and we really appreciate for your kind words. We're glad to hear that our suggestion to run the CMD as Administrator can help.
Welcome to post new threads in this community when you have other questions next time, we are always here to assist you.
Hope you have a great day, stay safe and healthy!
Sincerely,
Rhoda | Microsoft Community Moderator
-
Anonymous
2025-01-23T01:32:02+00:00 Dear SKeyBoarder,
Good day! Thank you for posting to Microsoft Community. We are happy to help you.
Based on the error message shared, please check if the suggestion shared to run CMD as Administrator and go to path where ODT configuration and Office setup.exe saved in the similar thread can help.
For your reference: Office offline installer does not work, "We couldn't find the - Microsoft Community
Office 2021 LTSC Standard 2021 Install - Error code: 0-2048(0) - Microsoft Community
If the issue still persists, we'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.
We appreciate your kind patience and understanding that sometime the initial reply may not resolve the concern immediately, but we would like to hear the updates from your side and let's figure out the further suggestions.
Thanks for your time and cooperation. We hope that you are keeping safe and well!
Sincerely,
Rhoda | Microsoft Community Moderator
2 additional answers
Sort by: Most helpful
-
Anonymous
2025-01-23T10:38:52+00:00 Thank you, it solved the problem.
After I tried to run "setup.exe /configure" in classic powershell, it demanded elevation. Even if I allowed it, the command still failed. When I launched the powershell as administrator and used same command, it worked.
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more