Try using the Microsoft Store version of the Remote Desktop app , which often uses different connection protocols that bypass the bugs found in the legacy mstsc.exe client.
Because mstsc.exe runs as a child process of explorer.exe , a buggy shell extension can cause the RDP client to fail with code 0x904. The primary culprits are and Intel Graphics Shell Extension . i remote desktop connection error code 0x904 install
On the server side, to force compatibility, add: HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters . Create a DWORD AllowEncryptionOracle and set its value to 2 . This forces the server to accept vulnerable clients—use only in isolated, non-production environments. Try using the Microsoft Store version of the
While less common than errors like 0x204 or licensing issues, typically indicates a failure in the Remote Desktop Gateway handshake or a resource allocation interruption . When this error appears during an "install" scenario—whether you are trying to install an application via RDP or deploying RDP capabilities themselves—it points to a breakdown in the transport layer or security policy enforcement. On the server side, to force compatibility, add: