Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Mapped Drive Loosing Connection after 6 to 8 hours


20 Feb 2011   #1

Windows 7 Professional 64-Bit
 
 
Mapped Drive Loosing Connection after 6 to 8 hours

Ok, here is a problem I have been having lately and it is driving me crazy. I have a network with a server running 2008 Standard R2 and 4 workstations using Windows 7 Professional 64-bit. I also have 1 other station using Windows XP Professional. The software I run off the server is installed as a client install on the workstations and have to use a mapped drive of E: to let the software see the database. Every 6 to 8 hours of non use of the software... when I reopen it I get a not responding and it has to close and reopen. I looked at the mapped drives and the E: drive disconnects but after opening the E: Drive up it connects right away and then the software works fine. I have tried a lot of things people are saying online. I have disabled autodisconnect -1 in the registry and turned off power management on the Ethernet port. I get the following message when I look at the event viewer...

Event 1005, Application Error
"Windows cannot access the file for one of the following reasons: there is problem with the network connection, the disk that the file is stored on, or storage drivers on tihs computer may be missing."

But here is the kicker... The windows XP Professional works all the time with no problems so it has to be Windows 7. I have the IPs static in the NIC properties and using the DNS of 8.8.8.8 and 8.8.4.4 which is Google. I was using 192.168.0.100 which was the IP of the server but that didn't make a difference.

I gave a lot of details to weed out the normal postings so any help would be appreciated. Also I have DHCP and DNS turned on the server if that would be any possible issue that is causing. I don't know beings I put Google as the DNS if routing in the software would be an issue?

My System SpecsSystem Spec
.

20 Feb 2011   #2

Win 8 Release candidate 8400
 
 

Quote   Quote: Originally Posted by ap3xne View Post
Ok, here is a problem I have been having lately and it is driving me crazy. I have a network with a server running 2008 Standard R2 and 4 workstations using Windows 7 Professional 64-bit. I also have 1 other station using Windows XP Professional. The software I run off the server is installed as a client install on the workstations and have to use a mapped drive of E: to let the software see the database. Every 6 to 8 hours of non use of the software... when I reopen it I get a not responding and it has to close and reopen. I looked at the mapped drives and the E: drive disconnects but after opening the E: Drive up it connects right away and then the software works fine. I have tried a lot of things people are saying online. I have disabled autodisconnect -1 in the registry and turned off power management on the Ethernet port. I get the following message when I look at the event viewer...

Event 1005, Application Error
"Windows cannot access the file for one of the following reasons: there is problem with the network connection, the disk that the file is stored on, or storage drivers on tihs computer may be missing."

But here is the kicker... The windows XP Professional works all the time with no problems so it has to be Windows 7. I have the IPs static in the NIC properties and using the DNS of 8.8.8.8 and 8.8.4.4 which is Google. I was using 192.168.0.100 which was the IP of the server but that didn't make a difference.

I gave a lot of details to weed out the normal postings so any help would be appreciated. Also I have DHCP and DNS turned on the server if that would be any possible issue that is causing. I don't know beings I put Google as the DNS if routing in the software would be an issue?
Could be dns, or using IPv6. Are you using homegroup (and IPv6)? check by running ipconfig /all and upload the output.


Ken J
My System SpecsSystem Spec
20 Feb 2011   #3

Windows 7 Professional 64-Bit
 
 

I am not using IPv6.

ipconfig /all details:

DHCP Enabled: No
Autoconfig enabled: Yes
IPv4 Address: 192.168.0.51
Subnet: 255.255.255.0
Default Gateway: 192.168.0.1
DNS: 192.168.0.100, 8.8.8.8
Netbios Over tcip: Enabled

I am not using homegroup.
My System SpecsSystem Spec
.


03 Feb 2012   #4

Windows 7 Ultimate 64-bit
 
 

Ap3xne,
I struggled with this for a couple of weeks before finally figuring it out. After that I involved microsoft with my findings and they admitted to the bug and wanted me to help them test a solution. I haven't had time and let my case slip closed. Maybe this will be fixed in server / workstation 8 upgrades.
Anyways, this is due to SMBv2 signing which is new to vista/7 and windows 2008. I first noticed that this bug existed in one of my government clients. Everything worked well in XP workstations with a 2k8r2 server, but when i upgraded them to Windows 7 all heck broke loose.
There is 2 parts to fixing this:
First:
Run on the server in a administrative command prompt. c:\net config server /autodisconnect:-1
This will turn off the automatic drive mapping disconnect.
Second:
This part I recommend running on the Windows 7 and vista workstations and not the server. Again, go to an administrative command prompt (on each workstation) and run c:\sc config lanmanworkstation depend= bowser/mrxsmb10/nsi
and
c:\sc config mrxsmb20 start= disabled
This will disable SMBv2 signing on the local workstations and they will resort to SMB (version 1) signing.

Reboot the machine and you are fixed.

** You can also bypass smbv2 siging by using ip addresses in the mappings instead of hostnames. (IPs use NTLM and not SMB) The only issue is you will have to know how to add the IPs of the servers into IE or you will get an error about the app being untrusted everytime you launch it.

Hope this helps. It was driving me buggy for awhile.
Nick
Network / Systems Engineer
My System SpecsSystem Spec
Reply

 Mapped Drive Loosing Connection after 6 to 8 hours




Thread Tools



Similar help and support threads for2: Mapped Drive Loosing Connection after 6 to 8 hours
Thread Forum
XPMode loosing connection to host Virtualization
Mapped network drive loses connection after a while Network & Sharing
mapped drive connection eventID Network & Sharing
windows 7 loosing connection to mapped network drive Network & Sharing
Loosing connection to network devices Network & Sharing
Loosing internet connection... Help Network & Sharing
Loosing connection to servershares Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:24 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33