Reconnecting to network share causes file explorer to lockup Windows 7 home premium 64bit
Pretty much as the title suggests. I am running two machines plus a server. One is a laptop running Vista 32bit, a desktop with Win7 64bit home premium and the server has XP professional 32bit. I have two network shares running on seperate physical drives on the server. I have them mapped as y and x drives on both of the other machines. If I startup Win7 with the server down or asleep and later wake up the server, file explorer has no problems connecting to the network drives. However, if I let the connection sit long enough idle to disconnect the network session, if I try to access the share through file explorer, either by clicking on the mapped network drive, or by clicking on the machine in network places, file explorer hangs. After that the behavior varies. Sometimes I can close file explorer, other times even using taskmgr to stop the application or the explorer.exe process instance won't shut it down. In any case, if I attempt to restart or shut off my computer it hangs at "logging off" and my only option is a hard reboot. Also once file explorer freezes the first time, other programs start behaving oddly with some of them locking up randomly until I do a hard reboot. Before or during this behavior, after the network session has been ended I can still remote in to the file server as well as access the shares using things like robocopy. I just can't access the shares using file explorer. My wife's laptop with Vista 32bit on it is not impacted by this. Any help would be greatly appreciated. I really don't want to have to face a situation where I need to leave the server up 16/7 to avoid the issue, especially since I probably use it maybe 5 minutes a day at most to do some small backups and file access, and it isn't always 5 minutes at a time, often it is 2-3 minutes of access early on and then an hour or two later I want to access it again for a couple of minutes (Which would then cause file explorer to lockup). I've tried disabling drive indexing on the networked drives as well as playing with the network type from home to work and back again and neither has helped.
March 31st, 2011 10:33am

Any suggestions??? My only thought is maybe something is going on with the KeepConn settings. Maybe Win7 is having the connection severed before the KeepConn default of 10 minutes and it is causing file explorer to freak out and loop through trying to use the session that had been established earlier instead of trying to establish a new one. Stab in the dark, but I am going to try changing my keepconn settings in lanmanworkstation to something low, like 30 seconds and see if after severing the connection I can restore it a minute or two later after Win7 itself thinks the connection has expired. Total shot in the dark.
Free Windows Admin Tool Kit Click here and download it now
April 1st, 2011 3:24pm

Hi, The issue is networking related, I suggest updating the network adapter driver from the manufacture's site manually. After that, please enable NetBIOS over TCP/IP for testing. 1) Go to "Control Panel -> Network and Internet ->Network Connections". 2) Right-Click on the connection and choose Properties. 3) Click "Internet Protocol (TCP/IP) Version 4" in the list. 4) Click Properties, and then click Advanced. 5) On the Advanced TCP/IP settings windows, go to "WINS" tab. 6) Under NetBIOS setting, click "Enable NetBIOS over TCP/IP", and then click OK. If the issue persists, I suggest you change the default time-out period for the autodisconnect feature of the Server service. Please open an elevated CMD windows and type the following command. net config server /autodisconnect:number where number is the number of minutes that you want the server to wait before it disconnects a mapped network drive. The maximum value for this command is 65,535. If you set the autodisconnect value to 0 (zero), the autodisconnect feature is not turned off, and the Server service disconnects mapped network drives after only a few seconds of idle time. To turn off the autodisconnect feature, you can set value to -1. net config server /autodisconnect:-1 Best Regards, NikiPlease remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
April 4th, 2011 4:21am

Turns out this issue was related to a 3rd party firewall running (zone alarm). Once I disabled it file explorer no longer freezes when reconnecting to a network drive. Also WOL now works. Apparently, even though Zone Alarm was asking me if I wanted to let the program through, Zone Alarm was filtering out magic packets. It is still a little weird as the server only wakes about 50% on a magic packet. So I put togethe a batch file to run the utility 10x in a row (takes about half a second) and it wakes 100% consistently. The issue I am now having though is slow network speeds on resume from sleep on the server. When I wake up the server from S3 and attempt a file transfer to the server I get speeds of about 120-130MB/s (some caching effect obviously) for about the first 500-700MB. After that the transfer halts for 1-3s and speeds drop to about 50MB/s for another 200-400MB at which time it tends to halt for anything from 2-10s and transfers resume at about 18-30MB/sec and continue steady at that speed. It does appear that after the server has been awake for around 3-6 minutes speeds will return to "normal" with no stuttering or reduce transfer rates. Also if I reboot the machine I immediately get increased transfer speeds. "steady state" transfers are about 60MB/sec to the server to the one drive target (1TB Samsung F3, which also has a 30GB boot partition on it) and 110MB/sec to the second drive (2TB Samsung F4eg), some spots, such as transfering in to a folder I will sometimes see steady state transfers around 80MB/sec to the F3. Not sure what is going on there with the speed difference (especially since the F3 benchmarks faster and file copy between drives on the system occurs around 130-140MB/sec for large files). Speeds from the server are always >100MB regardless of the drive I am transfering from. I have the latest Intel NIC drivers. Something that impact speeds earlier was disabling interupt moderation on both machines. This increased speeds from around 60/30MB/sec depending on the drive up to my current speed. Earlier speeds had been stuck at around 22MB/sec no matter the drive or what else I tried (I could get 90+MB/sec back from the server). Changing lanmanserver size to 3 and memory manager largesystemcache to 1 up it to those 60/30 specs. Something I did find that I am going to try out this evening is that apparently Large segement offloading doesn't work correctly in XP and potentially checksum offloading doesn't work either. http://support.microsoft.com/kb/933118 http://support.microsoft.com/kb/842264 I don't see how that would be impacting speeds after just resuming from sleep, but I figure it is worth a try. I've tried everything from repairing the network connection to stop and restarting the server (using net stop/start server) as well as rerunning the Intel Prosetmonitor tool and the other bundled Intel excutibles. Nothing. I have to wait 3-6 minutes and then I get 90% of my network speeds back.
Free Windows Admin Tool Kit Click here and download it now
April 6th, 2011 3:20pm

Hi, Does the phenomenon occurs on other clients or only on Windows 7? I notice the server installs XP, I suggest confirming with XP Forum with this issue. Windows XP Forum http://social.technet.microsoft.com/Forums/en/itproxpsp/threads From Windows 7 side, you can run the following commands with Administrator privilege to check the result. netsh interface tcp set global rss=disabled netsh interface tcp set global autotuninglevel=disabled netsh int ip set global taskoffload=disabled Best Regards, NikiPlease remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
April 7th, 2011 5:27am

Thanks. I'll check over on the XP forum. I had tried your suggestions previously with no results. I did verify it is almost exactly 5 minutes after the server resumes from sleep that speeds go back up. If I am transfering and the transfer pauses I've noticed that CPU usage on the server temporarily drops to 0% during the pauses. I am pretty sure the issue is strictly with the server, not with my windows 7 client. I'll give transfers a try with my wife's laptop, though that only has a B/G wireless adapter and a fast ethernet port on it, so I can't hammer it the same way. Though if halting transfers is an issue at slower speeds, that would be revealing as well. The laptop runs Vista 32 bit.
Free Windows Admin Tool Kit Click here and download it now
April 8th, 2011 3:38pm

Hi, If you have any upgrade regarding the issue, you can send the feedback here. Niki Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
April 10th, 2011 11:14pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics