Seemingly random disconnects of mapped drives

My client has a server 2008R2 server and about a dozen workstations. A couple of months ago they started getting messages saying that one or another mapped drives had been disconnected. Clicking on the drive in explorer does not reconnect it but rebooting will and it will generally stay connected the rest of the day. I have changed the network connection time out settings in the registry on both the server and the workstations. This has seemed to work on a couple of the workstations but the same changes have had no effect on others. The users get their mapped drives from a login script and I have reviewed this script and find nothing unusual. I added the  /persistent tag to the mapping lines just in case but that also had no effect. I don't know of any changes made to the system just before this started happening other than possibly regular monthly updates. The issue seems to be somewhat random in that it doesn't always happen every day to the same PC or at the same time. I did have one PC however that seemed to do it about 9am every morning. A search of the logs did not reveal anything happening at that time.
gowron106Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
You could have a problem with persistent drives.

Change the script to:

NET USE X: /Delete
NET USE X: \\server\folder

Do this for all drives. Remove the "persistent" tag.

Now on a problem workstation, delete all drives (NET USE T: /Delete)

Restart the workstation and test. If the problem is persistent drives, this should solve it.
0
gowron106Author Commented:
Well, the persistent drives switch was not in there initially. I added it later hoping it may help resolve this issue. The login script does use the lines to delete the mapped drives first as you have recommended. I have disabled the server login script and tried using the same commands in a start up script on a test PC. Didn't seem to make any difference at all. Went back to the login scripts on the server. Today I had someone suggest checking all the workstation NIC settings and turn off and Green or Energy Efficient settings as well as un-checking the "Allow this device to be turned off" setting. Sure enough most of these settings were active. We'll see what happens tomorrow. Thanks for the input.
0
JohnBusiness Consultant (Owner)Commented:
Power savings on Network Cards normally cause complete disconnection, not just server mappings. And normally it affects wireless, not usually wired. That is why I did not mention it.

I keep my Wireless ThinkPad set to Maximum Performance on all settings. I can keep drives mapped forever.  

Client machines are normally wired and (with no attention to setting) their folders never become unmapped.

Let us know what you find.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

gowron106Author Commented:
Yep. Never paid much attention to these settings before but I'm kinda grasping at straws here for lack of any other cause.
0
JohnBusiness Consultant (Owner)Commented:
If the issue is not related to the PC drive mapping setup (you say no), and you have check NIC power settings, and then there are multiple machines, then consider your network itself.

Check wiring in the route to the problem computers, check switches, try a problem computer on a different switch, and look at wall outlets/patch panels.
0
gowron106Author Commented:
Just replaced both switches with new Gigabit switches a couple of weeks ago. Have also reviewed DNS and DHCP settings to look for issues there. All look normal. All of the PC are slightly different having been purchased individually all at different times. Only thing they have in common is Windows 7 Professional. Server is Server 2008 R2 and has been up and running without issue  for at least two years. Only other recent change was from AT&T to Comcast as Internet provider but these issues preceded that change. Internet connectivity does not seem affected. It should be noted that we have an XP machine in an adjoining suite that is used to remote into. It sits behind an FE switch and seems to have no trouble at all.
0
JohnBusiness Consultant (Owner)Commented:
I have clients with Windows 7 Pro and Server 2008 and Server 2012 and connections stay up permanently.

Perhaps run Resource Monitor (Admin Tools), click on the Network tab and let it run. See if there is a network event when the connection drops.

When the connection drops, it is just for the server?  or for Internet as well?

On one problem machine, try TCP/IP Reset and DNS Flush.

Open cmd.exe with Run as Administrator
Then  netsh int ip reset c:\resetlog.txt
Also, ipconfig /flushdns followed by net stop dnscache followed by net start dnscache
Then restart the computer

See if this helps.
0
gowron106Author Commented:
Ok. Will try those. Internet connectivity does not drop. Only mapped drives disconnect and show a red x. Will not reconnect by double-clicking. Have to reboot.
0
JohnBusiness Consultant (Owner)Commented:
There may be something wrong in the server setup if folders drop, internet is OK and you cannot find issues with the local machine software.
0
gowron106Author Commented:
I've seen some things while searching online suggesting a possibly intermittent NIC but I can't find anything in Event Logs indicating that. It would explain the dropped mappings but if they were just very short interruptions I would think that the mappings would reconnect... but maybe not. The NIC settings have not made a difference as of today. I did the flush dns sequence on one PC today. We'll see if that does anything.
0
JohnBusiness Consultant (Owner)Commented:
Please let us know.

It is not a Windows 7 issue in the sense of some operating system bug. Windows 7 Pro properly set up on a good network sharing folders on a properly set up Server 2008 (or 2003 or 2012) will keep the folders mapped forever. I have done this.

Any folder will show a Red X if unused, but simply clicking on it will bring it back. Windows 7 and Windows 8 and Windows Vista have all done this. It is not a problem - just the way it is.

So let us know about your troubleshooting.
0
gowron106Author Commented:
OK. Yes, this server worked just fine for over two years without any of these issues. I'm scouring Event logs to find anything that looks wrong and resolve it. I did find a small NetBIOS issue that I resolved with NBStat but I don't think it was related to this. It was something that came up a completely different times. Also found a NETLOGON error about another DC logging in on a different domain. I have to look at their old 2K3 server and see if this is the cause. It is only being used as a backup DC and for backup space now. Also not happening often enough or at the correct times. Also running updates and rebooting the server tonight. Have also disabled Carbonite to see if it is interfering as it seems to have a connection issue now. May uninstall it and see what happens.
0
gowron106Author Commented:
OK... the logs are showing this netlogon error:

This computer was not able to set up a secure session with a domain controller in domain NEWPACESOLANO due to the following:
There are currently no logon servers available to service the logon request.
This may lead to authentication problems. Make sure that this computer is connected to the network. If the problem persists, please contact your domain administrator.

There is no such thing as domain NEWPACESOLANO and I don't know where this would have come from. The is pace.local. I do have a BDC on a server2003 box but it is not on that domain either. Any idea where this would come from? I don't even know if this would be related to the other problem.
0
JohnBusiness Consultant (Owner)Commented:
New information.

For one problem computer, remove it from the domain and restart it (off domain).

Go to Control Panel, Credential Manager and remove any references to any domains.

Now restart again, and re-join it your domain. Test to see if this fixes the issue.
0
gowron106Author Commented:
This was on the domain controller. I went to AD Domains and Trusts and, sure enough, there was a trusted domain called NEWPACESOLANO. Don't know how it got there, when or why but I removed it. At least that's one less error in the logs to sift through.

John, let me explain what started this and maybe I'm on the wrong track. My client is a small office, nine Windows 7 PCs, DC is Server 2008R2 and their old server is running Server 2003 and is a BDC. At some point in the past two months or so (not certain because sometimes they don't tell me right away) they started getting their mapped drives randomly disconnected. One PC seemed to do it about the same time every day. Others were more random. At about the same time, roughly (again... not certain exactly when this started) they started getting errors when inputting data to one of their accounting programs. It is a Microsoft Visual Foxpro fatal error C0000005. I didn't tie the two together right away and I'm still not sure they're connected or coincidental. The guy that wrote their accounting database (It is a small program written especially for a niche market) says this is a memory error and it is an issue with the server. The problem I see with that is that the database contains two company databases and the other one, on the same server, in the same directory, works just fine although it is significantly smaller. Also, this server has been operating for several years with these same databases on it with no issues. I have instructed everyone in the office to log on and off every day (with the exception of when they know they will be remoting in at night... a couple of them do that once in a while. I changed the login timeouts on both the server and the workstations and it seems the login issues have gone away as of yesterday. However, the accounting program is still throwing the same errors. I'm still cleaning up logs just to be sure but there's nothing in there I would think would be related. Maybe I should close this thread and start another in the database area?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JohnBusiness Consultant (Owner)Commented:
We keep getting new information here. The issue is (almost) for sure not a Windows or Server issue.

Is FoxPro not quite old?  I think it is. And even so, fatal errors could be responsible for the disconnection.

Not logging off with Databases running is also an issue. Are you trying to back up the server over top of errors and logged in users?

I changed the login timeouts on both the server and the workstations and it seems the login issues have gone away as of yesterday.  <--- This ties into what I wrote about.

The issue appears to be more database and user problems than any endemic Windows or Server problem.
0
gowron106Author Commented:
I agree. The logout issue seems to be solved so I will consider this issue resolved.
0
Seth SimmonsSr. Systems AdministratorCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.