Fix Excel XML Files Not Opening After Office Update (0xC0000142)
Question details
Users are unable to open Excel XML files after a Microsoft Office update, encountering a repeating update screen and error code 0xC0000142.

- Product
- Microsoft Excel
- Device & OS
- Windows
- Scenario
- Attempting to open an XML spreadsheet file following a recent Microsoft Office software update.
- Observed behavior
- The XML file fails to open, repeatedly showing the Office update screen followed by application error 0xC0000142.
Ensure you have saved your work in all other Office applications and have a stable internet connection, as the Online Repair option will need to download replacement files.
Run the Microsoft Office Repair Tool
Use the built-in Windows repair tool to fix corrupted Microsoft Office installation files causing the 0xC0000142 error.
Error 0xC0000142 typically indicates that the application failed to initialize properly, often due to a corrupted or incomplete Office update. Running the built-in Windows repair utility can replace the broken files and restore normal Excel functionality.
Reboot your PC and allow Windows to load completely to ensure no Office background processes are stuck in memory.
Right-click the Windows Start menu and select 'Apps & Features' (or 'Installed apps' in Windows 11).
Scroll through the app list, locate your version of Microsoft Office, click on the app (or the three dots next to it), and select 'Modify'.
Choose 'Quick Repair' first and follow the on-screen prompts. If the issue persists, repeat these steps and select 'Online Repair' for a more comprehensive fix.
Once the repair is complete, open Excel and attempt to load your XML file to verify the error is resolved.
Open XML Files Instantly with WPS Office
Fed up with update errors like 0xC0000142? WPS Office is a highly compatible, lightweight alternative to Microsoft Office. It installs in seconds, avoids intrusive background updates, and opens your XML and XLSX spreadsheets flawlessly.
- 1. Download and Install WPS Office: Get the free WPS Office suite from the official website and install it on your computer.
- 2. Open the Spreadsheet Module: Launch WPS Office and click on 'Spreadsheet' from the main dashboard.
- 3. Load Your XML File: Go to Menu > Open, browse for your XML file, and open it without dealing with Office update errors.

Frequently Asked Questions
What causes application error 0xC0000142 in Excel?
This error occurs when an application fails to initialize properly. For Excel, it usually happens when a background Office update gets stuck, becomes corrupted, or conflicts with essential Windows system files.
Will repairing Microsoft Office delete my saved XML spreadsheets?
No, running the Quick Repair or Online Repair tool only fixes the application's core program files. Your personal XML files, spreadsheets, and data will remain completely untouched.
Can I bypass the Office update screen to just view my file?
If Microsoft Office is caught in an update loop, it typically locks you out of the application completely until the update finishes or is repaired. You can use a free alternative like WPS Office to quickly access the file while you troubleshoot.
What is the difference between Quick Repair and Online Repair?
Quick Repair uses files already stored on your computer to fix common issues and finishes in a few minutes. Online Repair completely reinstalls the Office applications by downloading fresh files from Microsoft servers, which takes longer but resolves deeper file corruption.




