Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm behind an authenticated proxy, and I'm planning on installing Windows 8. I know that one can set the proxy settings for the apps via netsh winhttp.

I remember that one cannot set authentication settings via netsh (atleast not on Windows 7, I doubt it has changed), so is there any other way to do this that works with authentication?

share|improve this question
    
Is it for metro or desktop applications ? –  harrymc Oct 21 '12 at 17:03
    
    
@TomWijsman: Not understood your doubt, but in your link the answer by Rugved Likhite using CCProxy seems useful for both types of applications. You might post it as an answer. –  harrymc Oct 22 '12 at 5:51
    
@harry It's for the metro apps. –  Manishearth Oct 22 '12 at 8:08
    
@Manishearth: The answer found by TomWijsman converts an authenticating proxy into non-authenticating, so can solve your problem. –  harrymc Oct 22 '12 at 8:19
show 1 more comment

1 Answer

up vote 5 down vote accepted
+50

Seems I've scanned the link I've found earlier a bit too fast and there is indeed an answer there:

I am using Windows 8 Professional RTM behind my campus proxy. It's a squid proxy with basic authentication.

  1. Install CC Proxy. This software created a local proxy server on my PC. I used my own IP address as my proxy server in LAN settings and this enabled me to access the internet without asking for proxy everytime as CCproxy used my campus proxy as the cascading proxy.

  2. Type in the netsh command in prompt so that the apps start using the local proxy. (no authentication on local proxy due to CC Proxy)

    netsh
    winhttp
    import proxy source=ie
    
  3. Metro apps are programmed to prevent access of internet through a local proxy. Download 'Loopback Exemption Utility'.

    This allows metro apps to access internet through your locally created proxy. Refer to SKuzn's post. Everytime you install a new metro app from the store, you need to exempt it for accessing internet through local proxy by using the Loopback Exemption Utility.

  4. Also, set

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet\EnableActiveProbing
    

    to 0 and then go enable the following options in the Group Policy:

    1. Open "Local Group Policy Editor" (gpedit.msc)
    2. Navigate to "Computer Configuration - Administrative Templates - Network Isolation".
    3. Enable "Proxy Definitions Are Authorative" and "Subnet definitions are authorative".

Source: MS Social Technet: proxy settings for metro apps (Modified, doesn't only apply to Metro)

share|improve this answer
1  
I'd actually solved this by doing something similar-- I installed squid on a different machine on campus (always on) and used that as a proxy –  Manishearth Oct 22 '12 at 12:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.