Using the ‘Connect to a remote PC’ page in RDWeb Remote Desktop Web on Windows Server 2012

The Remote Desktop web site, which is a component of Remote Desktop Services in Windows Server 2012 and 2008, has a page called ‘Connect to a remote PC’.


This page will allow you to connect to servers or computers behind your Remote Desktop Gateway server, which is a handy feature if users need to connect to a full remote desktop behind the gateway, rather than just a remote app. This will also allow you to connect to your servers on an internal network directly, even if you are behind a web proxy server, so can be useful for remote management purposes when connected to a corporate network.

However, by default, this page will only allow you to connect to local resources, and will not use the gateway server.

To fix this, you need to make a change in IIS:

  • On your RD Web Access server, open IIS Manager
  • In the left pane, navigate to and Sites\Default Web Site\RDWeb\Pages
  • In the middle pane, double-click on Application Settings
  • Double-click on DefaultTSGateway and enter the external FQDN of your RD Gateway
  • Refresh the RDWeb page on the client and then test using an external client


Now, to connect to other machines on your network other than ones already in your RDSH farm, you also need to modify the RD Gateway policies to allow you to connect to those other resources. You probably already have an AD group configured in your RD Gateway policies, and you can just add to this group, but in case you don’t then can configure this as follows:

  • Create a new group in AD called e.g. SERVERNAME RD Gateway allowed servers, where SERVERNAME is the name of your RD Gateway server.
  • Add all the servers that you want to be able to connect to into this group. For a start this should include all of your RDSH servers, but you can also add other Windows servers on the network.
  • Open RD Gateway Manger (in the Tools/Terminal Services menu in the Server Manager in 2012), expand Policies, and click on the Resource Authorization Policy
  • On the Network Resource tab, change the AD group to SERVERNAME RD Gateway allowed servers
  • Note that you could also do this using an RD Gateway-managed group if you are using that feature


You will now be able to connect to any servers that are a member of this group using the ‘Connect to a remote PC’ page in RDWeb. You should be able to use the internal NETBIOS name of the servers, no need to use the FQDN.

3 thoughts on “Using the ‘Connect to a remote PC’ page in RDWeb Remote Desktop Web on Windows Server 2012”

  1. Greetings from California! I’m bored to tars at work
    so I decided to browse your website on my iphone during lunch break.
    I love the information you provide here and can’t wait to
    take a look when I get home. I’m amazed at how fast your blog loaded
    on my ceell phoje .. I’m not even using WIFI, just 3G .. Anyhow, great site!

  2. I was pretty pleased to find this page. I need to to
    thank you for ones time for this fantastic read!!
    I definitely enjoyed every part of it and I have you bookmarked to see new things
    in your blog.

Leave a Reply

Your email address will not be published. Required fields are marked *