Remote Desktop Connection Error Code 0x904 Extended Error Code 0x7 Best High Quality ✧

Open gpedit.msc and navigate to: Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Security .

: Log into the affected server locally. Open Certificates MMC ( certlm.msc ), navigate to Remote Desktop > Certificates , and delete the expired certificate. Open gpedit

wmic /namespace:\root\cimv2\TerminalServices path Win32_TerminalServiceSetting where (__CLASS !="") call SetAllowTSConnections 1 navigate to Remote Desktop > Certificates