Microsoft KB Archive/833442

= 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 ID: 833442

Article Last Modified on 5/29/2007

-

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 \Application Data\Microsoft\Network\Connections\Pbk\ folder, where   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:

