Based on the error dialog, the issue matches the generic “Remote Desktop can't connect to the remote computer for one of these reasons” problem. The context shows that the most common root causes are:
- The RDP‑TCP listener on the server isn’t working
- Network/firewall/port 3389 issues
- Misconfiguration of Remote Desktop roles, certificates, or services
A focused troubleshooting path on the Windows Server 2022 side is:
- Confirm the server is running and reachable
Since the iPad client connects successfully, the server is powered on and reachable over the internet/VPN. That points away from power/state issues and toward listener or Windows‑client/network differences. - Verify the RDP‑TCP listener on the server
On the server, open an elevated Command Prompt and run:
Ensure there is a line like:qwinsta
Ifrdp-tcp 65536 Listenrdp-tcpis not inListenstate, follow these checks on the server:- Registry:
-
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp→fEnableWinStation=1 -
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server→fDenyTSConnections=0 - If present,
HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services→fDenyTSConnections=0
-
- Services: make sure these are running:
- Remote Desktop Services (TermService)
- Remote Desktop Services UserMode Port Redirector (UmRdpService) If changes are made, restart Remote Desktop Services.
- Registry:
- Test from the server itself (loopback)
On the server console (or out‑of‑band console like iLO/Hyper‑V):
- Press
Win + R, typemstsc, press Enter. - In Computer, enter
localhostand connect.
- If this fails with the same error, the problem is on the server (listener/configuration). Continue with steps 2 and 5–6 below.
- If this succeeds, the listener is healthy and the problem is network/firewall/DNS between the Windows PCs and the server.
- Press
- Check network connectivity and port 3389 from a Windows PC
From a Windows 10/11 machine in the same network path as the iPad (same LAN or same VPN), open elevated PowerShell and run:
Test-NetConnection -ComputerName <server-ip-or-dns> -Port 3389 -InformationLevel Detailed- If
TcpTestSucceeded = True, connectivity to port 3389 is fine; go to step 6. - If
TcpTestSucceeded = False, there is a network or firewall issue; go to step 5.
- If
- Firewall / NSG / security device checks
On the server:
- Open
wf.msc→ Inbound Rules and confirm these rules are enabled for all profiles:- Remote Desktop - User Mode (TCP-In)
- Remote Desktop - User Mode (UDP-In)
- Or in elevated PowerShell:
Get-NetFirewallRule -DisplayGroup "Remote Desktop" | Set-NetFirewallRule -Enabled True - If testing requires, temporarily disable Windows Firewall (be aware this is risky on internet‑facing servers):
Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False
- Open
- Confirm the RDP port and port ownership
On the server, verify the RDP port in the registry:
-
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp→PortNumbershould be0x00000d3d (3389). - If a non‑default port is configured, the Windows clients must connect as
server:port.
The PID fortasklist /svc | findstr TermService netstat -anob | findstr 3389TermServicemust match the PID listening on 3389. If another process is using 3389, stop that process and restart Remote Desktop Services. -
- Check Remote Desktop certificate and roles on the server
If the listener and network are fine but Windows clients still fail while iPad works, check for server‑side RDS configuration issues:
- In the Certificates MMC (Computer account → Local computer → Remote Desktop), delete the RDP self‑signed certificate and restart Remote Desktop Services so it is re‑created.
- In Server Manager → Manage → Remove Roles and Features → Server Roles → Remote Desktop Services, remove any unnecessary RDS roles (for example, Connection Broker) that are not part of a full RDS deployment, then restart the server.
- If all checks pass but MSTSC still fails
The context recommends contacting Microsoft Support if:
- The RDP‑TCP listener is working
-
Test-NetConnectionto the server on 3389 succeeds - And the issue persists
-
qwinstaoutput -
Test-NetConnectionoutput from a failing Windows client -
netstat -anobandtasklist /svcoutput from the server
Following these steps isolates whether the failure is due to the server’s RDP listener, network/firewall, or an RDS configuration issue, and aligns with the documented troubleshooting flow for this exact error.
References:
- Remote Desktop can't connect to the remote computer
- Verify if the error is related to the RDP-TCP listener
- Verify if the error is related to network
- Verify machine's configurations and roles
- Frequently asked questions about the Remote Desktop clients
- General Remote Desktop connection troubleshooting