The Internet Information Services (IIS) settings that are required for RD Gateway to function correctly could not be configured. ...

The Internet Information Services (IIS) settings that are required for RD Gateway to function correctly could not be configured. To resolve this issue, open Remote Desktop Gateway Manager. When you open Remote Desktop Gateway Manager, it verifies whether the IIS settings are correctly configured, and if the settings are not correctly configured, it configures the settings automatically.