Hopefully this will resolve the Windows Defender issues.
Download and unzip ExecTI from https://www.majorgeeks.com/mg/getmirror/execti,1.html
Run ExecTI.exe as administrator and enter cmd.exe > OK
In the resulting command window copy/paste/enter RD /S /Q "C:\Windows\System32\SecurityHealth\10.0.29510.1001-0"
Go to C:\Windows\System32\SecurityHealth and make sure the 10.0.29510.1001-0 folder has been deleted.
Download Win11-service-fix from https://drive.google.com/file/d/1UyJ9Jgb23F_KVLJudHp_mOPdih9ZaGAs/view?usp=sharing
Unzip Win11-service-fix.reg and move it to the root of your C drive.
Run ExecTI.exe as administrator and enter regedit.exe > OK
In Regedit, go to File -> Import and select Win11-service-fix.reg
If the import is successful, reboot the computer.
Download SecurityHealthSetup from
Right click on securityhealthsetup_a9b1a353945e3cc61ef19dcf0f78e199e1bd5c74.exe and run as administrator
All going well, Windows Security should now open.