Log into the affected host machine locally or via an alternative remote tool.
Open Command Prompt as Administrator and run: restart-service termserv -force . i remote desktop connection error code 0x904 install
Here is an informative breakdown of how to troubleshoot and fix this issue. Log into the affected host machine locally or