MicrosoftSecurityApp.exe Bad Image Error 0xc0e90002 on Windows
Getting a Bad Image error (0xc0e90002) for MicrosoftSecurityApp.exe every time I try to launch Windows Security on Windows 11 (24H2). It says something like the file is either not designed to run on Windows or it contains an error.
I’ve tried:
Running SFC and DISM (no issues found)
Restarting the PC
Updating Windows
Nothing has worked so far. Anyone else faced this? How do I fix or repair this specific error?
All Replies
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.

Try these fixes –
1. Reset the app:
Open PowerShell as Administrator
Run:
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
2. Delete the broken app files:
Go to:
C:\Program Files\WindowsApps\
Find and delete folders starting with Microsoft.SecHealthUI
You may need to take ownership first
3. Re-register all apps:
In PowerShell (Admin), run:
Get-AppxPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
4. If it still doesn’t work, do a repair install using Windows 11 ISO. It keeps your files and apps.