How to Fix Remote Desktop 'Connection Refused' or 'Permission Denied' - Fix PowerShell Authentication Failed Due to Expired Password-Fix Teams 504 Gateway Timeout 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.