Fix Missing Windows Security Real-Time Protection Toggle - Fix 'Access Denied' on Windows Security Log-Fix Windows Defender 502 Bad Gateway Error

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