- 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: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 driveletter: \\clientname\sharename /persistent:yes
where driveletter is the drive letter that you want to use for redirection, and sharename 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.
- Share drive C on the client as "C".
- Connect to the Terminal Services server, and in the session, open a Cmd.exe prompt.
net use X: \\clientname\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.
Article ID: 272519 - Last Review: Dec 16, 2009 - Revision: 1