Microsoft KB Archive/258646

= "Use Automatic Discovery for Dial-Up Connections" Policy Does Not Apply =

Article ID: 258646

Article Last Modified on 8/6/2002

-

APPLIES TO


 * Microsoft Internet Explorer Administration Kit 5.01

-



This article was previously published under Q258646



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
When you create a build of Microsoft Internet Explorer by using Internet Explorer Administration Kit (IEAK) version 5.01 as a corporate administrator, setting the "Use Automatic Discovery for Dial-Up connections" policy during stage 5 ("System Policies and Restrictions") may have no effect.



CAUSE
The policy in IEAK 5.01 is writing to the following registry key per the Inetres.inf file, but this is incorrect:

HKCU,"Software\Microsoft\Windows\CurrentVersion\Internet Settings","DialupAutodetect",0x10001,1,0,0,0



RESOLUTION
Create your IEAK package with IEAK version 5.5. Build a custom Internet Explorer version 5.5 package to deploy to your users. The policy writes to the correct registry key.



WORKAROUND
There are two workarounds. You can either manually edit the Inetres.adm file on the IEAK 5.01 build computer before creating your package, or you can manually edit the registry on the client computer after installing your custom package.

Edit the Inetres.adm File Before Building the Package
 Open the Inetres.adm file with any text editor (such as Notepad) in the following folder

Program Files\IEAK\Policies\

where  is the folder for the language you are using (for example, EN for English).

 Locate the following section of the file:

CATEGORY !!DialupSettings

KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings"

POLICY !!DialupSettings

PART !!AutoDetectSettingsForDialup CHECKBOX

VALUENAME DialupAutodetect

VALUEON NUMERIC 1

VALUEOFF NUMERIC 0

END PART

END POLICY

END CATEGORY

 Change the reference to the registry so that it writes to the correct key as shown below:

CATEGORY !!DialupSettings

KEYNAME "Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings"

POLICY !!DialupSettings

PART !!AutoDetectSettingsForDialup CHECKBOX

VALUENAME DialupAutodetect

VALUEON NUMERIC 1

VALUEOFF NUMERIC 0

END PART

END POLICY

END CATEGORY

 Save the modified Inetres.adm file and then build your IEAK package.

Modify the Registry After Installing the Package
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To work around the issue, create the following registry path manually:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings","DialupAutodetect",0x10001,1,0,0,0

<div class="moreinformation_section">

MORE INFORMATION
Either workaround applies to both existing and new connections created on the client computer that are present after the installation of Internet Explorer 5 and later.

Keywords: kbenv kbprb KB258646

-

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

© Microsoft Corporation. All rights reserved.