Excel Error Codes

Fix Excel XML Files Not Opening After Office Update (0xC0000142)

Adam DavisAdam Davis Nov 3, 2026 869 views

Question details

Users are unable to open Excel XML files after a Microsoft Office update, encountering a repeating update screen and error code 0xC0000142.

How to Fix Excel XML Files Not Opening After an Office Update
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.
Before you start

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.

Solution 1Recommended

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.

1
Restart Your Computer

Reboot your PC and allow Windows to load completely to ensure no Office background processes are stuck in memory.

2
Open Apps & Features

Right-click the Windows Start menu and select 'Apps & Features' (or 'Installed apps' in Windows 11).

3
Modify Microsoft Office

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'.

4
Run the Repair

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.

5
Test Excel XML Files

Once the repair is complete, open Excel and attempt to load your XML file to verify the error is resolved.

Microsoft Support Guidance: If the error continues after a full Online Repair, you may need to consult Microsoft's official Office startup troubleshooting documentation for further advanced steps.
Free Microsoft Office alternative

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. 1. Download and Install WPS Office: Get the free WPS Office suite from the official website and install it on your computer.
  2. 2. Open the Spreadsheet Module: Launch WPS Office and click on 'Spreadsheet' from the main dashboard.
  3. 3. Load Your XML File: Go to Menu > Open, browse for your XML file, and open it without dealing with Office update errors.
100% free and lightweight Microsoft Office alternativePerfect compatibility with Microsoft Excel XML, XLS, and XLSX formatsFamiliar user interface requiring zero learning curveStable performance without forced updates breaking your workflow
microsoft office alternative - wps office

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.