I Remote Desktop Connection Error Code 0x904 Better

In the Azure Portal, use to rename the MachineKeys folder with this PowerShell script: Rename-Item -path "C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys" -NewName "MachineKeys_old" , then reboot.

After fixing the connection, revert this policy to “Not Configured” or “Mitigated” to restore security. This is better than leaving your machine vulnerable indefinitely. i remote desktop connection error code 0x904 better