"Location is not available" error when you access a mapped network drive after Windows standby or resume

Applies To
Windows 7 Service Pack 1 Windows 7 Enterprise Windows 7 Home Premium Windows 7 Professional Windows 7 Ultimate Windows 7 Starter Windows Server 2008 R2 Service Pack 1 Windows Server 2008 R2 Datacenter Windows Server 2008 R2 Enterprise Windows Server 2008 R2 Standard Windows Server 2008 R2 Foundation Windows Server 2008 R2 for Itanium-Based Systems

Symptoms

Consider the following scenario:

  • You have a Windows 7 or Windows Server 2008 R2 computer that supports the sleep and resume functionality and joined to a domain.
  • You access a mapped network drive from Explorer on a Windows 7 or Windows Server 2008 R2 computer.
  • You put the computer to sleep and wake the computer again after some time.

In this situation, you cannot access the mapped network drive for a short time, and you cannot save open Microsoft Office files (Word, Excel) within the first 30 seconds after you resume from hiberation. Additionally, you may receive error messages such as the following:

Note

Location is not available.

Can't Access x:\

The specified network name is no longer available.

The local device name is already in use.

This connection has not been restored.

Cause

This issue occurs because the Server Message Block (SMB) session is deleted on the server-side.

Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:

http:⁠//support.microsoft.com/contactus/?ws=support Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running Windows 7 SP1 or Windows Server 2008 R2 SP1.

For more information about how to obtain a Windows 7 or Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2

Registry information

This hotfix introduces a new registry key.

Location: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
Name: InvalidFileServerCacheLifeTime
Type: REG_DWORD
Default value: 30 (seconds)
Max value: 30

In order to reduce the time of the unavailable network share or drive mapping, you can set a lower value, such as 10 seconds.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

Windows 7 and Windows Server 2008 R2 file information notes Important Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Server 2008 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.

  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:

    Version Product Milestone Service branch
    6.1.760 1.22xxx Windows 7 and Windows Server 2008 R2 SP1 LDR
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows 7 and for Windows Server 2008 R2" section. MUM,MANIFEST, and the associated security catalog (.cat) files, are very important to maintaining the state of the updated component. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.

For all supported x86-based versions of Windows 7

File name File version File size Date Time Platform
Mrxsmb20.sys 6.1.7601.22552 97,280 27-Dec-2013 00:57 x86
Mrxsmb.sys 6.1.7601.22552 123,904 27-Dec-2013 00:57 x86

For all supported x64-based versions of Windows Server 2008 R2 and of Windows 7

File name File version File size Date Time Platform
Mrxsmb20.sys 6.1.7601.22552 128,000 27-Dec-2013 01:11 x64
Mrxsmb.sys 6.1.7601.22552 158,720 27-Dec-2013 01:12 x64

For all supported IA64-based versions of Windows Server 2008 R2

File name File version File size Date Time Platform
Mrxsmb20.sys 6.1.7601.22552 311,296 27-Dec-2013 00:36 IA-64
Mrxsmb.sys 6.1.7601.22552 368,640 27-Dec-2013 00:36 IA-64

      

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Additional file information for Windows 7 and Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7

File property Value
File name X86_abaa44b3d9e247fc3b1c78e2ce9dc4e1_31bf3856ad364e35_6.1.7601.22552_none_93e2c51c3d55a8e3.manifest
File version Not applicable
File size 1,043
Date (UTC) 27-Dec-2013
Time (UTC) 07:45
Platform Not applicable
File name X86_f4a50e095c6fd835a660ffcdde235413_31bf3856ad364e35_6.1.7601.22552_none_29929b2161d9426d.manifest
File version Not applicable
File size 736
Date (UTC) 27-Dec-2013
Time (UTC) 07:45
Platform Not applicable
File name X86_microsoft-windows-s..achelifetime-regkey_31bf3856ad364e35_6.1.7601.22552_none_61bf0e4e476bab30.manifest
File version Not applicable
File size 1,425
Date (UTC) 27-Dec-2013
Time (UTC) 02:29
Platform Not applicable
File name X86_microsoft-windows-smb20-minirdr_31bf3856ad364e35_6.1.7601.22552_none_8d3ea3600147f35b.manifest
File version Not applicable
File size 4,035
Date (UTC) 27-Dec-2013
Time (UTC) 02:33
Platform Not applicable
File name X86_microsoft-windows-smbminirdr_31bf3856ad364e35_6.1.7601.22552_none_81f51af9c89f8188.manifest
File version Not applicable
File size 4,757
Date (UTC) 27-Dec-2013
Time (UTC) 02:30
Platform Not applicable

Additional files for all supported x64-based versions of Windows Server 2008 R2 and of Windows 7

File property Value
File name Amd64_0c6dfe77174838179a6f490b5454b4cb_31bf3856ad364e35_6.1.7601.22552_none_4f35f867fbdd3dc7.manifest
File version Not applicable
File size 1,049
Date (UTC) 27-Dec-2013
Time (UTC) 07:45
Platform Not applicable
File name Amd64_1669f6aaedff63937fd2667bdc42a543_31bf3856ad364e35_6.1.7601.22552_none_d3f35187c3151572.manifest
File version Not applicable
File size 740
Date (UTC) 27-Dec-2013
Time (UTC) 07:45
Platform Not applicable
File name Amd64_microsoft-windows-s..achelifetime-regkey_31bf3856ad364e35_6.1.7601.22552_none_bddda9d1ffc91c66.manifest
File version Not applicable
File size 1,427
Date (UTC) 27-Dec-2013
Time (UTC) 02:52
Platform Not applicable
File name Amd64_microsoft-windows-smb20-minirdr_31bf3856ad364e35_6.1.7601.22552_none_e95d3ee3b9a56491.manifest
File version Not applicable
File size 4,039
Date (UTC) 27-Dec-2013
Time (UTC) 02:57
Platform Not applicable
File name Amd64_microsoft-windows-smbminirdr_31bf3856ad364e35_6.1.7601.22552_none_de13b67d80fcf2be.manifest
File version Not applicable
File size 4,761
Date (UTC) 27-Dec-2013
Time (UTC) 02:54
Platform Not applicable

Additional files for all supported IA64-based versions of Windows Server 2008 R2

File property Value
File name Ia64_7dc546cd4e9e4aca3da6ce943ee5fb9c_31bf3856ad364e35_6.1.7601.22552_none_eb81cdf175100c39.manifest
File version Not applicable
File size 1,046
Date (UTC) 27-Dec-2013
Time (UTC) 07:44
Platform Not applicable
File name Ia64_ea5f6562ac7ec65e314657dec93c3ad1_31bf3856ad364e35_6.1.7601.22552_none_771b328eb32c406d.manifest
File version Not applicable
File size 738
Date (UTC) 27-Dec-2013
Time (UTC) 07:44
Platform Not applicable
File name Ia64_microsoft-windows-s..achelifetime-regkey_31bf3856ad364e35_6.1.7601.22552_none_61c0b2444769b42c.manifest
File version Not applicable
File size 1,426
Date (UTC) 27-Dec-2013
Time (UTC) 02:22
Platform Not applicable
File name Ia64_microsoft-windows-smb20-minirdr_31bf3856ad364e35_6.1.7601.22552_none_8d4047560145fc57.manifest
File version Not applicable
File size 4,037
Date (UTC) 27-Dec-2013
Time (UTC) 02:26
Platform Not applicable
File name Ia64_microsoft-windows-smbminirdr_31bf3856ad364e35_6.1.7601.22552_none_81f6beefc89d8a84.manifest
File version Not applicable
File size 4,759
Date (UTC) 27-Dec-2013
Time (UTC) 02:22
Platform Not applicable