Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Disconnected Network Drive in Terminal Server Sessions

Posted on 2008-06-19
10
Medium Priority
?
1,566 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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
 
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 2000 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

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

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

Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
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…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

572 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