SecurityHealthSystray.exe – Bad Image 0xC000012F Error

You may be unable to access the Windows Security app on your Windows 11 computer. And when you login to your account, the following error message appears:

SecurityHealthSystray: SecurityHealthSystray.exe - Bad Image

\?\C:\Windows\System32\SecurityHealth\1.0.2303.27001-0\SecurityHealthSSO.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc000012f

securityhealthsso.dll 0xc000012f

In the error message, the platform version number varies depending upon the Security Platform version installed on the computer.

Cause

Error 0xc000012f happens if the module SecurityHealthSSO.dll has been corrupted. Replacing the corrupt module with a fresh copy from another computer should fix the issue.

Resolution

To resolve the issue, replace SecurityHealthSSO.dll with a fresh copy. Follow these steps:

  1. Create a folder named “Temp” on your C: drive — i.e., C:\Temp.
  2. Download the archive SecurityHealthSSO.zip (zipped, all versions).
  3. Extract the appropriate version of SecurityHealthSSO.dll to C:\Temp. You need to extract the DLL that corresponds to the security platform version mentioned in the error message.

Let’s say the error message mentions the platform folder 10.0.27840.1000-0:

  1. Open an admin Command Prompt and run the following commands:
    cd /d c:\windows\system32\securityHealth\10.0.27840.1000-0
    takeown /f SecurityHealthSSO.dll /a
    icacls SecurityHealthSSO.dll /grant *S-1-5-32-544:(F)
    copy /y C:\Temp\SecurityHealthSSO.dll

    (You should see the message “1 file(s) copied.” for the 3rd command.)

    warning caution iconImportant: If you receive an access denied error when copying the DLL, please boot into Safe mode and copy the DLL.

Restart Windows. To do so, right-click Start, click Shutdown, and click Restart.

restart windows 11 via Start button or Win+X

Important: Clicking “Shutdown” and powering the unit on will not help.


File Hashes

Security PlatformSHA256 Hash (Hyperlink opens VirusTotal.com)
1.0.2311.17002-0F9905B2235BDAE5560E268F179E1F4976F28745BFE8C1BDDB0192322D0592033
1.0.2402.27001-076D6335B8A9B9D1F19268941A62D4E203B3A98E15B1E6F9320F3165AB2822FAF
10.0.27703.1006-004791BEA96AC218BF17A1D3F3593BF17090209926B25B76AE6DA4C64BA575B81
10.0.27777.1008-05BD961E6C12B803A4E84271E8B8055FAFEE463D27A4191679D30622DE81CA48F
10.0.27840.1000-0635A311B52D94C034BDD8AC06556CD67B13209E60142DCF7CE751AF840664EE6
10.0.29429.1000-0893D61C6EB3D91B427CE0AC7AC76A69C049ADDE790424E870A687FB09E71FFA3
10.0.29510.1001-00089A409717102685AB8C85A30020DF4EBD5A35F9965582B74BD68781A964449
10.0.29554.10010F6840B9464AAAB29C52732859106E2B74BDB77DE6ED83719C0EC7143847F2B6

That’s it. This should fix the SecurityHealthSystray error.


One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time.

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a ten-time recipient of the Microsoft MVP award in Windows Desktop Experience (Windows Shell), from 2003 to 2012. Ramesh founded Winhelponline.com in 2005.

20 thoughts on “SecurityHealthSystray.exe – Bad Image 0xC000012F Error”

  1. Bless you @ramesh. Not just for finding that version but for having CLEAR & concise instructions. Took me less than 10min to fix it. Been pulling my hair out all weekend.

    Reply
  2. it fixed the pop up problem but it left me with a black windows secuirty tab. whenever i try to access windows security or defender it’s just a black tab

    Reply
  3. I got everything else; however, when I try to run the fourth command, it says, “The system cannot find the file specified,” and yes, I did extract the DLL to c:\temp…

    Reply
  4. Здравствуйте!
    Все сделал, ошибка перестала появляться, но безопасность windows так и не открывается

    Reply
  5. Are you a God??

    Like almost all on here I pulled my hair out and went crazy trying to fix this problem. Now I can finally sleep at night without haunting nightmares about this issue.

    I like a few on here was getting the file not found when trying to run the 4th command line. I am a bit embarrassed to say that in my haste I extracted the file to C:\Temp and then failed to go into the correct folder and pull the right .dll file into the main folder for C:\Temp.

    So whereas I had it say

    C:\Temp\SecurityHealthSSO\10.0.29429.1000-0\SecurityHealthSSO.dll

    when it should have simply been

    C:\Temp\SecurityHealthSSO.dll <—- where that file was pulled from the correct folder, which in my case was obviously 10.0.29429.1000-0

    So yes, like he stated make sure you get the actual .dll file into C:\Temp

    Reply
  6. Thank you so much. Like others, I tried many other solutions and continuously got the same error message at each start.
    Now it’s finally OK.

    Reply

Leave a Comment