Windows7 looses the mapped network shares, both in Windows and in our software
Hi all. We have a strange situation here. We are developing a document system for our customers and this has been working just fine for years. Now, customers are upgrading to WIndows 7 and problems are raising. The Software relies on dreive letters , "Z:\Documents\Document.doc" and when the user opens the document in our program, Word is starting with the document loaded. Now, In Windows 7 they get a message "File not found". When we navigate in the "My Computer", the mapped drive is disconnected, but I can easly reconnect and open the document with no problem at all. The temporary sollution: In our software we allso have a mail client that lets us attach a file with a mail and to get to the attachment we have added a file browser. When I open this file browser in our software, I notice that the mapped drive is still disconnected, even if I reconnected it in "My Computer". When I double click on the mapped drive, it appears to be reconnected. Now after closing down the mail client, all documents can be opened again, until the mapped drive again goes disconnected. Please help me out here. THis is not only irritating for our customers, but its difficult to make the customer understand that this is not our fault, but in fact something the developers of Windows 7 for some reason has decided to be a default behaviour. regards Ole Morten Heien Advisor AS Norway
May 20th, 2010 1:39pm

There is a setting in the registry to auto disconnect an unused connection - MS must figure it would save bandwidth, or something. The MS knowledge base article is Q138365. Cut and paste from the article: "You can find the LANAutodisconnect parameter in the registry under the subtree HKEY_LOCAL_MACHINE under the subkey: \System\CurrentControlSet\Services\LanmanServer\Parameters The valid value range is -1 to 65535 minutes at the command line. To disable Autodisconnect set it to -1."
Free Windows Admin Tool Kit Click here and download it now
May 20th, 2010 4:14pm

Thanx, i wil sure try this...
May 26th, 2010 5:08pm

This sounds like the problem i'm having. see this tread: http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/65cf6059-0e5d-46e0-b858-8fd334da3238/ sorry, i'm not meaning to take over your tread, just that this is kind of the same problem. Like for instance, if i open an application from a network share. Leave the computer on for some hours and then download a file to a network share the shares to the server gets a red cross over them and the application running from the network share hangs and i have to kill it. However if i then click on the disconnected drive i can browse the folder(s) and the red cross dissapears. Also, there is no errors in the Event Logs. This is from Windows 7 Enterprise (was like this with Vista also) against a SBS2008 Server. So, i understand your frustration.
Free Windows Admin Tool Kit Click here and download it now
June 3rd, 2010 12:20am

I doubt that it is a problem with setting the mapped drive as persistent. With Windows 7, my mapped drive would always show up as disconnected on a restart. It would also take over 1 hour to view a jpg file from the network drive by double-clicking on it (I say over 1 hour, because that is when I gave up). It turned out that after following this: http://home.bott.ca/webserver/?p=226 not only did my access to the mapped network drive work as it should (no hangs, no waiting for it to discover items when copying one file, able to use Word or Powerpoint with files on the file server), on rebooting, the mapped network drive showed up without the red "x" on it. During earlier troubleshooting I mapped the drive by the servers IP address instead of name. That might help as well.
June 3rd, 2010 6:33am

Problem solved It was related to the Manifest. The app was set up with a Windows XP manifest and Vista/Windows 7 dont recognize this as safe apparently. Changed to Vista/Windows7 manifest and everything works just perfect.
Free Windows Admin Tool Kit Click here and download it now
June 7th, 2010 6:57pm

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

Other recent topics Other recent topics