Johnfli
2005-08-04 16:07:56 UTC
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.
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.