Solved

Disconnected Network Drive in Terminal Server Sessions

Posted on 2008-06-19
10
1,435 Views
Last Modified: 2009-01-29
We have a 2003 terminal server running for about 40 users.  I use login scripts to map a few drives throughout the different departments in our company.  Recently a drive has shown up for everyone, on the server that should only show up for 1 of the departments.  On top of that being strange it also shows up as Disconnected Network Drive but when you click on it all of the folders are viewable and accessible.   If I right click on the drive and click disconnect I receive the error The network connection could not be found.
Does anyone know how get rid of this network drive so the login scripts can run the way they are supposed to?
Thanks in advance
0
Comment
Question by:omarbr763
  • 6
  • 4
10 Comments
 
LVL 24

Expert Comment

by:ryansoto
ID: 21825385
When you use your script you should make sure it deletes the drives first then maps them.  
Over time in a session its common for a drive to show disocnnected then when you click it it shows connected again and all files can be accessed.

Example

net use s: /delete
net use q: /delete
net use s: \\server\shared
net use q: \\server\acctg
0
 

Author Comment

by:omarbr763
ID: 21825523
Yes, I do use the /delete line in the login script.  The strange thing is that even users that are not supposed to have this particular drive show up have it appearing as "disconnected network drive"
0
 
LVL 24

Expert Comment

by:ryansoto
ID: 21825609
Do you have multiple log on scripts for different users?
I have one script for say accounting one for management, etc.
When I made that switch some users still showed the old drive that they didnt actually have access to.
The delete should remove the unneeded drives.
When you try and have your users do this manually (right click and delete) the mapped drive what message do they get?
0
 

Author Comment

by:omarbr763
ID: 21825787
Yes I do have multiple scripts for differnt departmetns.  I should mention that this particular Terminal Server setup has been in use for over a year without this issue.  When you right click on the drive there is not an option to "delete" only "disconnect".  And when you select "disconnect" you get the error i stated earlier.  It almost seems like it's a phantom drive left over from one of the sessions when it was supposed to be there.  I did see some other posts with this same problem without a solution.

 
0
 
LVL 24

Expert Comment

by:ryansoto
ID: 21825949
Try running this command
Subst Z: /D

Z: is the dirve to be dosconnected
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 24

Expert Comment

by:ryansoto
ID: 21825987
Possibly another example
http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_23285430.html

Also you didnt play with the default user profile did you?
0
 
LVL 24

Expert Comment

by:ryansoto
ID: 21826011
Soryr posting info as I find it.
Do you have Symantec antivirus?
0
 

Author Comment

by:omarbr763
ID: 21826132
thanks for the responses.  I did not play witht the default user profile.  Unfortunatley this does not mean another admin at my company didnt either, i have asked everyone and they said they have'nt either.  We do have Symantec antivirus and i have seen some posts about that.  I will try running Z: /D at an after hours time as i dont want to affect users while they are using this.

thanks again, FYI I'm actually on vacation the next couple of days but may drag myself to log in and try a couple of more things.
0
 
LVL 24

Accepted Solution

by:
ryansoto earned 500 total points
ID: 21826250
Many people had the same issue with Symantec so I would try disabling all related services and retest.
I didnt have those specific issue with Symantec but many others on the rest of my servers.
Went with Trend and fantastic code.
0
 

Author Comment

by:omarbr763
ID: 21856458
So far I've had no luck with any of these options.  Let me konw if you come across any other ideas to try.


thanks!
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Server 2003 x64 upgrade question 10 44
Ms Filer Server Migration toolkit issues 2 52
shadow copies 7 70
Migration of AD user accounts from Server 2003 to 2012R2 5 73
Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now