Fix Microsoft Office Bad Image Error 0xc000012f
Question details
The user needs to resolve a Bad Image error that prevents Microsoft Office applications from opening.

- Product
- Microsoft Office
- Device & OS
- Windows
- Scenario
- Opening Excel or another Office application after a Windows or Edge update.
- Observed behavior
- An officec2rclient.exe Bad Image message appears with error status 0xc000012f, and Office applications may not start.
Confirm that the error message names officec2rclient.exe and shows status 0xc000012f. Check that you can sign in to the Microsoft account associated with your Office license, and connect to the internet for Online Repair or reinstallation.
Repair Microsoft Office from Windows Settings
Use this method first if the Office repair options are available.
Open Settings > Apps > Installed apps or Apps & features, depending on your Windows version.
Find Microsoft 365 or Microsoft Office in the list, select its menu, and choose Modify. Approve the User Account Control prompt if it appears.
In the repair window, select Quick Repair, choose Repair, and follow the prompts. Then try opening Excel or another Office app.
If the error remains, return to the Office Modify menu, select Online Repair, and follow the prompts. Test the Office app again after repair finishes.

Remove and reinstall Microsoft Office
Use this method if repair cannot start or does not clear the error.
Open Office files with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with documents, spreadsheets, and presentations. Open your existing files in WPS to continue working while you troubleshoot Microsoft Office; WPS does not repair the Office error itself.

Frequently Asked Questions
What does the officec2rclient.exe Bad Image error mean?
It indicates that Windows could not load a required component correctly when starting the Office Click-to-Run client. Repairing or reinstalling Office can replace affected Office components.
Should I run Quick Repair or Online Repair first?
Start with Quick Repair under Settings > Apps > Installed apps or Apps & features > Microsoft Office > Modify. If the error persists, return to the same menu and try Online Repair.
What if Change or Modify closes without showing repair options?
Use Microsoft's Office uninstall troubleshooter or uninstall support tool from Microsoft Support, restart Windows, and reinstall Office using the account associated with your license.
Can I open my Excel files while Office is not working?
You can try opening XLSX files in WPS Office as an alternative while you troubleshoot. WPS Office does not fix the underlying Microsoft Office installation.




