How to Restore DOCX File Associations in Microsoft 365 After Using XML Handler
Question details
The user needs to restore the default file associations for DOCX files so they open correctly in Microsoft 365 instead of an XML Handler.

- Product
- Microsoft 365
- Device & OS
- Windows
- Scenario
- The user uninstalled Office 2010 and used an XML Handler, which broke the file associations for Microsoft 365 documents.
- Observed behavior
- Microsoft 365 documents fail to open when double-clicked because the default DOCX file associations have been altered by the XML Handler.
Ensure you have your Microsoft account login credentials handy, as you may need to reinstall Microsoft 365 if a standard repair does not resolve the issue.
Perform a Quick Repair or Online Repair for Microsoft 365
Use the built-in Windows repair tool to fix broken Office file associations automatically without fully uninstalling the software.
A Quick Repair scans and replaces corrupted or missing program files and registry keys, which usually restores broken file associations so that the correct Microsoft 365 application opens when you double-click a document.
Click the Start menu, type 'Control Panel', and press Enter. Navigate to 'Programs' and select 'Programs and Features'.
Scroll through the list of installed applications, locate your Microsoft 365 installation, right-click it, and select 'Change'.
In the dialog box that appears, select 'Quick Repair' and click the 'Repair' button. Wait for the process to complete and test your DOCX files.
If Quick Repair does not fix the issue, repeat the steps above but choose 'Online Repair'. This takes longer but performs a more comprehensive fix.
Completely Uninstall and Reinstall Microsoft 365
If repairing doesn't work, use the official Uninstall Support Tool to clear all remnants of previous Office installations and reinstall fresh.
Use WPS Office to Open DOCX Files Without Hassle
If Microsoft 365 file associations keep breaking or you need a reliable backup, try WPS Office. It is a free, lightweight alternative that fully supports all standard document formats with a familiar interface.
- 1. Download WPS Office: Visit the official WPS website to download the free installation package.
- 2. Install and Set as Default: Run the installer. During setup, you can easily choose to set WPS Office as the default program for your DOCX files.
- 3. Open Your Documents: Double-click any DOCX file to instantly open it in WPS Writer without any association errors.

Frequently Asked Questions
Why do DOCX files open with XML Handler instead of Word?
This usually happens when an older version of Office (like Office 2010) is uninstalled incorrectly, or when a third-party application alters the default Windows registry settings for file associations.
Will running Quick Repair delete my Microsoft 365 documents?
No. Performing a Quick Repair or Online Repair only resets the application files, shortcuts, and registry settings like file associations. Your personal documents and data remain completely safe.
What should I do if the Uninstall Support Tool doesn't work?
If the tool fails to remove Office completely, you may need to manually delete the Office folders in 'Program Files' and remove the residual registry keys using Registry Editor, though contacting official support is recommended for safety.




