Microsoft KB Archive/272519

= How to Redirect a Client Drive in Terminal Services =

Article ID: 272519

Article Last Modified on 3/1/2007

-

APPLIES TO


 * Microsoft Windows NT Server 4.0, Terminal Server Edition
 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Datacenter Server

-



This article was previously published under Q272519



SUMMARY
When you use Windows 2000 Terminal Services with a Remote Desktop Protocol (RDP) client computer, client-side drive redirection is not available by default.



MORE INFORMATION
To use client-side drive redirection, use one of the following methods:  Use the Drive Share utility from the Microsoft Windows 2000 Resource Kit. You can download the Drive Share utility from the following Microsoft Web site:

http://www.windows2000.com

For additional information about the Drive Share utility, click the article number below to view the article in the Microsoft Knowledge Base:

244725 Using Drive Share with Terminal Services

 Use the net use command with a persistent switch to redirect or map a client's local drive so that it can be used in a Terminal Services session. To do this, follow these steps:

 Share the drive on the client computer that is to be mapped. For example, to redirect drive A, start Windows Explorer, right-click Drive A, click Sharing, and then click Share this folder. From the client computer, establish a session with the Terminal Services server. Open a Cmd.exe prompt and type the following syntax to map the drive: net use : \\ \  /persistent:yes

where  is the drive letter that you want to use for redirection, and   is what the drive was shared out as on the client computer. You need to run this command only once in the session. After that, every time the connection is made, the drive is mapped. </ul>

For example, to map the drive C on the client workstation to the drive X in the Terminal Services client session, following these steps:


 * 1) Share drive C on the client as &quot;C&quot;.
 * 2) Connect to the Terminal Services server, and in the session, open a Cmd.exe prompt.
 * 3) Type net use X: \\ \C /persistent:yes

You should now see drive X in Windows Explorer.

If a session originates from one client computer, when the session is disconnected, and then reconnected from a different computer, redirection does not take place in the new session.

If different users log on to the Terminal Services server from the same workstation, place the net use command listed in step three (without the /persistent:yes switch) in a logon script.

A Virtual Private Network (VPN) connection must be initiated before you attempt drive redirection. Drive redirection does not work through an Internet connection.

Additional query words: redirect map client drive terminal services share

Keywords: kbhowto kbtermserv KB272519

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.