Expired certificates are a major culprit. On the remote computer: Certificates (Local Computer) by running certlm.msc Navigate to Remote Desktop > Certificates If a certificate is expired, delete it. Restart the Remote Desktop Services TermService ) via the Services app to automatically generate a new one. Use the Microsoft Store RDP App Users have reported that the Microsoft Remote Desktop app from the Windows Store often works when the built-in client fails due to these specific error codes. Allow Through Firewall Ensure RDP is permitted on both machines:
Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp Find the SecurityLayer DWORD. Expired certificates are a major culprit
Local or network firewalls blocking the RDP port (3389). Step-by-Step Troubleshooting Guide Follow these steps to resolve the 0x904/0x7 error. 1. Fix VPN and Network Issues Since this error is often network-related, start here: Use the Microsoft Store RDP App Users have