I have a google cloud server, I've been using it for months and I always connect to it by downloading the RDP file and it always worked.

But today I'm getting this error message when I try to connect.

Remote Desktop can't connect to the remote computer for one of these reasons:

1) Remote access to the server is not enabled
2) The remote computer is turned off
3) The remote computer is not available on the network

Make sure the remote computer is turned on and connected to the network, and that remote access is enabled.

I didn't change any setting, I tried everything, reset the server, create a new instance, deactivate my firewall, nothing has worked so far...


Solution 1:

I will suggest you to reset your windows password first by doing it in the console by clicking on the arrow next to the "RDP" button and select "Set Windows password" a new password will be generated for you (assuming that your firewall rule is set correctly to allow the port 3389).

If the RDP is not enabled I suggest you to run the "mstsc /admin" in your client computer (as Microsoft described). This should allow you to open an Admin RDP session and a Powershell command line popup (in case for a recovery) and see this document.