Mapping a drive in TS

G

Guest

Guest
Archived from groups: microsoft.public.win2000.general (More info?)

I have a GPO in place so that when people log in via TS, it starts a
particular program automatically. If they exit the program that is
started, it will log them out of TS.

This is working great (most of the time)

One of the things this program requires to run, is that a particular mapped
drive already be in place. I have a logon script that reads

net use h: \\servername\sharename

Most of the time, people don't have any problems. But for some strange
reason, once in awhile, the drive wont get mapped. Nothing in any of the
events logs is helpful. Sometimes I will get a message saying it can't find
the drive. Yet other users are logged in just fine at the same time. So
when the drive doesn't map, the user gets an error message saying it can't
find it, and the program doesn't start. about a minute later, it logs the
user out.


With that said, how can I force the drive to map BEFORE the program tries to
start? The location of this mapped drive, is the same machine as the
terminal server, so it isn't a network connectivity issue.
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.general (More info?)

If this drive mapping is a folder on the terminal server itself, you could try
a SUBST instead of a net use - this would be faster to access and
avoids the network redirector logic that may be causing you
the headaches. (You can use SUBST to map a remote network share as
well but I don't think in that case it is materially different than a net use.)

I do not know how SUBST interacts globally in a TS environment, so you
need to test this of course.

Steve Duff, MCSE, MVP
Ergodic Systems, Inc.

"Johnfli" <john@ivhs.us> wrote in message news:eyATXCRmFHA.1416@TK2MSFTNGP09.phx.gbl...
>I have a GPO in place so that when people log in via TS, it starts a
> particular program automatically. If they exit the program that is
> started, it will log them out of TS.
>
> This is working great (most of the time)
>
> One of the things this program requires to run, is that a particular mapped
> drive already be in place. I have a logon script that reads
>
> net use h: \\servername\sharename
>
> Most of the time, people don't have any problems. But for some strange
> reason, once in awhile, the drive wont get mapped. Nothing in any of the
> events logs is helpful. Sometimes I will get a message saying it can't find
> the drive. Yet other users are logged in just fine at the same time. So
> when the drive doesn't map, the user gets an error message saying it can't
> find it, and the program doesn't start. about a minute later, it logs the
> user out.
>
>
> With that said, how can I force the drive to map BEFORE the program tries to
> start? The location of this mapped drive, is the same machine as the
> terminal server, so it isn't a network connectivity issue.
>
>
>
>