How to Update the Connection Manager Phone Book Over a LAN (323775)



The information in this article applies to:

  • Microsoft Windows XP Professional

This article was previously published under Q323775

SUMMARY

By default, the Connection Manager phone book is updated only when the client computer establishes a new remote access connection. This article describes how to update the Connection Manager phone book while you are still connected to your company local area network (LAN).

MORE INFORMATION

To update the Connection Manager phone book over a LAN:
  1. Install an all user profile or a single user profile that you will use to download a phone book.
  2. Open a command window.
  3. Go to Windows_folder\System32.
  4. Run the following command:

    cmdl32.exe /lan full_path_to_profile.cmp

    For example, if you created a profile named Dload.cmp, run the following command:

    cmdl32.exe /lan "d:\documents and settings\all users\application data\microsoft\network\connections\cm\dload.cmp"

To force automated phone book updates, add this command either to a logon script or to a distributable software package (in Microsoft Systems Management Server [SMS]). Alternatively, you may want to create an internal Web page on which users can optionally run the script to update their phone book.

Cmdial32.dll typically converts %PROFILE% to either of the following paths for Cmdl32.exe:
  • C:\Documents and Settings\All Users\Application Data\Microsoft\Network\Connections\Cm\Myprofile.cmp

    -or-
  • C:\Documents and Settings\User name\Application Data\Microsoft\Network\Connections\Cm\Myprofile.cmp
If you want to call Cmdl32.exe by using a batch file, you must create this path manually. You may want to use the following line for single user profiles:

%APPDATA%\Microsoft\Network\Connections\Cm\Myprofile.cmp

You may want to use the following line for all user profiles:

%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Connections\Cm\Myprofile.cmp


Modification Type:MajorLast Reviewed:8/6/2002
Keywords:kbinfo KB323775