Well, to connect to the PC, you need to verify several conditions first like system should be turned on, the remote desktop must be enabled, it has the network connection, must have network access to the remote computer and also have the permission to connect to another device.
If, this all works fine then reset the remote desktop connection for your account to do so follow the steps.
- Press Windows + S > type Remote Desktop > Enter.
- Now open the app in question > move to the Remote Desktop connection that you need to delete.
- And click on an icon (three horizontally aligned dots)
- Choose the Remove option > close the Remote Desktop app.
Now open the app ad set up the connections you have deleted earlier.
Hope the issue is resolved now but if not then follow other tested solutions in the article: https://www.fixwindowserrors.biz/blog/resolve-remote-desktop-error-code-0x204