Microsoft KB Archive/885683

= You receive error messages if the Internet Security and Acceleration Server 2004 Firewall Client program is configured for auto-discovery or if you try to configure this program for auto-discovery =

Article ID: 885683

Article Last Modified on 4/20/2006

-

APPLIES TO


 * Microsoft Internet Security and Acceleration Server 2004 Standard Edition
 * Microsoft Internet Security and Acceleration Server 2004 Enterprise Edition

-



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
If the Microsoft Internet Security and Acceleration (ISA) Server 2004 Firewall Client program is configured for auto-discovery, you may experience the following symptoms:  If Microsoft Internet Explorer is not configured to use a proxy or to detect a proxy, you cannot access a Web pages when you use Internet Explorer. Additionally, you receive the following error message:

Cannot find server or DNS Error

 A red &quot;X&quot; appears over the Firewall Client icon. You can find the Firewall Client icon in the notification area at the far right of the taskbar. If you pause the mouse pointer on the Firewall Client icon, you receive the following error message:

Disabled: Cannot authenticate to ISA Server



If you try to configure the ISA Server 2004 Firewall Client program for auto-discovery, you may experience the following symptoms:  If you try to configure the Firewall Client program to use auto-discovery by clicking Detect Now under Automatically detect ISA Server on the General tab, you receive the following error message:

Failed to detect ISA Server

 A red &quot;X&quot; appears over the Firewall Client icon. You can find the Firewall Client icon in the notification area at the far right of the taskbar. If you pause the mouse pointer on the Firewall Client icon, you receive the following error message:

Disabled: ISA Server could not be detected





CAUSE
This issue occurs if the IFPCEEWebProxy.SkipAuthenticationForRoutingInformation property is set to FALSE in ISA Server 2004. This problem occurs when the following conditions are true:
 * The Firewall Client program is configured to use auto-discovery.
 * The Require all users to authenticate Web Proxy setting is configured for the internal network object on the ISA Server 2004 computer.

Note The Require all users to authenticate setting is available when you click Authentication on the Web Proxy tab when you view the properties of the internal network object.

These conditions cause this problem because the Firewall Client program cannot perform HTTP authentication. When the Require all users to authenticate setting is enabled for the internal network object, the request to the Winsock Proxy Autodetect (WSPAD) port must be authenticated also. However, the Firewall Client program does not handle the &quot;401 Authentication Required&quot; response. Therefore, when the Firewall Client program tries to retrieve the Wspad.dat file from the Web Proxy Automatic Discovery (WPAD) server during the auto-discovery process, the auto-discovery process fails.



RESOLUTION
To resolve this issue, set the IFPCEEWebProxy.SkipAuthenticationForRoutingInformation property to TRUE. To do this, follow the instructions in this section.

Service pack information
To resolve this problem, obtain the latest service pack for ISA Server 2004. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

891024 How to obtain the latest ISA Server 2004 service pack

Installation information
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

You must have ISA Server 2004 Service Pack 1 or a later ISA Server 2004 service pack installed to resolve this issue. After you install the latest ISA Server 2004 service pack, set the value of the SkipAuthenticationForRoutingInformation registry entry to a value of 1 or to a higher value to skip authentication for routing information. Set this value even if the Internal network object is configured to require all users to authenticate. To configure this registry entry, follow these steps. <ol> Click Start, click Run, type regedit, and then click OK.</li> Locate the following registry subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentContolSet\Services\W3Proxy\Parameters

</li> If the Parameters key does not exist, follow these steps: <ol style="list-style-type: lower-alpha;"> Right-click W3Proxy, point to New, and then click Key.</li> Type Parameters as the key name, and then press ENTER.</li></ol>

If the Parameters key does exist, right-click Parameters, point to New, and then click DWORD Value.</li> Type SkipAuthenticationForRoutingInformation as the entry name, and then press ENTER.</li> Right-click SkipAuthenticationForRoutingInformation, and then click Modify.</li> In the Value data box, type a value of 1 to enable the registry setting, and then click OK.

Note To enable or to disable the registry setting, use the following guidelines. </li> Exit Registry Editor.</li> Restart the Microsoft Firewall service. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type services.msc, and then click OK.</li> Right-click Microsoft Firewall, and then click Restart.</li></ol> </li></ol>

ISA Server 2004, Enterprise Edition
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. <ol>  Copy the following Microsoft Visual Basic Scripting Edition (VBScript) code to a text editor such as Notepad.exe, and then use a .vbs extension to save the file. set ar = WScript.CreateObject( &quot;FPC.Root&quot; ).GetContainingArray set wp = ar.ArrayPolicy.WebProxy wp.SkipAuthenticationForRoutingInformation = True wp.Save </li> Double-click the .vbs file to run the script.</li> Restart the Microsoft Firewall service. To do this: <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type services.msc, and then click OK.</li> <li>Right-click Microsoft Firewall, and then click Restart.</li></ol> </li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in ISA Server 2004 Service Pack 1.

<div class="moreinformation_section">

MORE INFORMATION
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

889035 Users are prompted for authentication credentials when Internet Explorer is configured for automatic discovery in ISA Server 2004

Keywords: kbbug kbfix kbqfe kbfirewall kbisaserv2004stdsp1fix KB885683

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.