Restart Remote Desktop Services via Command Prompt (Admin): restart-service termserv -force to trigger a new auto-generated certificate.
Open the Certificate Manager ( certlm.msc ) on the . Go to Remote Desktop > Certificates . If the certificate is expired, delete it. i remote desktop connection error code 0x904 better
Related search suggestions sent.
: Many users on Windows 11 (specifically builds 22H2 and later) encounter 0x904 due to a bug in hostname resolution. Restart Remote Desktop Services via Command Prompt (Admin):