mapping drive automatically

15 pts.
Tags:
Mapped drives
Terminal Services
Terminal Services Client Control
I have question, how to mapping drive auto to user when they login.I use Terminal Service Client that i want they all put they data on server.Example i have folder on D:/Share on server i want when theyuser login,automatically mapping drive z on they computer and only him that can see they file on server .Thank
ASKED: October 12, 2008  11:07 PM
UPDATED: October 15, 2008  3:45 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

<i><b> Can you create a login script to run when the user logs in?<i>

@ECHO OFF

rem net use u: /del /y >nul

rem net use u: \\server_IP\users\username

Copy that into notepad and save as something like user.bat

Or you can set the home folder as Z: in AD with a mapping to the \\servername\users\username
I would also not choose Z: but instead something like P for Personal or U: for users… I find that if you block A,C,D,E as normal drives in your PC and then stick in a USB thumb drive and if you have Z: taken by a mapped drive there are times it can’t find an available drive to choose from.

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.

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

Back to the top
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 (http://support.microsoft.com/kb/244732/EN-US/) 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.

Back to the top
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.</b></i></i>

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Bongbelajar
    How i get the resources for the drives from another computer,example I have 10 client and all user use RDP services, I have 2 server 1 for Domain Controller DC and terminal services and another only for save data.User name john (active user on DC) login and he got to login to server using DC and he got automatically his drive from share folder server for data.Thank for your answer.
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following