The Remote Desktop Gateway service cannot determine the version of Windows that this computer is running. Therefore, users ...

The Remote Desktop Gateway service cannot determine the version of Windows that this computer is running. Therefore, users cannot connect to this RD Gateway server. To resolve this issue, please contact Microsoft Product Support Services. The following error occurred: "%2".