what causes mapped drives to be disconnected

usghvn2002

OSNN Junior Addict
Joined
13 Mar 2006
Messages
21
Hi: I don't know if it is the right place to ask.

Some of my users having a login problem to the terminal server. I am using windows 2000 advanced server. When they log in, sometimes they don't have access to the network drives. However, if they log off and log back in they have access to them. It does not happen to every user. it just happens one a week for many users. I have a login script in the domain. I don't really know what cause this problem. the log in script or other services. Thanks for all your comment.

 
Do the effected users have the "reconnect at login" setting ticked in the Tools -> Map network Drive menu in windows explorer?

If it isn't this then I am sure one of the more network skilled users here will be able to help you - as the problem could be caused by something in the log in script which I am less skilled in.
 
"Reconnect at login" does not apply when a login script is used. That only comes into play if the drive is mapped manually.

First off, what type of script is it? Is it a .bat file or a .vbs?

Can you post the script?
 
it is a vbs script. the script is very simple. I only mapped the drives and connected the printers. I post the mapped drive section here.

DIM wshnetwork
DIM strUser

'* Error control
'* Supress logon errors
on error resume next
set wshnetwork = wscript.createobject("wscript.network")

'* Basic mapped drives:
'* Mail
'* Pubic
'* Medicat
'* Techsup

wshnetwork.removenetworkdrive "g:"
wshnetwork.removenetworkdrive "h:"
wshnetwork.removenetworkdrive "m:"
wshnetwork.removenetworkdrive "t:"

wshnetwork.mapnetworkdrive "g:","\\NTS1\Mail"
wshnetwork.mapnetworkdrive "h:","\\terminalserver\public"
wshnetwork.mapnetworkdrive "m:","\\NTS1\Medicat"
wshnetwork.mapnetworkdrive "t:","\\terminalserver\techsupport"
 
Do any of the drives connect, or when the problem occurs, do none of them connect?
 
none of them connect. Don't see any thing (any Icon for network drives) except the local drives.
 
Can you look in the event viewer for messages that appear around the time of login? Might be a communication problem between the clients and the server(s). I would suspect your script, ad the code is a bit iffy, but if it works sometimes and not others, I would suspect communication problems.
 
I looked in the event viewer. I saw some warning: Source: MRXsmb
EventID: 3019
These warning is not very close to the time of login. If you suspect my script, which line I should modify.
 
I just realize that this problem is due to the user does not log off the terminal the day before. If they do log off the day before, they don't enounter this problem when they first log in the next day. So do you have any comment about this?
 
Is there some maintenance or backups every night that would unmap the users from the servers?
 
Re: I do have backup every night using NT backup on that server.

I do have backup every night using NT backup on that server. However, I don't know how it will unmap the drives when users first login. Thanks
 
usghvn2002 said:
I just realize that this problem is due to the user does not log off the terminal the day before. If they do log off the day before, they don't enounter this problem when they first log in the next day. So do you have any comment about this?
Check your user account profile logon hours. Do you have set times for users on the network? If so just disable time sessions.
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back