I Remote Desktop Connection Error Code 0x904 Install [2021] -
Search for "Allow an app through Windows Firewall" in the Start menu.
Restart your connection and attempt the install again.
By following these steps, you should be able to resolve the "i remote desktop connection error code 0x904 install" issue, whether it stems from a bad configuration file or network problems.
In the "Computer" field, enter the (e.g., 192.168.1.50 ) instead of the computer name. 3. Fix Corrupt MachineKeys (Azure VMs) i remote desktop connection error code 0x904 install
Press , type certlm.msc , and hit Enter to open the Certificates console. Navigate to Remote Desktop > Certificates . Right-click the expired certificate and select Delete .
Right-click the Start menu and select or Command Prompt (Admin) . Type the following command and press Enter : sfc /scannow Use code with caution.
If you are using an , the 0x904 error often stems from a corrupt certificate store that prevents the RDP service from reading private keys. Search for "Allow an app through Windows Firewall"
Missing or damaged system files preventing the RDP protocol from initializing. Step-by-Step Solutions to Fix Error 0x904
To resolve error code 0x904, you'll need to install the necessary updates on both the client and server machines. Here are the steps:
Windows will automatically generate a new, valid self-signed certificate. 2. Connect via IP Address instead of Hostname In the "Computer" field, enter the (e
:: Check for read-only System32 attrib %WinDir%\System32\mstsc.exe
: Rename-Item -path "C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys" -NewName "MachineKeys_old"
Ensure the Windows Firewall allows RDP traffic. While port 3389 must be open, the recommended approach is to allow the Remote Desktop app:
Open Command Prompt as administrator and run: net stop termservice then net start termservice .