Here is how we fix that. From an elevated Powershell prompt type Install-WindowsFeature RSAT-RDS-Gateway. On a slow server, this can take a few minutes to complete. Install-WindowsFeature RSAT-RDS-Gateway Once this has been completed you see this From Administrative Tools start Remote Desktop Gateway Manager RD Gateway Server is complaining that ‘something’ is not good. Right-click as in the screenshot and choose Properties. Choose tab SSL certificate and click Import Certificate’. Choose the certificate issued to remote.domain.com and click Import. It should now show your remote.domain.com certificate as shown in the screenshot. Run the Repair Anywhere Access wizard again and now it should complete without any issues.