Uploaded November 2026 | Updated November 2026, 21 hours ago
How To Fix SecurityHealthSystray: SecurityHealthSystray.exe Bad Image Error Status 0xc000012f
Step 1) Run these commands
cmd.exe
cd /d C:\Windows\System32\SecurityHealth\10.0.29554.1001-0
takeown /f SecurityHealthHost.exe /a
takeown /f SecurityHealthSSO.dll /a
icacls SecurityHealthHost.exe /grant *S-1-5-32-544:(F)
icacls SecurityHealthSSO.dll /grant *S-1-5-32-544:(F)
copy /y C:\Windows\System32\SecurityHealth\10.0.29510.1001-0\SecurityHealthHost.exe
copy /y C:\Windows\System32\SecurityHealth\10.0.29510.1001-0\SecurityHealthSSO.dll
Step 2) Reset the Windows Security
Get-AppxPackage *Microsoft.SecHealthUI* -AllUsers | Reset-AppxPackage
Step 3) Run SFC & DISM Command
Dism /Online /Cleanup-Image /RestoreHealth
sfc /scannow
DISM /Online /Cleanup-Image /StartComponentCleanup
Step 5) Use Media Creation tool
microsoft.com/en-us/software-download/windows11
How To Fix SecurityHealthSystray: SecurityHealthSystray.exe Bad Image Error Status 0xc000012f
Step 1) Run these commands
cmd.exe
cd /d C:\Windows\System32\SecurityHealth\10.0.29554.1001-0
takeown /f SecurityHealthHost.exe /a
takeown /f SecurityHealthSSO.dll /a
icacls SecurityHealthHost.exe /grant *S-1-5-32-544:(F)
icacls SecurityHealthSSO.dll /grant *S-1-5-32-544:(F)
copy /y C:\Windows\System32\SecurityHealth\10.0.29510.1001-0\SecurityHealthHost.exe
copy /y C:\Windows\System32\SecurityHealth\10.0.29510.1001-0\SecurityHealthSSO.dll
Step 2) Reset the Windows Security
Get-AppxPackage *Microsoft.SecHealthUI* -AllUsers | Reset-AppxPackage
Step 3) Run SFC & DISM Command
Dism /Online /Cleanup-Image /RestoreHealth
sfc /scannow
DISM /Online /Cleanup-Image /StartComponentCleanup
Step 5) Use Media Creation tool
microsoft.com/en-us/software-download/windows11










