Microsoft 365 Installation Problems

How to Fix Office Deployment Tool Error 17004

Jason MillerJason Miller Nov 2, 2026 870 views

Question details

The user is unable to install Microsoft Office using the Office Deployment Tool (ODT) due to Error 17004, which is triggered by preinstalled Microsoft Store versions of Office applications.

How to Fix Office Deployment Tool Error 17004
Product
Microsoft 365
Device & OS
Windows 10
Scenario
Attempting to deploy Microsoft Office using the Office Deployment Tool on a computer that has Microsoft Store versions of Office components (like OneNote) already installed.
Observed behavior
The ODT installation fails with Error 17004 because the standard RemoveMSI configuration does not detect or remove incompatible Microsoft Store applications.
Before you start

Ensure you have administrative privileges on the target Windows machine before attempting to uninstall system-level applications or modify Group Policy settings.

Solution 1Recommended

Uninstall Conflicting Microsoft Store Apps Manually

Remove preinstalled Microsoft Store versions of Office applications, such as OneNote, to clear the path for the Office Deployment Tool.

The most direct way to resolve Error 17004 is to manually remove the Store applications that are blocking the deployment. Because the ODT's RemoveMSI attribute only targets legacy Windows Installer (MSI) packages, manual intervention is required for modern Universal Windows Platform (UWP) apps.

1
Open Windows Settings

Press the Windows key + I on your keyboard to open the Settings app, then navigate to 'Apps' > 'Apps & features'.

2
Locate Conflicting Apps

Scroll through the application list or use the search bar to find Microsoft Store versions of Office components, such as 'OneNote for Windows 10' or 'Office Desktop Apps'.

3
Uninstall the Applications

Click on the conflicting application and select the 'Uninstall' button. Follow the on-screen prompts to completely remove the app from your system.

4
Rerun the Office Deployment Tool

Once all conflicting Store apps have been uninstalled, run your ODT deployment script again. The installation should now proceed without encountering Error 17004.

Uninstall Conflicting Microsoft Store Apps Manually
Deployment Tip: Always test your ODT configuration XML on a single machine reflecting your target environment before pushing it to a wider network.
Free Microsoft Office alternative

Skip Complex Deployments with WPS Office

Tired of troubleshooting Office Deployment Tool errors and conflicting Microsoft Store apps? WPS Office offers a straightforward, hassle-free installation process. As a lightweight and free alternative to Microsoft Office, it lets you and your team get to work instantly without managing XML configurations or Group Policies.

  1. 1. Download the Installer: Visit the official WPS website and download the free, standalone installation package.
  2. 2. Install WPS Office: Run the downloaded executable. The setup process is entirely automated and avoids standard Microsoft Store app conflicts.
  3. 3. Start Creating: Open WPS Office to immediately access powerful Writer, Spreadsheet, and Presentation tools.
Installs in seconds without complex deployment tools or registry conflictsFully compatible with Microsoft Word, Excel, and PowerPoint file formatsLightweight architecture that requires minimal system resourcesFamiliar user interface ensuring a seamless transition for your team
microsoft office alternative - wps office

Frequently Asked Questions

Why does the ODT RemoveMSI attribute not remove Microsoft Store apps?

The RemoveMSI attribute in the Office Deployment Tool is strictly designed to target and uninstall legacy Windows Installer (MSI) packages of Office. It does not scan for, nor does it remove, modern Universal Windows Platform (UWP) applications installed via the Microsoft Store.

Can I use Group Policy to block the Microsoft Store on Windows 10 Pro?

No. The specific Group Policy setting 'Turn off the Store application' is only supported on Windows 10 Enterprise and Education editions. Attempting to apply it on Windows 10 Pro will not block the Store.

How can I identify which app is causing Error 17004 during ODT installation?

Check your Windows 'Apps & features' list for any preinstalled Office components. Common culprits include the Windows 10 version of 'OneNote', 'Office Desktop Apps', or the 'My Office' hub. These are often preinstalled by PC manufacturers and must be uninstalled prior to your custom deployment.