Identify the expired certificate, right-click it, and select .
For those using Azure, error 0x904 often stems from a corrupt folder, which prevents the system from generating new certificates. The PowerShell Fix: i remote desktop connection error code 0x904 better
Reboot the VM. The system will recreate the folder and the necessary keys upon startup. 3. Advanced Firewall & Anti-Virus Exceptions Identify the expired certificate, right-click it, and select