Re: mapping drive letter to local user's home directory
- From: "Vera Noest [MVP]" <vera.noest@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 13 Oct 2005 13:34:17 -0700
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
.
- Follow-Ups:
- Re: mapping drive letter to local user's home directory
- From: seth
- Re: mapping drive letter to local user's home directory
- From: Cheech Chong
- Re: mapping drive letter to local user's home directory
- References:
- mapping drive letter to local user's home directory
- From: Cheech Chong
- Re: mapping drive letter to local user's home directory
- From: seth
- mapping drive letter to local user's home directory
- Prev by Date: RE: Activate Server does not appear to work
- Next by Date: Re: cannot connect via TS since last updates
- Previous by thread: Re: mapping drive letter to local user's home directory
- Next by thread: Re: mapping drive letter to local user's home directory
- Index(es):
Relevant Pages
|