You are on page 1of 6

12.

Client Drive Mapping


During the File Storage section of the Design Phase, you should have documented how client drives will be configured. Client drive mapping is just one of the features of MetaFrame XP that you will need discuss with you customer and decide how you will be working with the client drives. Client drive mapping is built into the standard Citrix device redirection facilities and the client drives appear as a network type (Client Network) in Network Neighborhood. The clients disk drives are displayed as shared folders with mapped drive letters. These drives can be used by Windows Explorer and other applications like any other network drive. By default, the drives on the client system are all automatically mapped. If the MetaFrame servers drives were not remapped during installation of MetaFrame then the client drives will, by default, start with V$ and continue mapping all available client disk drives and CDROMS in ascending order. If they were remapped then the client drives will start with C$. The client drive letter is a configurable setting via the servers registry. (this is a per server setting, so if you choose to change the default drive letter then you will need to make the change on all your MetaFrame servers) Remember if you configure MetaFrame to automatically auto-create drive then you will need to make sure enough drive letters are available. You are able to disable automatic client drive mapping and through the Client Settings dialog box of a selected ICA connection in the Citrix Connection Configuration Utility. The Connection options control whether drives are auto-created. If this option is cleared, the devices are still available but must be mapped to drive letters manually.

Below you will find how the different ways to manually connect ICA client drives.

12. 1.

How to Manually Map Client Drives

If during the File Storage section of the Farm Design you decided upon disabling automatic client drive creating, then you need to manually map client drives. I recommend that you disable auto-creation of client drives and opt to manually map client drives through a script or from the command line. In order to manually map client drives follow the following procedures: 1. 2. Click Start Click Programs Click Citrix Click MetaFrame XP Click Citrix Connection Configuration double-click on your connection type. Click the Client Settings button

3. 4.

Uncheck the Inherit user config button. Uncheck the Connect Client drives at Logon button.

5. 6.

Click OK. You are now ready to manually map client drives. This can be done in a multitude of ways.

You can configure all MetaFrame users at once through the %SystemRoot%\System32\UsrLogn2.Cmd file. You can configure drive mapping on a user / group basis through login scripts. You can instruct your users to manually map via the command line.

Add the following line to each of the above ways to manually connect client drives: net use x: \\client\c$

Note: where x: is the drive letter you want to map and c$ in the client drive you want mapped.
NET USE connects a computer to or disconnects a computer from a shared resource, or displays information about computer connections. The command also controls persistent net connections.
net use [devicename | *] [\\computername\sharename[\volume]] [password | *]] [/user:[domainname\]username] [[/delete] | [/persistent:{yes | no}]] net use devicename [/home[password | *]] [/delete:{yes | no}] net use [/persistent:{yes | no}] None Used without parameters, net use retrieves a list of network connections. Assigns a name to connect to the resource or specifies the device to be disconnected. There are two kinds of device names: disk drives (D: through Z:) and printers (LPT1: through LPT3:). Type an asterisk instead of a specific device name to assign the next available device name. Specifies the name of the server and the shared resource. If computernamecontains blank characters, enclose the entire computer name from the double backslash (\\) to the end of the computer name in quotation marks (" "). The computer name may be from 1 to 15 characters long. Specifies a NetWare volume on the server. You must have Client Service for NetWare (Windows 2000 Professional) or Gateway Service for NetWare (Windows 2000 Server) installed and running to connect to NetWare servers, Specifies the password needed to access the shared resource. Produces a prompt for the password. The password is not displayed when you type it at the password prompt. Specifies a different user name with which the connection is made. Specifies another domain. For example, net use d:\\server\share user:admin\mariel connects the user identifier mariel as if the connection were made from the admin domain. If domainname is omitted, the current logged on domain is used. Specifies the user name with which to log on. Cancels the specified network connection. If the user specifies the connection with an asterisk, all network connections are canceled. Connects a user to the home directory. Controls the use of persistent network connections. The default is the setting used last. Deviceless connections are not persistent. Saves all connections as they are made, and restores them at next logon. Does not save the connection being made or subsequent connections. Existing connections are restored at the next logon. Use the /delete switch to remove persistent connections.

devicename

\\computername\sharename

\volume Password
* /user

Domainname

Username
/delete /home /persistent Yes No

12. 2. How to Change the Default Client Drive Letter


If during the File Storage section of the Design Phase, you decided to have MetaFrame auto-create drives and you decided upon a starting drive letter other than the default (V:), you will need to need to configure the registry on every MetaFrame server with the default drive letter to be used. The following procedures will configure auto drive mapping to default to a specific drive letter: 1. 2. Click Start click Run type: REGEDIT click OK. Broswe to the following Registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix Click Edit Click New Click String Value.

3.

A new String Value to is created, type InitialClientDrive in the String Value Name field.

4.

In the String field, type Z: (Z: being the drive letter you want to start with)

5.

Click OK.

How to Map Drives in an RDP Pass-through Session Within an ICA Session


Document ID: CTX113525 / Created On: Jul 23, 2007 / Updated On: Sep 26, 2007

Average Rating:

(1 ratings)

View products this document applies to


Summary This article describes how to map drives in an RDP pass-through session within an ICA session. Background When opening an ICA session inside an RDP session, drive mapping works differently than ICA pass-through or drive mapping in a single session. The procedure below describes an RDP session launching an ICA session to another server: 1. Launch an RDP session from the workstation to Server 1. 2. From Server 1, launch an ICA session to Server 2. Resolution There are two scenarios: Mapping local workstation drives in an ICA session launched from Server 1 to Server 2: In this case, drive letters are not assigned to the client drives mapped in the RDP session. Thus, the ICA session cannot in turn map the drives. Workaround: Assign letters to this drives manually by using a script in the logon process or issuing the following commands: net use j: \\<machine name>\c net use i: \\<machine name>\c The J and I drives will be mapped in the ICA session successfully. Citrix is working to improve this functionality. Mapping Server 1 drives through the ICA session on Server 2: You must configure the NativeDriveMapping parameter in the .ini files or in the registry for Presentation Server Client 10 or later. To do so: WARNING! Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. 1. Open the Registry Editor. 2. Navigate to the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ICA Client\Engine\Configuration\Advanced\Modules\ClientDrive 3. Create the following registry value: Value name: NativeDriveMapping Type: REG_SZ Value: True

You might also like