PC Review
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 Terminal Server Clients
runninag a program
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 Terminal Server Clients
runninag a program
![]() |
runninag a program |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
in your gpo, do you have the 'run login scripts synchronously' enabled?
i had the same problem with the mapped drive before a termserve app ran and went away after enabling it "Johnfli" <john@ivhs.us> wrote in message news:uS1Qu6QmFHA.544@TK2MSFTNGP15.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. > > > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
synchronously' ===== ummmm, where's that? Is that in the same area? I
will look now. "seth" <seth@work.net> wrote in message news:ebSvv$QmFHA.1464@TK2MSFTNGP14.phx.gbl... > in your gpo, do you have the 'run login scripts synchronously' enabled? > i had the same problem with the mapped drive before a termserve app ran and > went away after enabling it > > > "Johnfli" <john@ivhs.us> wrote in message > news:uS1Qu6QmFHA.544@TK2MSFTNGP15.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. > > > > > > > > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
computer configuration -> administrative templates -> system -> scripts
"Johnfli" <john@ivhs.us> wrote in message news:%23GuUwDRmFHA.2180@TK2MSFTNGP15.phx.gbl... > synchronously' ===== ummmm, where's that? Is that in the same area? > I > will look now. > > > > "seth" <seth@work.net> wrote in message > news:ebSvv$QmFHA.1464@TK2MSFTNGP14.phx.gbl... >> in your gpo, do you have the 'run login scripts synchronously' enabled? >> i had the same problem with the mapped drive before a termserve app ran > and >> went away after enabling it >> >> >> "Johnfli" <john@ivhs.us> wrote in message >> news:uS1Qu6QmFHA.544@TK2MSFTNGP15.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. >> > >> > >> > >> >> > > |
|
|
|
#5 |
|
Guest
Posts: n/a
|
Thanks.
Ok, did that. Even forced teh GP to update. I still get the message saying that H:\temp is invalid for one particular user. ANy ideas on how I can see if it's trying to map teh drive? "seth" <seth@work.net> wrote in message news:uq7LeFRmFHA.3304@tk2msftngp13.phx.gbl... > computer configuration -> administrative templates -> system -> scripts > > "Johnfli" <john@ivhs.us> wrote in message > news:%23GuUwDRmFHA.2180@TK2MSFTNGP15.phx.gbl... > > synchronously' ===== ummmm, where's that? Is that in the same area? > > I > > will look now. > > > > > > > > "seth" <seth@work.net> wrote in message > > news:ebSvv$QmFHA.1464@TK2MSFTNGP14.phx.gbl... > >> in your gpo, do you have the 'run login scripts synchronously' enabled? > >> i had the same problem with the mapped drive before a termserve app ran > > and > >> went away after enabling it > >> > >> > >> "Johnfli" <john@ivhs.us> wrote in message > >> news:uS1Qu6QmFHA.544@TK2MSFTNGP15.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. > >> > > >> > > >> > > >> > >> > > > > > > |
|
|
|
#6 |
|
Guest
Posts: n/a
|
in the login script, after the last line, put the word pause
this will cause the system to wait for user interaction before continuing that way if there is an error mapping h you can see it there instead of the script window closing too fast then you can take the pause statement out after "Johnfli" <john@ivhs.us> wrote in message news:OQNHWORmFHA.3380@TK2MSFTNGP12.phx.gbl... > Thanks. > Ok, did that. > Even forced teh GP to update. > I still get the message saying that H:\temp is invalid for one particular > user. > > ANy ideas on how I can see if it's trying to map teh drive? > > > > > "seth" <seth@work.net> wrote in message > news:uq7LeFRmFHA.3304@tk2msftngp13.phx.gbl... >> computer configuration -> administrative templates -> system -> scripts >> >> "Johnfli" <john@ivhs.us> wrote in message >> news:%23GuUwDRmFHA.2180@TK2MSFTNGP15.phx.gbl... >> > synchronously' ===== ummmm, where's that? Is that in the same >> > area? >> > I >> > will look now. >> > >> > >> > >> > "seth" <seth@work.net> wrote in message >> > news:ebSvv$QmFHA.1464@TK2MSFTNGP14.phx.gbl... >> >> in your gpo, do you have the 'run login scripts synchronously' >> >> enabled? >> >> i had the same problem with the mapped drive before a termserve app >> >> ran >> > and >> >> went away after enabling it >> >> >> >> >> >> "Johnfli" <john@ivhs.us> wrote in message >> >> news:uS1Qu6QmFHA.544@TK2MSFTNGP15.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. >> >> > >> >> > >> >> > >> >> >> >> >> > >> > >> >> > > |
|
|
|
#7 |
|
Guest
Posts: n/a
|
Well, this is getting annoying.
I did as you suggested. I forced the gpupdate. I tried logging in, and I get the same error. Didn't see anythign about the drive mapping or anything. "seth" <seth@work.net> wrote in message news:OoqEsdRmFHA.3900@TK2MSFTNGP09.phx.gbl... > in the login script, after the last line, put the word pause > this will cause the system to wait for user interaction before continuing > that way if there is an error mapping h you can see it there instead of the > script window closing too fast > then you can take the pause statement out after > > "Johnfli" <john@ivhs.us> wrote in message > news:OQNHWORmFHA.3380@TK2MSFTNGP12.phx.gbl... > > Thanks. > > Ok, did that. > > Even forced teh GP to update. > > I still get the message saying that H:\temp is invalid for one particular > > user. > > > > ANy ideas on how I can see if it's trying to map teh drive? > > > > > > > > > > "seth" <seth@work.net> wrote in message > > news:uq7LeFRmFHA.3304@tk2msftngp13.phx.gbl... > >> computer configuration -> administrative templates -> system -> scripts > >> > >> "Johnfli" <john@ivhs.us> wrote in message > >> news:%23GuUwDRmFHA.2180@TK2MSFTNGP15.phx.gbl... > >> > synchronously' ===== ummmm, where's that? Is that in the same > >> > area? > >> > I > >> > will look now. > >> > > >> > > >> > > >> > "seth" <seth@work.net> wrote in message > >> > news:ebSvv$QmFHA.1464@TK2MSFTNGP14.phx.gbl... > >> >> in your gpo, do you have the 'run login scripts synchronously' > >> >> enabled? > >> >> i had the same problem with the mapped drive before a termserve app > >> >> ran > >> > and > >> >> went away after enabling it > >> >> > >> >> > >> >> "Johnfli" <john@ivhs.us> wrote in message > >> >> news:uS1Qu6QmFHA.544@TK2MSFTNGP15.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. > >> >> > > >> >> > > >> >> > > >> >> > >> >> > >> > > >> > > >> > >> > > > > > > |
|
|
|
#8 |
|
Guest
Posts: n/a
|
ok, I found teh setting to display the scripts. Now I can see them.
To make matters worse, now that I see the script run, it is telling me that the drive is already mapped. Now I am at a loss to think of what to do. "Johnfli" <john@ivhs.us> wrote in message news:eIvkplRmFHA.4056@TK2MSFTNGP10.phx.gbl... > Well, this is getting annoying. > I did as you suggested. I forced the gpupdate. > I tried logging in, and I get the same error. Didn't see anythign about the > drive mapping or anything. > > > > "seth" <seth@work.net> wrote in message > news:OoqEsdRmFHA.3900@TK2MSFTNGP09.phx.gbl... > > in the login script, after the last line, put the word pause > > this will cause the system to wait for user interaction before continuing > > that way if there is an error mapping h you can see it there instead of > the > > script window closing too fast > > then you can take the pause statement out after > > > > "Johnfli" <john@ivhs.us> wrote in message > > news:OQNHWORmFHA.3380@TK2MSFTNGP12.phx.gbl... > > > Thanks. > > > Ok, did that. > > > Even forced teh GP to update. > > > I still get the message saying that H:\temp is invalid for one > particular > > > user. > > > > > > ANy ideas on how I can see if it's trying to map teh drive? > > > > > > > > > > > > > > > "seth" <seth@work.net> wrote in message > > > news:uq7LeFRmFHA.3304@tk2msftngp13.phx.gbl... > > >> computer configuration -> administrative templates -> system -> scripts > > >> > > >> "Johnfli" <john@ivhs.us> wrote in message > > >> news:%23GuUwDRmFHA.2180@TK2MSFTNGP15.phx.gbl... > > >> > synchronously' ===== ummmm, where's that? Is that in the same > > >> > area? > > >> > I > > >> > will look now. > > >> > > > >> > > > >> > > > >> > "seth" <seth@work.net> wrote in message > > >> > news:ebSvv$QmFHA.1464@TK2MSFTNGP14.phx.gbl... > > >> >> in your gpo, do you have the 'run login scripts synchronously' > > >> >> enabled? > > >> >> i had the same problem with the mapped drive before a termserve app > > >> >> ran > > >> > and > > >> >> went away after enabling it > > >> >> > > >> >> > > >> >> "Johnfli" <john@ivhs.us> wrote in message > > >> >> news:uS1Qu6QmFHA.544@TK2MSFTNGP15.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. > > >> >> > > > >> >> > > > >> >> > > > >> >> > > >> >> > > >> > > > >> > > > >> > > >> > > > > > > > > > > > > |
|
|
|
#9 |
|
Guest
Posts: n/a
|
Sounds like at some time, the /persistent switch has been used.
Try this: net use H: /delete net use H: \\server\share _________________________________________________________ Vera Noest MCSE, CCEA, Microsoft MVP - Terminal Server TS troubleshooting: http://ts.veranoest.net ___ please respond in newsgroup, NOT by private email ___ "Johnfli" <john@ivhs.us> wrote on 04 aug 2005 in microsoft.public.win2000.termserv.clients: > ok, I found teh setting to display the scripts. Now I can see > them. To make matters worse, now that I see the script run, it > is telling me that the drive is already mapped. > Now I am at a loss to think of what to do. > > > > "Johnfli" <john@ivhs.us> wrote in message > news:eIvkplRmFHA.4056@TK2MSFTNGP10.phx.gbl... >> Well, this is getting annoying. >> I did as you suggested. I forced the gpupdate. >> I tried logging in, and I get the same error. Didn't see >> anythign about > the >> drive mapping or anything. >> >> >> >> "seth" <seth@work.net> wrote in message >> news:OoqEsdRmFHA.3900@TK2MSFTNGP09.phx.gbl... >> > in the login script, after the last line, put the word pause >> > this will cause the system to wait for user interaction >> > before > continuing >> > that way if there is an error mapping h you can see it there >> > instead of >> the >> > script window closing too fast >> > then you can take the pause statement out after >> > >> > "Johnfli" <john@ivhs.us> wrote in message >> > news:OQNHWORmFHA.3380@TK2MSFTNGP12.phx.gbl... >> > > Thanks. >> > > Ok, did that. >> > > Even forced teh GP to update. >> > > I still get the message saying that H:\temp is invalid for >> > > one >> particular >> > > user. >> > > >> > > ANy ideas on how I can see if it's trying to map teh drive? >> > > >> > > >> > > >> > > >> > > "seth" <seth@work.net> wrote in message >> > > news:uq7LeFRmFHA.3304@tk2msftngp13.phx.gbl... >> > >> computer configuration -> administrative templates -> >> > >> system -> > scripts >> > >> >> > >> "Johnfli" <john@ivhs.us> wrote in message >> > >> news:%23GuUwDRmFHA.2180@TK2MSFTNGP15.phx.gbl... >> > >> > synchronously' ===== ummmm, where's that? Is that >> > >> > in the same area? >> > >> > I >> > >> > will look now. >> > >> > >> > >> > >> > >> > >> > >> > "seth" <seth@work.net> wrote in message >> > >> > news:ebSvv$QmFHA.1464@TK2MSFTNGP14.phx.gbl... >> > >> >> in your gpo, do you have the 'run login scripts >> > >> >> synchronously' enabled? >> > >> >> i had the same problem with the mapped drive before a >> > >> >> termserve > app >> > >> >> ran >> > >> > and >> > >> >> went away after enabling it >> > >> >> >> > >> >> >> > >> >> "Johnfli" <john@ivhs.us> wrote in message >> > >> >> news:uS1Qu6QmFHA.544@TK2MSFTNGP15.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. |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

