Registering remote client workstations by running the db2dsdpreg utility (Windows)

To access a network installation of IBM® Data Server Driver Package, remote client workstations must be registered. Run the db2dsdpreg utility to register each remote client workstation and create the required links to the code server.

Before you begin

  • Map a network drive from the remote client workstation to the code server.
  • Ensure that either Microsoft Visual C++ 2005 or the appropriate runtime components of the Visual C++ libraries are installed. The runtime libraries are available from the Microsoft runtime library download website. For 32-bit systems, install vcredist_x86.exe. For 64-bit systems, install vcredist_x86.exe and vcredist_x64.exe.
  • Log on to the remote client workstation as a valid user with shared directory access to the code server. You must have administrator level privileges on the remote client workstation.

About this task

Perform the following steps on each remote client workstation that needs to use the network installation of IBM Data Server Driver Package.


Remote clients on a 32-bit workstation cannot use a 64-bit code server.


To register a remote client workstation:

  1. From a Windows command prompt, issue the following command, where z is the network drive that you mapped to the code server:
    cd z:\bin
  2. Issue the following command to run the db2dsdpreg utility and write logging information to a file:
    db2dsdpreg /l c:\db2dsdpreg.log
    where c:\db2dsdpreg.log is the path where the utility will create the log file. If you do not specify a path for the log file, it is created under My Documents\DB2LOG for the current user.
    Tip: You can view additional registration options, including options to unregister and reregister, by issuing the following command: db2dspreg /h.
  3. When the db2dsdpreg utility is done, check the messages in the log file (for example, c:\db2dsdpreg.log).

    The log file contains error messages for any errors that are encountered when you run the utility.