Monday 19 May 2014

How to Setup Proxy for Metro application in Windows 8

Today, we’ll discuss how to enable or configure Proxy Server for Metro applications in Windows 8. By default we can setup Proxy for Internet Explorer, but for some reason it’s not working correctly for Metro application. When I tried it initially, I received the following error: Your PC isn’t connected to the Internet. To use the Store, connect to the Internet and then try again.
After searching online for a while I found some working methods. One is to use the Netsh command and import proxy settings from Internet Explorer to WinHTTP and the other is tomanually configure the Proxy settings the same way as in Windows 7, in the registry or viaGroup Policy settings. You can try any of the 3 methods.

Manually configure Proxy settings

In this method we’ll create a predefined registry configuration and import into registry. So first let’s make a backup of your registry.
  • Press Win + R  and type in Regedit
  • Go to File and click on Export
  • Under export range select “All”
image thumb13 How to Setup Proxy for Metro application in Windows 8

  • Type in the file name and click on Save
Now that we have made a backup close the registry editor and open a Notepad and copy the following text:
Regedit4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"MigrateProxy"=dword:00000001
"ProxyEnable"=dword:00000001
"ProxyHttp1.1"=dword:00000000
"ProxyServer"="http://ProxyServername:80"
"ProxyOverride"="<local>"
Replace “http://ProxyServername:80” with your Proxy name.
  • Now go to File and click on Save As
  • Change the file type to All Files
  • Type in ProxyConfig.reg and click on Save.
Now that you have saved the file just double click on ProxyConfig.reg and click Yes.Alternatively, open Registry and go to File and Import and import the file from there. Reboot your PC and test it again.

Using Netsh command to import proxy settings from Internet Explorer to WinHTTP

The next method is using command prompt using Netsh command. Before you do this setup your Internet Explorer with your Proxy settings. Then follow these steps:
  • Press Win + X and click on Command Prompt (Admin)
  • Type in Netsh winhttp import proxy source=ie
  • Close the Command prompt and restart your PC
Now the Metro should recognize your Proxy settings. In case if you want to reset the Proxy in command prompt type in Netsh winhttp reset proxy command

Using Group Policy Editor

The last method is to use Group Policy Editor to configure the Proxy settings.
  • Press Win + R and type in GPEDIT.MSC
  • Go to Computer Configuration –> Administrative Template –> Network –> Network Isolation
image thumb14 How to Setup Proxy for Metro application in Windows 8
  • Select Internet Proxy Servers for apps
image thumb15 How to Setup Proxy for Metro application in Windows 8
  • Click on Enabled and type in your Proxy address under “Domain Proxies”
  • Click on Apply and click OK and reboot your PC
I hope you find this tip helpful. If you find any difficulty following this or if it’s not working do let us know.

Source: http://www.thewindowsclub.com/setup-proxy-metro-application-windows-8

No comments:

Post a Comment