PAC file with registry setting

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • In this proxy configuration, the Proxy Auto-Configuration (PAC) file can be configured in Password Reset Windows Application registry settings.

    The name of the registry setting enables the proxy via PAC file is UseProxyAutoConfigScript. The PAC script location (URL) can be provided in the ProxyServer setting. The reference configuration is provided as shown in the following image:PAC registry settings

    Registry setting to configure proxy via PAC

    • ProxyEnable – <true>

      Enables the proxy on application level.

    • ProxyServer – <PAC file URL>

      Initialize the PAC file location here.

    • UseProxyAutoConfigScript – <true>

      If set to true, it indicates that the address provided in the ProxyServer registry setting is PAC script.

    How it works

    The PAC file provided in the ProxyServer registry setting is used to get the actual target proxy server address for a URL (In this case, the ServiceNow instance) based on the PAC file script configuration. The PAC file script must return a valid Proxy server address for a provided ServiceNow URL to make the application work.

    The target proxy address is cached for a URL in the machine. The caching behavior is applicable for the browsers as well. The ServiceNow® Password Reset Windows Application behaves the same as the Internet Explorer browser. That is, if the URL is accessible via a browser, then it's accessible via the app as well.
    Remarque :
    It is not necessary to configure the proxy setting in Internet Explorer as the APP is reading the PAC file script via a registry.