Using Drive Share with Terminal Services (244725)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server

This article was previously published under Q244725
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SUMMARY

You can use the Drive Share tool that is included with the Microsoft Windows 2000 Server Resource Kit to automatically make client disks available in a Terminal Services client session. This tool is only supported on Microsoft Windows NT and Windows 2000 clients. This article describes how to install this tool.

NOTE: This utility will only work with Windows 2000 and Windows NT clients. Windows 95, Windows 98, and Windows Millennium Edition clients cannot use this utility.

IMPORTANT: The files and instructions for installing Drive Share in this article only apply to the original Windows 2000 Terminal Services client. Terminal Services clients that are included as part of Windows 2000 Service Pack 1 (also known as the Terminal Services Advanced client) or downloaded from the Web do not work by using these instructions. Please contact Microsoft Product Support Services for further help.

MORE INFORMATION

To use Drive Share, you must make changes on the Windows 2000-based server, as well as each client.

For a Windows 2000-Based Server

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
  1. Start Registry Editor (Regedt32).
  2. Create a key named Drive Map Service under the following registry key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\AddIns

  3. Add the following values under the Drive Map Service key:

    Value: NAME
    Type: REG_SZ
    Data value: DRMAPSRV

    Value: TYPE
    Type: REG_DWORD
    Data value: 00000003

  4. Locate the Startup Programs value under the following registry key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd

  5. Add the Drmapsrv value.

    NOTE: If you have installed the File Copy tool, the value of the Startup Programs value should read:

    fxrdpclp,drmapsrv

    For additional information about File Copy, click the article number below to view the article in the Microsoft Knowledge Base:

    244732 How to Install the File Copy Tool Included with the Windows 2000 Resource Kit

  6. Copy the Drmapsrv.exe file to your Winnt\System32 folder.

For a Windows NT/Windows 2000 Client

  1. Copy the Drmapclt.dll file to your Winnt\System32 folder.
  2. Start Registry Editor (Regedt32).
  3. Create a key named Drmapclt under the following registry key:

    HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default\Addins

  4. Create a key named Drmapclt under the following registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Terminal Server Client\Default\AddIns

  5. Add the following value under the Drmapclt key:

    Value: NAME
    Type: REG_SZ
    Data value: Drmapclt.dll

NOTE: The Drive Share tool relies on NetBIOS name resolution to work. This tool is not guaranteed to work properly over the Internet because of router configurations. If the tool does not work, try to perform a net use command from inside a Terminal Services session back to your client computer. If this does not work, Drive Share also does not work.

Modification Type:MajorLast Reviewed:11/4/2003
Keywords:kbenv kbinfo KB244725