Re: mapping drive letter to local user's home directory



Sure you can do this. You have to use the "subst" (for substitute)
command in stead of "net use". Like this:

subst H: C:\Documents and Settings\User1

Better still:
subst H: "%homedrive%%homepath%"

_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___

"seth" <seth@xxxxxxxx> wrote on 13 okt 2005 in
microsoft.public.windows.terminal_services:

> without actually sharing documents and settings folder, you
> can't do it if a person had administrative rights, it could be
> mapped through the c$ but of course that would not be practical
> my suggestion would be to share the documents and settings
> folder, and in the login script map the drive to their own
> folder example: share the documents and settings folder as
> users net use h: \\<servername>\users\%USERNAME%
>
> "Cheech Chong" <user@xxxxxxxx> wrote in message
> news:434e85af.2606203612@xxxxxxxxxxxxxxxx
>> Hello all.
>>
>> I am looking for a way to map a drive letter to a user's home
>> folder. The home folder is not a network share.
>>
>> There are 40 users that log into the Windows 2003 Terminal
>> Server, and I want the H:\ to be THEIR C:\Documents and
>> Settings\USERNAME\
>>
>> User1: C:\Documents and Settings\User1\ --> H:\
>> User2: C:\Documents and Settings\User2\ --> H:\
>> User3: C:\Documents and Settings\User3\ --> H:\
>>
>> I currently use a login script to map other network drives, but
>> I couldn't use the NET USE command to map a local directory to
>> a drive letter.
>>
>> Any help/ideas are welcome.
>>
>> --CC
.



Relevant Pages

  • RE: Policies / drive mappings
    ... You can map one drive letter in the ... You could possibly login as the local administrator, map the drives ... manually and then copy NTUSER.DAT to the Default User folder. ... > We provide Ethical Hacking, Advanced Ethical Hacking, Intrusion ...
    (Security-Basics)
  • Mapped Drives and Home Folders
    ... my windows 2003 server map to a drive letter on their XP workstation. ... Currently the already have a home folder mapped to their g:. ... need to do is also have their systems automatically map a drive letter U: ...
    (microsoft.public.windows.server.general)
  • Re: mapping drive letter to local users home directory
    ... The subst command worked perfect. ... Seeing as there are 2 terminal server for the users, ... >> without actually sharing documents and settings folder, ... >>> I am looking for a way to map a drive letter to a user's home ...
    (microsoft.public.windows.terminal_services)
  • Re: mapping drive letter to local users home directory
    ... >> without actually sharing documents and settings folder, ... >>> I am looking for a way to map a drive letter to a user's home ... >>> I couldn't use the NET USE command to map a local directory to ...
    (microsoft.public.windows.terminal_services)
  • Re: Hard drive partition
    ... then map a drive letter to it. ... a folder shared, you could set the drive mapping to be persistent, and never ... it's easy enough to redirect your "My Documents" folder into ...
    (microsoft.public.windowsxp.hardware)