Message "SecurityHealthSSO.dll" contains an error.

Anonymous
2025-04-22T16:32:31+00:00

I am getting a popup message on booting into Windows 11. It says, "C:\Windows\System32/SecurityHealth\10.0.027777.1008-0\SecurityHealthSSO.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original install media or contact your system administrator or the software vendor for support."

This is essentially the same as others have reported. Like here - https://answers.microsoft.com/en-us/windows/forum/all/message-securityhealthssodll-contains-an-error/bfbe2ce5-b37c-423d-a84a-a0869db7aee0

It includes a link to another website - https://www.winhelponline.com/blog/securityhealthsystray-bad-image-0xc000012f/

Following those instructions, I can't successfully complete each step. In the second one, it asks us to:

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

I had trouble with this step. I was not sure how to extract the .dll file to the right C:\Temp folder. Also, when I tried to create a new folder named Temp, it asks me if I wanted to merge it with C:\temp. I tried just copying the Dll file, but that did not work. It says "The system cannot find the path specified." when I type "cd /d c:\windows\system32\securityHealth\10.0.027777.1008-0" The other commands seemed to run fine.

I have tried a few other solutions but nothing has worked so far

Windows for home | Windows 11 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Ramesh 183.6K Reputation points Volunteer Moderator
2025-04-22T16:49:30+00:00

Please run:

  • cd /d c:\windows\system32\securityHealth\10.0.27777.1008-0
  • takeown /f SecurityHealthSSO.dll /a
  • icacls SecurityHealthSSO.dll /grant *S-1-5-32-544:(F)

Post the screenshot of the Command Prompt window.

Now, copy the downloaded "SecurityHealthSSO.dll" file to "C:\Windows\System32\SecurityHealth\10.0.27777.1008-0" using File Explorer. Overwrite the target file when prompted.

Was this answer helpful?

7 people found this answer helpful.
0 comments No comments

32 additional answers

Sort by: Most helpful
  1. Anonymous
    2025-05-23T15:55:07+00:00

    Hi I am having the same problem as OP except that when I run the command I keep getting "The system cannot find the file specified."

    Here is the log (I can't upload screenshots for some reason):
    Microsoft Windows [Version 10.0.26100.1301]

    (c) Microsoft Corporation. All rights reserved.

    C:\Windows\System32>cd /d c:\windows\system32\securityHealth\10.0.27777.1008-0

    c:\Windows\System32\SecurityHealth\10.0.27777.1008-0>takeown /f SecurityHealthSSO.dll /a

    SUCCESS: The file (or folder): "c:\Windows\System32\SecurityHealth\10.0.27777.1008-0\SecurityHealthSSO.dll" now owned by the administrators group.

    c:\Windows\System32\SecurityHealth\10.0.27777.1008-0>icacls SecurityHealthSSO.dll /grant *S-1-5-32-544:(F)

    processed file: SecurityHealthSSO.dll

    Successfully processed 1 files; Failed processing 0 files

    c:\Windows\System32\SecurityHealth\10.0.27777.1008-0>copy /y C:\Temp\SecurityHealthSSO.dll

    The system cannot find the file specified.

    c:\Windows\System32\SecurityHealth\10.0.27777.1008-0>copy /y C:\Temp\SecurityHealthSSO.DLL

    The system cannot find the file specified.

    c:\Windows\System32\SecurityHealth\10.0.27777.1008-0>

    Was this answer helpful?

    0 comments No comments
  2. Ramesh 183.6K Reputation points Volunteer Moderator
    2025-04-29T17:04:31+00:00

    my version was the same. The steps I've followed are below and I didn't get any pop up!

    • grabbed the file from the links,
    • saved it in c:\Temp file I created
    • ran the commands from Ramesh:
    • cd /d c:\windows\system32\securityHealth\10.0.27777.1008-0
    • takeown /f SecurityHealthSSO.dll /a
    • icacls SecurityHealthSSO.dll /grant *S-1-5-32-544:(F)"
    • Ran the copy command from axa
    • restarted the PC and... no pop up when it rebooted!

    Do I need to leave the temp folder that I created or can I remove this now just to tidy up and remove clutter (however small it may be)

    The Temp folder can be removed.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2025-04-29T16:57:23+00:00

    my version was the same. The steps I've followed are below and I didn't get any pop up!

    • grabbed the file from the links,
    • saved it in c:\Temp file I created
    • ran the commands from Ramesh:
    • cd /d c:\windows\system32\securityHealth\10.0.27777.1008-0
    • takeown /f SecurityHealthSSO.dll /a
    • icacls SecurityHealthSSO.dll /grant *S-1-5-32-544:(F)"
    • Ran the copy command from axa
    • restarted the PC and... no pop up when it rebooted!

    Do I need to leave the temp folder that I created or can I remove this now just to tidy up and remove clutter (however small it may be)

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2025-04-29T16:31:35+00:00

    This was helpful as I was having the same blocks. Thank you, the above commands were after following the original linked post if I am following along right?

    Was this answer helpful?

    0 comments No comments