Settings for Client for Microsoft Networks and for File and Print Sharing for Microsoft Networks are linked in Windows XP and in Windows 2000 (833442)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows XP Professional

SYMPTOMS

You cannot separately enable or disable the following dial-up networking features:
  • Client for Microsoft Networks
  • File and Print Sharing for Microsoft Networks
For example, you cannot enable Client for Microsoft Networks and disable File and Print Sharing for Microsoft Networks. This is true if you use Group Policy settings, or if you use the remote access API to change the feature settings.

CAUSE

Group Policy settings use the remote access API. Group Policy settings have only a single bit available to store the settings for both Client for Microsoft Networks and File and Print Sharing for Microsoft Networks. These features are a pair from a programmatic point of view. Therefore, you cannot use the remote access API to change settings for only one of these features.

WORKAROUND

To work around this behavior, follow these steps:
  1. Click Start, point to Settings, and then click Control Panel.
  2. Double-click Internet Options. On the Connections tab, select your connection, and then click Settings.
  3. Click Properties, click the Networking tab, and then enable or disable the appropriate features.
The changes that you make are stored in a .pbk file on your local hard disk. The .pbk file stores most of the connection properties that you require. The file also provides functionality that is not available by using Group Policy.

After you make changes, you can copy the .pbk file to All Users. To apply these changes to an individual user, copy the .pbk file to the usesrname\Application Data\Microsoft\Network\Connections\Pbk\ folder, where usesrname is the name of the user's account. By default, the file name is Rasphone.pbk. Any file name with a .pbk extension will work.

STATUS

This behavior is by design and will not change for Microsoft Windows 2000 or for Microsoft Windows XP.

MORE INFORMATION

Microsoft does not recommend that you edit the .pbk file manually. To avoid syntax errors and duplicate connection guids, use Internet Options in Control Panel.

When you enable Client for Microsoft Networks and disable File and Print Sharing for Microsoft Networks, you change the following values in your .pbk file:

NETCOMPONENTS=
ms_server=0
ms_msclient=1
1 is enable and 0 is disable



Note Proxy settings (name, port, and automatic configuration script) are stored with the connection name in the following registry subkey:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections

REFERENCES


For additional information about the Remote Access service, visit the following MSDN Web site:
For additional information about the RSAENTRY structure, visit the following MSDN Web site:

Modification Type:MinorLast Reviewed:2/2/2004
Keywords:kbprb kbpolicy kbGRPPOLICYprob kbGRPPOLICYinfo KB833442 kbAudITPRO kbAudDeveloper