Share via

Problem with SecurityHealth - Bad image Error Status 0xc000012f

Shade 20 Reputation points
2026-04-14T12:32:48.1233333+00:00

How to fix this error C:\Windows\System32\SecurityHealth\10.0.29510.1001-0\SecurityHealthSSO.dll Error Status 0xc000012f. I tried a few solutions but nothing worked. I would really appreciate the help.
Thank you!

Windows for home | Windows 11 | Performance and system failures
0 comments No comments

Answer accepted by question author

  1. _AW_ 67,261 Reputation points Volunteer Moderator
    2026-04-18T05:10:48.61+00:00

    That last version of Security Health is almost completely corrupt.

    To resolve the issue, download and unzip ExecTI from https://winaero.com/execti/

    Run ExecTI as administrator and enter cmd.exe > OK

    In the resulting command window enter (copy/paste)

    RD /S /Q "C:\Windows\System32\SecurityHealth\10.0.29510.1001-0"
    

    Let me know if the folder is not removed.

    Close out that Command Prompt window and open an elevated Command Prompt (Run as administrator). Run the following:

    1. sc start SecurityHealthService
    2. sc query SecurityHealthService

    If SecurityHealthService state is running, then so far so good.

    Next download the latest version of SecurityHealthSetup -

    https://catalog.s.download.windowsupdate.com/c/msdownload/update/software/defu/2026/03/securityhealthsetup_a9b1a353945e3cc61ef19dcf0f78e199e1bd5c74.exe

    Right click on SecurityHealthSetup_a9b1a353945e3cc61ef19dcf0f78e199e1bd5c74.exe > Properties > Unblock > OK

    Right click on SecurityHealthSetup_a9b1a353945e3cc61ef19dcf0f78e199e1bd5c74.exe and run as administrator.

    In the C:\Windows\System32\SecurityHealth folder there should now be a 10.0.29554.1001-0 folder and Windows Security should now open.

    Was this answer helpful?

    6 people found this answer helpful.

5 additional answers

Sort by: Most helpful
  1. _AW_ 67,261 Reputation points Volunteer Moderator
    2026-04-16T00:10:13.86+00:00

    I need a bit more information. Please open Windows Powershell and run the following commands then post a screenshot showing the output.

    gci 'C:\Windows\System32\SecurityHealth'-recurse -file -Include '*.dll', '*.exe', '*.appx'  | Get-AuthenticodeSignature | ft -auto Path, Status
    
    gsv SecurityHealthService, WdBoot, WdFilter, WdNisDrv, WinDefend, wscsvc | ft -auto Name, DisplayName, StartType, Status
    

    Was this answer helpful?

    2 people found this answer helpful.

  2. Lester Bernard Reyes 79,530 Reputation points Independent Advisor
    2026-04-16T01:15:25.8633333+00:00

    Hi, thank you for that information. In this case, kindly follow the steps below:

    Method 1. Reinstall Windows Defender:

    Open the registry, then go to:

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
    
    

    Then delete the Windows Defender folder, restart the PC, and recheck it.

    If none of the above solutions work, I suggest doing an in-place upgrade, which will update the device to the latest version and repair all issues without deleting any files.

     

    Kindly follow the steps from this link:

    https://learn.microsoft.com/en-us/answers/questions/4252110/how-to-run-in-place-upgrade-in-windows-11

    Was this answer helpful?

    1 person found this answer helpful.

  3. Lester Bernard Reyes 79,530 Reputation points Independent Advisor
    2026-04-14T13:09:27.8933333+00:00

    Hi, I'm Bernard. I'm happy to help!

    This error occurs when there is a corrupted system file on your Security Health. To sort out the issue, kindly follow the steps below:

    Method 1. Re-register the DLL file of Security Health:

    Open Terminal (Admin) or Windows PowerShell(Admin) (Press Windows key + X then click Terminal(Admin))

    Copy, paste, and enter the command below:

    regsvr32 SecurityHealthSSO.dll

    Restart the PC and check.

    Method 2. Reset Windows Security app:

    Open Terminal (Admin) or Windows PowerShell(Admin) (Press Windows key + X then click Terminal(Admin))

    Copy, paste, and enter the command below:

    Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
    
    

    Then hit Enter. Once the process is done, restart the PC and check.

    Note: Please note that this is a public forum. I may respond within a short period of time, but I apologize in advance for any delays. I am simply a fellow user trying to provide helpful insights and information.

    Was this answer helpful?


  4. Q&A Assist
    2026-04-14T12:33:04.31+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Error status 0xc000012f indicates a bad image (corrupted or invalid binary). For a system DLL such as SecurityHealthSSO.dll, use the standard Windows repair steps for corrupted system files and components:

    1. Run System File Checker (SFC)
      1. Open an elevated Command Prompt (Run as administrator).
      2. Run:
              sfc /scannow
        
      3. Wait for the scan to complete and follow any on-screen guidance.
      SFC scans and repairs corrupted or missing Windows system files. For details on interpreting SFC results, see the guidance in the SFC-related article.
    2. Repair component store with DISM If SFC reports corruption it cannot fix, or the error persists:
      1. Open an elevated Command Prompt.
      2. Run:
              Dism /online /cleanup-image /restorehealth
        
      3. After DISM completes, run sfc /scannow again.
      This sequence (DISM then SFC) is the standard way to repair deeper corruption in Windows 10/11 system components.
    3. Check disk and file system Corruption in the file system can also cause bad image errors:
      1. In File Explorer, right-click the system drive (usually C:), select Properties.
      2. Go to ToolsError checkingCheck and let Windows scan and repair file system errors.
      3. Optionally, from an elevated Command Prompt, run:
              chkdsk C: /f /r
        
        and allow it to schedule on next restart. This can detect and repair structural disk/file system issues.
    4. Ensure sufficient free disk space Keep at least 10–15% of the system drive free so Windows can maintain system files and updates properly.
    5. Scan for malware Run a full scan with Windows Security and a reputable antimalware tool to ensure no malware is tampering with system binaries.
    6. Consider in-place repair install If SFC/DISM and disk checks do not resolve the 0xc000012f error, perform an in-place upgrade/repair of Windows 11 using the latest installation media. This preserves apps and data while replacing system files.

    If the problem continues after all of the above, backing up data and performing a full Windows reset or clean install may be required.


    References:

    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.