How to fix error code 0xc000012f

Owen Saeger 0 Reputation points
2026-09-14T16:19:44.79+00:00

Can't figure out how to fix this, tried sfc/scannow and have tried repairing it but have no luck. can't open microsoft word app because it give me the bad image code.

Microsoft 365 and Office | Other
0 comments No comments

2 answers

Sort by: Most helpful
  1. ApexNáV 170 Reputation points
    2026-09-14T18:18:12.3133333+00:00

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-09-14T16:20:00.7833333+00:00

    For a Bad Image error 0xc000012f when opening Word, the supported repair path is:

    1. Run DISM first, then run SFC again.
      • Open an elevated Command Prompt:
        • Type cmd in Search
        • Right-click Command Prompt
        • Select Run as administrator
      • Run:
             DISM.exe /Online /Cleanup-image /Restorehealth
        
      • After DISM finishes, run:
             sfc /scannow
        
      • Do not close the Command Prompt window until verification reaches 100%.
    2. Restart Windows and test Word again.
    3. Repair Office.
      • In Windows, open Control Panel > Uninstall a program
      • Select Microsoft Office
      • Choose Change
      • Run Quick Repair first
      • If Word still fails, repeat the steps and run Online Repair
      • Online Repair requires an active internet connection.
    4. If using Windows 10/11 Settings instead:
      • Go to Start > Settings > Apps > Apps & features
      • Select the Microsoft Office product
      • Choose Modify
      • Select Online Repair > Repair
    5. If Office repair does not fix it, the issue can be a corrupted Office installation. A full uninstall and reinstall of Office is the next step.

    If sfc /scannow reports Windows Resource Protection could not perform the requested operation, run the SFC scan in Safe Mode.


    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.