Drive Mappin

download Drive Mappin

of 6

Transcript of Drive Mappin

  • 7/31/2019 Drive Mappin

    1/6

    12. Client Drive Mapping

    During the File Storage section of the Design Phase, you should have documented how client driveswill be configured. Client drive mapping is just one of the features of MetaFrame XP that you willneed discuss with you customer and decide how you will be working with the client drives. Clientdrive mapping is built into the standard Citrix device redirection facilities and the client drives appearas a network type (Client Network) in Network Neighborhood. The clients disk drives are displayed asshared folders with mapped drive letters. These drives can be used by Windows Explorer and otherapplications 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.

  • 7/31/2019 Drive Mappin

    2/6

    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 drivesthrough a script or from the command line.

    In order to manually map client drives follow the following procedures:

    1. ClickStart ClickPrograms ClickCitrix ClickMetaFrame XP ClickCitrix Connection

    Configuration double-click on your connection type.2. Click the Client Settings button

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

    5. ClickOK.6. You are now ready to manually map client drives. This can be done in a multitude of ways.

  • 7/31/2019 Drive Mappin

    3/6

    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.

    devicename Assigns a name to connect to the resource or specifies the device to bedisconnected. There are two kinds of device names: disk drives (D: throughZ:) and printers (LPT1: through LPT3:). Type an asterisk instead of a specificdevice name to assign the next available device name.

    \\computername\sharename Specifies the name of the server and the shared resource.Ifcomputernamecontains blank characters, enclose the entire computername from the double backslash (\\) to the end of the computer name inquotation marks (" "). The computer name may be from 1 to 15 characterslong.

    \volume Specifies a NetWare volume on the server. You must have Client Service forNetWare (Windows 2000 Professional) or Gateway Service for NetWare(Windows 2000 Server) installed and running to connect to NetWare servers,

    Password Specifies the password needed to access the shared resource.

    * Produces a prompt for the password. The password is not displayed whenyou type it at the password prompt.

    /user Specifies a different user name with which the connection is made.Domainname Specifies another domain. For example, net use d:\\server\share

    user:admin\mariel connects the user identifier mariel as if the connectionwere made from the admin domain. Ifdomainnameis omitted, the currentlogged on domain is used.

    Username Specifies the user name with which to log on.

    /delete Cancels the specified network connection. If the user specifies the connectionwith an asterisk, all network connections are canceled.

    /home Connects a user to the home directory.

    /persistent Controls the use of persistent network connections. The default is the settingused last. Deviceless connections are not persistent.

    Yes Saves all connections as they are made, and restores them at next logon.

    No Does not save the connection being made or subsequent connections.Existing connections are restored at the next logon. Use the /delete switchto remove persistent connections.

  • 7/31/2019 Drive Mappin

    4/6

    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-createdrives and you decided upon a starting drive letter other than the default (V:), you will need to needto 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. ClickStart clickRun type: REGEDIT clickOK.

    2. Broswe to the following Registry

    key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix ClickEdit

    ClickNew ClickString Value.

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

  • 7/31/2019 Drive Mappin

    5/6

  • 7/31/2019 Drive Mappin

    6/6

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

    SessionDocument 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:\\\c

    net use i:\\\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 RegistryEditor 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

    http://support.citrix.com/article/CTX113525#prodrelatedhttp://tsclient/chttp://tsclient/chttp://tsclient/chttp://tsclient/chttp://tsclient/chttp://tsclient/chttp://tsclient/chttp://tsclient/chttp://support.citrix.com/article/CTX113525http://support.citrix.com/article/CTX113525http://tsclient/chttp://tsclient/chttp://support.citrix.com/article/CTX113525#prodrelated