Fix Windows Security Settings Not Loading or Resetting - How to Fix Windows Defender Startup Configuration Error-Checklist for Debugging 502 Bad Gateway in Command Prompt

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