Fix Command Prompt Can't Connect to SQL Server - PowerShell Script Won't Run at Startup Windows 11-Troubleshooting RD Gateway Unavailable Code 500

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