Remote Desktop can’t find the Computer through RDWeb and Gateway

Author by Shannon Fritz

Have you tried to use the “Connect to a remote PC” page of RDWeb and end up getting an error that “Remote Desktop can’t find the computer” ?

image

Chances are you are able to use the RemoteApp and Desktops tab just fine, but for some reason you cannot connect to any computer you type into that blasted “Connect to” field!

Just a guess here, but I would assume you have a Remote Desktop Gateway deployed and you are accessing RDWeb from outside the corporate network.  Am I right?  OK, one more guess, if you manually configure the gateway on the Remote Desktop Client (mstsc.exe) you are able to connect just fine…right?

image

So what’s going on here?  The gateway service is obviously working, which means there is probably something wrong with the RDWeb page.  To fix it, you need to open up the IIS console from your RD Web Access server.

image

Then navigate your way to Sites Default Web Site RDWeb Pages and double click the Application Settings icon.

image

Here you will see an empty Value for DefaultTSGateway.  Just double click that and enter in the external DNS name of your RD Gateway address.

image

Now you need only to refresh the RDWeb page and try connecting again, but this time it should work.

N’joy!

Author

Shannon Fritz

Infrastructure Architect & Server Team Lead