Making Windows 8 Metro Apps Exempt to Loopback Restrictions

All the random crap I spend all day long figuring out.
Post Reply
User avatar
syntax
Site Admin
Posts: 54
Joined: Tue Jan 06, 2009 9:25 pm

Making Windows 8 Metro Apps Exempt to Loopback Restrictions

Post by syntax » Thu Oct 17, 2013 6:59 pm

If you have the windows firewall enabled you should be able to use this information here to make your applications exempt:

http://blogs.msdn.com/b/fiddler/archive ... ption.aspx

I was getting error trying to use those tools: "the utility was unable to collect a list of AppContainers on the system. (Netlso error code 0x6F4), unable to enumerate AppContainers"

I *think* this was because I have the windows firewall disabled and I couldn't enable it due to group policy restrictions. So I found another way to make them exempt.

Download and Fire up process monitor. Then in the process list, find the metro app you want to unblock. The end of the command line will indicate the metro app:
screen1.png
screen1.png (80.81 KiB) Viewed 4963 times
Then click the security tab and scroll down to AppContainer. Click on that and you'll get the SID. You can copy it:
screen2.png
screen2.png (44.5 KiB) Viewed 4963 times
Open an elevated command prompt window and type "CheckNetIsolation loopbackexempt -a -p=SID" where SID is the sid you just copied:
screen3.png
screen3.png (10.13 KiB) Viewed 4963 times
You can type "CheckNetIsolation loopbackexempt -s" to view all added exceptions.

Now you can use fiddler. Note that you may also have to do another hack to get the apps to use the proxy server: netsh winhttp import source=ie

see: http://superuser.com/questions/489527/h ... tem-ie-etc

Post Reply