Overriding the Default PAC File in Edge

Last Updated : Jan 22, 2021 |
Prolog information
Use this process with Edge if it is already configured to use an existing .pac file that cannot be changed.
Tip:
  • Once this process has been tested successfully, the commands can be saved in a script/batch file for future use.
  1. Obtain the address for the COM .pac file. See Getting the COM PAC File Address.
  2. Access the Windows command line.
    1. Right-click on the start icon and select Run.
    2. Enter cmd and click Open.
    3. The Command Prompt window is opened.
  3. Navigate to the folder in which the Edge browser application has been installed. In it default folder, this can be done with the command cd C:\Program Files (x86)\Microsoft\Edge\Application.
  4. Launch the browser with the .pac file using the command:
    ADDITIONAL INFORMATION:
    msedge.exe --proxy-pac-url=<pac-file-url>
    where:
    • <pac-file-url> is the web address of the .pac file provided by the COM service. For example; https://admin.example.com/com/remoteproxy/proxy.pac.
    For example:
    msedge.exe --proxy-pac-url=https://admin.example.com/com/remoteproxy/proxy.pac
Next steps