Share via

"Bad image" error after downloading Windows 11. Attempted to resolve the issue by following a solution on another question. Now Windows Security opens, shows the logo, then closes after 2-3 minutes.

Brett 0 Reputation points
2026-05-05T19:51:35.2466667+00:00

Hi,

I recently reset my PC, and downloaded Windows 11. Everything was working fine until yesterday where I was getting a "bad image" error pop-up.

I saw a solution on another post, which directed me to download an archived SecurityHealthSSO.dll file and replace the current one, which I did.

It got rid of the error message, but now when I try to open Windows Security it just displays the logo for 2-3 minutes before closing itself.

I have tried to redownload the archived SecurityHealthSSO.dll file. And a number of commands seen on similar questions, but the problem still remains, and I'm worried that Windows Security may not be running at all.

I have also tried to reinstall and repair install Windows with no success.

As well as resetting and repairing Windows Security.

Any help would be massively appreciated. Thanks.

Windows for home | Windows 11 | Security and privacy

2 answers

Sort by: Most helpful
  1. Lester Bernard Reyes 78,690 Reputation points Independent Advisor
    2026-05-05T22:39:14.45+00:00

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

    May I know how you ran a repair and reinstall? Is it through Windows Settings? If yes, I suggest doing an in-place upgrade, wherein it will upgrade the device to the latest version and repair all issues without deleting any files.

     

    Go to the Windows 11 website: https://www.microsoft.com/en-us/software-download/windows11

     

    Under Download Windows 11 Disk Image (ISO), select Windows 11 (multi-edition ISO)

     

    1.    Once done downloading the ISO, kindly right-click on the ISO, then click Mount> click Setup.exe

    2.    You may be prompted by User Account Control. Click on Yes if so

    3.    In the Install Windows 11 dialog, click Next

    4.    Setup will check your PC and show a license agreement. Click on Accept in the license terms dialog.

    5.    Wait for the setup program to check for the available free space.

    6.    On the Ready to install page, make sure Keep personal files and apps have been checked.

    7.    Then click Install and just follow the prompt.

    8.    Windows 11 will restart your device several times and lead you to the lock screen. Depending on the options you set, it will keep all your files, apps, and user accounts.

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

    Note: This is a public forum. I may respond shortly, but I apologize in advance for any delays. I am simply a fellow user trying to provide helpful insights and information.

    0 comments No comments

  2. Q&A Assist
    2026-05-05T19:51:51.7433333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Replacing system DLLs from untrusted or archived sources can corrupt Windows components like Windows Security. Use in-place repair options and Windows Update to restore the original files and fix Windows Security without a full reinstall.

    1. Run a repair install of Windows 11 (keeps apps and files)
      • Open Settings > System > Recovery.
      • Select the option to Reinstall or Repair install Windows (this reinstalls the current Windows 11 version while preserving apps, files, and most settings).
      • Let the process complete and then restart.
      • After the repair, open Windows Security again and confirm it stays open.
    2. Make sure Windows is fully updated
      • Go to Start > Settings > Windows Update.
      • Select Check for updates and install all available updates.
      • Restart if prompted and test Windows Security again.
    3. If Windows Update has issues
      • Open Command Prompt as administrator.
      • Run these commands one by one to reset update components:
             net stop bits
             net stop wuauserv
             ren %systemroot%\softwaredistribution softwaredistribution.bak
             ren %systemroot%\system32\catroot2 catroot2.bak
             net start bits
             net start wuauserv
        
      • Restart the PC and run Windows Update again.
    4. If Windows still shows security issues
      • Use the built-in Windows troubleshooters and, if needed, repeat the repair install step to restore any remaining damaged system files.

    These steps restore official system binaries (including SecurityHealthSSO.dll) and are safer and more complete than manually copying DLLs.


    References:

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.