Fix Windows Security Module Service Not Running - Troubleshoot Windows Security Antivirus Detection Issues-Resolve 502 Bad Gateway in Windows Defender

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.