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

Article translations Article translations
Article ID: 833442 - View products that this article applies to.
Expand all | Collapse all

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=0ms_msclient=11 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:
http://msdn2.microsoft.com/en-us/library/ms879946.aspx

For additional information about the RSAENTRY structure, visit the following MSDN Web site:
http://msdn2.microsoft.com/en-us/library/aa377274.aspx

Properties

Article ID: 833442 - Last Review: May 29, 2007 - Revision: 1.6
APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows XP Professional
Keywords: 
kbprb kbpolicy kbgrppolicyprob kbgrppolicyinfo KB833442

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com