Archive

Posts Tagged ‘web proxy client. WINHTTP’

Windows 8 Modern UI Apps and Forefront TMG 2010

November 15, 2012 6 comments

On a Windows 8 client deployed behind a Forefront TMG 2010 firewall, users may receive the following error when trying to open the Windows Store app.

You’re PC isn’t connected to the Internet. To use the Store, connect to
the Internet and then try again.

Other Windows 8 “modern UI” applications may experience similar behavior if they require access to resources on the public Internet. However, you are able to access the Internet using both the modern UI and desktop versions of Internet Explorer 10.

The problem occurs when the Forefront TMG 2010 firewall is configured to require authentication on rules controlling access to the Internet over HTTP and HTTPS, or if the option to require all users to authenticate is enabled on the web proxy listener (which isn’t a good idea!). Authenticated web proxy access requires that client be configured either as a web proxy client or as a firewall client. Internet Explorer can be configured as a web proxy client, typically using automatic configuration (WPAD) through DNS or DHCP, but Windows 8 modern UI applications do not inherit Internet Explorer proxy server settings. As such, they behave as SecureNAT clients which do not support authentication. To resolve this issue, run the following command from an elevated command prompt on the Windows 8 client.

netsh winhttp set proxy <tmg_hostname_or_IP_address>:<web_proxy_listener_port>

For example…

netsh winhttp set proxy tmg.richardhicks.net:8080

More information about configuring WINHTTP can be found here.

Another workaround is to install the Forefront TMG 2010 firewall client. This will ensure that all outbound communication through the Forefront TMG firewall is always authenticated.