Map Drives // Redirect drive

Discussion in 'Parallels Remote Application Server' started by eyeplastics, Mar 10, 2010.

  1. eyeplastics

    eyeplastics Guest

    I am trying to map a folder/drive on my 2xTS to my remote machine.

    I need to run a DOS batch file by drive letter. So i need to map a 'published folder' to have a drive letter on the client computer.

    How would this be accomplished.

    thank you
    mark brown
     
  2. josephw

    josephw Guest

    Mark,

    You should be able to use the net use command:

    NET USE
    [devicename | *] [\\computername\sharename[\volume] [password | *]]
    [/USER:[domainname\]username]
    [/USER:[dotted domain name\]username]
    [/USER:[username@dotted domain name]
    [/SMARTCARD]
    [/SAVECRED]
    [[/DELETE] | [/PERSISTENT:{YES | NO}]]

    NET USE {devicename | *} [password | *] /HOME

    NET USE [/PERSISTENT:{YES | NO}]

    By putting this into the logon script for the user. That way the drive will map when the ts session is started.

    Hopefully, this helps if not please provide more detail around what you want to do.
     
  3. eyeplastics

    eyeplastics Guest

    Before I go to test this out
    on my 2xserver: I have a FOLDER that is published; the client can currently access the folder's conents.
    However,i want the client's machine to assign a drive letter to that (remote) folder: say drive letter x
    I want to be able to run an xcopy command to copy files from the folder on the server (drive x) to the client's local D drive
    Will the prior recommendation work?
    thank you
     
  4. josephw

    josephw Guest

    No, when you are using a published application the application is within a terminal server session. The local computer's drives show up as network drives in that session. Example: If you start a published application like notepad or wordpad and do a save as you will see the ts server's c: drive as c (if not blocked by a GP) and the local c drive will show as c on computername. So if you do an xcopy to c:, then you will xcopy to the terminal server's c drive. For what you are trying to do you should use something lik KIXX or some other scripting tool that work with Microsoft.
     

Share This Page