Remote PCs inaccessible by name shortly after mapping

Curve

New member
Local time
11:08 AM
Messages
9
I have a PC that was completely wiped, and a clean install was done with Win 7 x64.

While it was running XP SP3, there were no problems whatsoever, but now on Win 7 x64, I'm finding that remote machines become inaccessible by name after a short time of having them mapped.

For example, I have a drive permanently mapped to a server share. Upon boot, I can access it just fine. But within 1-5 hours, it becomes inaccessible. At that point, I cannot access that entire server at all by name. I can still access it by IP address, but not by name.

If I map a drive to a remote machine using its IP address (i.e. \\192.168.1.1\c$) and leave it running, after a while, I can't access this either. When this happens, I *can* still ping the remote machine by IP, but if I try to map another drive to it, I get the same error I'd normally get - "The specified network name is no longer available".

Rebooting allows me to access it once again, but like before - only for a short while.

If I try to access a network share of a different machine, I can do it on and off all day - meaning that if I map a drive to it, do my business, then disconnect the drive - I can usually go all day without problems. But if I leave the drive mapped, the same thing will happen to this machine as it does to the server.


My first suspect was my firewall application, but uninstalling it had no effect. However, I discovered that by uninstalling my AV software (Kaspersky), this problem is *mostly* fixed. The server drive stayed mapped and accessible all day without dropping. I thought the problem was fully fixed, but when I tried to map a drive to the other remote machine for the first time after the PC had been running for about 8-10 hours, it was inaccessible by name.

So, the AV software definitely affects the issue - but it may not be the sole source of it. I also tried installing a different AV app (Avast), and discovered the exact same problem as I had with Kaspersky AV, so it's not a specific app, it would appear, but something that AV apps do in general (or at least, these two). But again, this covers about 90% of the issue, not all of it.


While I was researching this issue, I came across this thread:

http://www.sevenforums.com/network-sharing/29020-windows-7-network-share-dropout-problem.html


The symptoms of the problem were almost identical to mine, but a bad router seemed to be unlikely to be the source of my problem, since:

1. I don't use a router, but an unmanaged switch.

2. Even when the named access (or even IP named access) dies, I can still ping the IP of the machine.

3. Uninstalling the AV software had a significant impact on this issue.


*However*, that thread did give me an idea to test.

I wrote a script that copied and deleted a small text file to the server every ten minutes, to keep the connection alive. And it worked! Letting that script run keeps the machine accessible long after it normally would have become inaccessible (I once again, have Kaspersky installed). I'm thrilled to have this workaround, but obviously I'd like to get the root issue resolved.


So, to answer the obvious, yes I'm using the latest drivers for my NIC (Intel Pro/1000 PT), and yes they are (at least on paper) supposed to be fully compatible with Win 7 x64.


Does anyone have any ideas on what could be causing this issue and how I can fix it?
 
Last edited:

My Computer My Computer

At a glance

Win 7 x64
OS
Win 7 x64
2k3? server software firewall enabled? simple file sharing 'disabled' on the se7en machine?
 

My Computer My Computer

At a glance

7 Pro
OS
7 Pro
2k3? server software firewall enabled? simple file sharing 'disabled' on the se7en machine?


Server 2008 R2 x64

There is a software firewall installed, but it's configured to allow full access within the internal LAN.

If I remember correctly, there is no simple file sharing in Windows 7 anymore, but the Sharing Wizard is disabled.


You have something in mind?
 

My Computer My Computer

At a glance

Win 7 x64
OS
Win 7 x64
I have additional info. I ran the following test: I mapped a drive to the remote workstation, using its IP address (i.e. \\192.168.1.1\c$) and left it running.

After a while, I couldn't access this either. Now, I *can* ping the remote machine by IP, but if I try to map another drive to it, I get the same error I'd normally get - "The specified network name is no longer available".
 

My Computer My Computer

At a glance

Win 7 x64
OS
Win 7 x64
I would check the DNS tool in AD. Make sure the forward and reverse zones show the correct ip to name and vice versa. Also check your event logs to ensure no RPC errors and DNS errors.
 

My Computer My Computer

At a glance

7 Pro
OS
7 Pro
I would check the DNS tool in AD. Make sure the forward and reverse zones show the correct ip to name and vice versa. Also check your event logs to ensure no RPC errors and DNS errors.


There are no errors that would appear to be connected to this issue.

Forward Zones are correct, and there are no Reverse Zones configured on this server. However, the server is unchanged from when this Win 7 workstation was running XP, and in XP this issue did not exist.
 

My Computer My Computer

At a glance

Win 7 x64
OS
Win 7 x64
Loosing mapped drives Windows 7

I also have the same problem.
We have a windows 7 machine sharing the public folder.
2 computers running XP mounting that folder as a network drive on the local network.
4 other computers also running XP mounting that same folder via VPN (Hamachi) via the internet.
All work well.
But once in a while, we get the cannot access messages on all the remote and local network computers at the same time. I can still access all the computers from Windows 7 but they cannot access the Windows 7 machine.
I have tried numerous things such as renewing via IPConfig, modifying the autodisconnect mounted drives in the registry. Giving the network max memory access. The only solution is a reboot of the Windows 7 machine.
Sometime it will happen 3 times a day and sometime we go 3 days with no problems.
Because we can go 3 days with that much activity from the various computers tells me that it's configured correctly. There must be some kind of Bug in Windows 7 machine.
Previously we were using an XP machine to share the folder and it ran for years without any problems at all.
Any ideas?
 

My Computer My Computer

At a glance

Windows 7, Windows XPIntel Duelcore i7
Computer Manufacturer/Model Number
HP Pavillian Elite
OS
Windows 7, Windows XP
CPU
Intel Duelcore i7
The fix for this problem is below.

In responce to the issue listed in this thread.... Fix is in bold below.

http://social.technet.microsoft.com...g/thread/fe07dccc-6717-4338-8380-5a0f05b3c5c0

We have increased the memory allocation for the LAN driver in the Windows 7 registry and have been sending a couple of hundred GB of data to the drive array for the past hour and a half with no lockouts. I'm beginning to think this has solved the issue.

We've also realized that we are still using the Windows 7 LAN driver rather than the recommended chipset drivers. We're hoping that the memory fix does the trick, but it certainly doesn't hurt to get the right drivers too. I'll update if we have any further issues. Otherwise, assume this worked. I would recommend for other users to update your LAN drivers on all machines FIRST and then try the above fix if the LAN update doesn't work.

Update#4: After a week, we have had no more issues with the drives disconnecting. Increasing the memory allocation for the LAN driver per the social.technet.microsoft.com article seems to have fixed the problem. Hope this helps you guys.

How to perform the registry adjustment to allow for more LAN memory, second post down in this thread.
http://social.technet.microsoft.com...y/thread/2e6c36bd-6cc2-4113-9d21-87de9c2fa7c6
 

My Computer My Computer

At a glance

Windows 7 Ult, Windows 8.1 Pro,Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHzG.Skill PC2 9600 1200Mhz 5 5 5 15 2TGTX480
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ult, Windows 8.1 Pro,
CPU
Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHz
Motherboard
Evga 780i FTW
Memory
G.Skill PC2 9600 1200Mhz 5 5 5 15 2T
Graphics Card(s)
GTX480
Sound Card
Asus Xonar D2
Monitor(s) Displays
HannsG
Screen Resolution
1680X1050
Hard Drives
GSkill Phoenix Pro 120GB SSD
PSU
ThermalTake Toughpower 1000Watt modular
Case
ThermalTake XaserV
Cooling
Xigmatek S1283
Keyboard
Logitech G15
Mouse
Logitech G9
Internet Speed
T1
We have already done the update driver and memory allocation increase....still having the same problem.
rebooted twice today.
 

My Computer My Computer

At a glance

Windows 7, Windows XPIntel Duelcore i7
Computer Manufacturer/Model Number
HP Pavillian Elite
OS
Windows 7, Windows XP
CPU
Intel Duelcore i7
Ok I'll put this into a single post for clarity because this dropped connection with server's has been an ongoing problem since Vista.

It appears as if the memory management adjustment was indeed part of the problem as I mentioned earlier.

But also the Lanman server parameters needed to be adjusted to a level of "3". Man talk about a confusing problem.


Some research led me to find this Google Groups discussion about the problem and this Microsoft Technet article discussing the solution (look at the bottom of the page).

Here you can see from this thread I posted earlier they talk about the adjusting the LanmanServer Key but didn't seem to know what value to set it at which is apparently "3".
http://social.technet.microsoft.com...y/thread/2e6c36bd-6cc2-4113-9d21-87de9c2fa7c6

Apparently you need to tell Windows that you want to use the machine as a file server and that it should allocate resources accordingly.

Set the following registry key to ‘1′:

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache

After that navigate too the following key:

HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size
and set this registry key to ‘3′:

After making these changes and restarting, I haven’t seen this issue arise again. Fixed!

Thanks for reporting back in with this fix Captnibble!
 

My Computer My Computer

At a glance

Windows 7 Ult, Windows 8.1 Pro,Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHzG.Skill PC2 9600 1200Mhz 5 5 5 15 2TGTX480
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ult, Windows 8.1 Pro,
CPU
Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHz
Motherboard
Evga 780i FTW
Memory
G.Skill PC2 9600 1200Mhz 5 5 5 15 2T
Graphics Card(s)
GTX480
Sound Card
Asus Xonar D2
Monitor(s) Displays
HannsG
Screen Resolution
1680X1050
Hard Drives
GSkill Phoenix Pro 120GB SSD
PSU
ThermalTake Toughpower 1000Watt modular
Case
ThermalTake XaserV
Cooling
Xigmatek S1283
Keyboard
Logitech G15
Mouse
Logitech G9
Internet Speed
T1
Back
Top