Sometimes, Windows blocks RDP connections if an installation process is already hanging or if the "Active Setup" for a user profile is corrupted.
often uses different networking code that bypasses this specific error. Microsoft Learn PowerShell commands to verify if your RDP port (3389) is currently listening? Fix Remote Desktop Error Code 0x904: 4 Working Solutions i remote desktop connection error code 0x904 install