Remote Desktop Connection Error Code 0x904 Extended Error Code 0x7 Best <Trusted Source>
: Some administrators have resolved this by ensuring TLS 1.2 is enabled via Group Policy on the server. Modify Security Layers : Open the Local Group Policy Editor ( gpedit.msc ).
Rename-Item -path "C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys" -NewName "MachineKeys_old" the server. www.remoteaccesspcdesktop.com 5. Adjust Security Layers (Legacy Support)
If connecting via a VPN, try bypassing the VPN (if connecting within the local network) to isolate if the VPN provider is throttling the RDP port. : Some administrators have resolved this by ensuring TLS 1
Enable and set it to RDP .
A mismatch in security protocols often causes the 0x7 error. You must ensure both the client and server are using compatible settings. A mismatch in security protocols often causes the 0x7 error
How to Fix Remote Desktop Error 0x904 (Extended Error 0x7) Getting the "This computer can't connect to the remote computer" message is a common headache for sysadmins and remote workers alike. When accompanied by and Extended Error Code 0x7 , the problem typically points to unstable network conditions, expired security certificates, or compatibility issues following a Windows 11 upgrade . 1. Fix Expired RDP Certificates
On the (your machine):
Restart the ( termserv ) via the Services app or PowerShell ( restart-service termserv -force ) to trigger the generation of a new certificate.
While standard RDP errors usually point to network issues, specifically points to an authentication and handshake failure . Essentially, your computer reached the server, but the server rejected the security credentials or the connection protocol. your computer reached the server
net stop termservice del /f /s /q /a "C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\*" net start termservice
: Use the Group Policy Editor ( gpedit.msc ) on the server. Navigate to Computer Configuration > Admin Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Security .