Using the WIN8 and WIN10 applications will find that if you set up a network proxy, such as a PAC or localhost proxy server, the app will not be able to access the network
The reason is that these apps are running in a sandbox virtual environment and cannot access localhost. Therefore, the agent cannot be used.
In fact, the system has a set option for these apps, which can be modified using CheckNetIsolation.exe.
Use the following:
CheckNetIsolation.exe loopbackexempt-a-n=microsoft.windowscommunicationsapps_xxxxxxxx
-N is the package name, which is obtained in the "%userprofile%\appdata\local\packages" folder
If the batch setup is a bit cumbersome, so write a VBS script, the code is as follows:
A = MsgBox ("Click ' Yes ' to enable all Windowsapp to delegate access to the network," & vbCrLf & vbCrLf & "Click ' No ' to clear all Windowsapp proxy access to network permissions! ", 51," Make Windowsapp Get proxy permissions ") If a = 2 then Wscript.quitset ws=wscript.createobject (" Wscript.Shell ") If a = 6 thenw=ws. ExpandEnvironmentStrings ("%userprofile%\appdata\local\packages") Set Fso=wscript.createobject (" Scripting.FileSystemObject ") Set Fs=fso. GetFolder (w) Set F=fs. Subfoldersset ff = Fso.createtextfile (ws. ExpandEnvironmentStrings ("%temp%\windowsappproxyaccess.bat")) for each uu in FFF. WriteLine ("CheckNetIsolation.exe loopbackexempt-a-n=" & Uu.name) Nextff.writeline ("Del%0") CreateObject (" Shell.Application "). ShellExecute ws. ExpandEnvironmentStrings ("%temp%\windowsappproxyaccess.bat"), "", "" "," RunAs ", 1elseif a = 7 Thencreateobject (" Shell.Application "). ShellExecute "CheckNetIsolation.exe", "Loopbackexempt-c", "" "," runas ", 1end if
Save as a. vbs file, and CheckNetIsolation.exe will ask for administrator privileges during the process.
Win8 and WIN10 application proxy access Network (no third-party tools)