Windows Security Troubleshooting Guide - How to Resolve WinSCP Permission Denied (Code 3)-Windows Security 502 Bad Gateway Fix

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