Remote Desktop Client - Using Local Proxy Settings
Good Morning Guys, I am trying to work out how to force the Remote Desktop Client (mstsc.exe) to use the local proxy settings of the desktop machine and connect though a proxy server. The Situation: There is a user that works offsite who need to remotely access our RDS Server via the RDS Gateway. The site that this use is situated on has a proxy server for all traffic and a firewall configured to only allow traffic from the proxy server. The client can access the RDWeb page and all the application icons however when they click on the icon the session fails. Running a netstat -an | find "externalIP" shows that the client is using port 443 however is trying to go directly to the IP address and not route though the proxy. This is also seen on the firewall. Currently the machine has been set to automatically detect proxy settings. I have changed this to manual proxy settings and un-selected the "Automatically Detect Proxy Settings" The client is running Windows XP with SP3 and we have also tried running a Windows 7 Machine with the latest patching and Remote Desktop Client. Any help would be appreciated.
June 11th, 2012 9:55pm

Perhaps you need set something like netsh winhttp set proxy myproxy.domain.com:443 Regards Milos
Free Windows Admin Tool Kit Click here and download it now
June 12th, 2012 1:57am

Hi Milos, When I ran the command I got an error saying that winhttp could not be found. I set the proxy settings with proxycfg.exe and still have the same issue where the rdp client tries to go to the direct address and not though the proxy.
June 13th, 2012 11:32pm

Hi, As far as I know, Netsh winhttp commands cannot work in Windows XP. Please try the command in Windows 7 machines and see how it works. However, if your clients are Windows XP, it is recommended to ask the question in Windows XP forum. Hope this helps. Jeremy Wu TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
June 14th, 2012 5:53am

Hi Jeremy, I have tried to the commands on a Windows 7 Machine which appeared to have the same effect as the proxycfg on the Windows XP Machine. In both these cases, the RDP client still tried to route directly to the destination and not use the proxy.
June 25th, 2012 10:04pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics