jwrightmail
jwrightmail

Reputation: 927

How to programmatically set Fiddler Win8 Loopback Exemptions?

We need to ensure that fiddler is exempting all apps for every build.

enter image description here

What we’re noticing is after we do the initial exempt all, and after a couple of builds, our tests fail because some apps are no longer exempted.

We want a programmatic way to check and set the exemptions before each test run to ensure all apps are included.

I’ve searched the registry and it appears that its not using a configuration file.

Has anyone, ever, been able to programmatically set fiddler exemptions?

Upvotes: 2

Views: 1508

Answers (2)

EricLaw
EricLaw

Reputation: 57085

EnableLoopback.exe is a command-line utility included with Fiddler.

Simply run it with the -all command-line argument to automatically exempt all application packages. Alternatively, CTRL+Click the WinConfig button in the Fiddler toolbar (which simply runs enableloopback.exe -all itself).

Upvotes: 2

jwrightmail
jwrightmail

Reputation: 927

The solution is posted here :

https://msdn.microsoft.com/en-us/library/windows/apps/hh780593.aspx

Get installed packages:

get-appxpackage | ?{$_.PackageFamilyName -like '*<filter>*'} | select packagefamilyname

Adds an exemptions for the package:

CheckNetIsolation.exe LoopbackExempt –a –n=<PackageFamilyName>

Deletes an exemption for the package:

CheckNetIsolation.exe LoopbackExempt –d –n=<PackageFamilyName>

Upvotes: 1

Related Questions