Hi Rzes, I'm Ramesh, here to answer your query at the Microsoft Community.
Please try the accepted answer in the thread below. It should fix the Windows Security app in most cases.
https://answers.microsoft.com/en-us/windows/for...
Right-click on the file "SecurityHealthSetup_xxxxx.exe" and choose "Run as administrator".