Fix Windows Activation 502 Bad Gateway via Command Prompt - How to Clear Windows Security Threat History That Won't Delete-How to Restore Windows Defender Offline Scan After Update

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