Solved

Disconnected Network Drive in Terminal Server Sessions

Posted on 2008-06-19
10
1,421 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

707 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

18 Experts available now in Live!

Get 1:1 Help Now