Incorrect "File in use" message when you try to open an Excel 2007 document from a remote shared folder on a computer that is running Windows Vista, Windows Server 2008, Windows 7 or Windows Server 2008 R2

Symptoms

You open a remote shared folder in Windows Explorer that uses the Details view and for which the Preview Pane layout is enabled on a computer that is running Windows Vista, Windows Server 2008, Windows 7, or Windows Server 2008 R2. When you try to open a Microsoft Office Excel 2007 Workbook from the remote shared folder, you may receive the following message:

File in Use
file_name is locked for editing by
user_name
However, in this case, no other user is using this document.

Note This problem also occurs when you try to open other shared 2007 Office documents. Different users cannot exclusively edit such shared documents.

Resolution

To have us resolve the problem for you, go to the "Fix it for me" section.If you prefer to fix this problem yourself, go to the "Let me fix it myself" section.


Fix it for me

To fix this problem automatically, click the Fix it button or link. Then click Run in the File Download dialog box, and follow the steps in the Fix it wizard.


  • If you are using Windows Vista or Windows Server 2008 without Service Pack 1 installed, please install the hotfix in the "Hotfix download available" section at the beginning of this Knowledge Base article before you run the Fix it solution.

  • This Fix it solution applies to both Office 2007 and Microsoft Office 2010.

  • This wizard may be in English only. However, the automatic fix also works for other language versions of Windows.

  • If you are not on the computer that has the problem, save the Fix it solution to a flash drive or a CD and then run it on the computer that has the problem.

  • We would appreciate your feedback. To provide feedback or to report any issues with this solution, please leave a comment on the "Fix it for me" blog or send us an email message.



To resolve this issue for Windows 7 and Windows Server 2008 R2, you can add the following registry keys:

  • Key: HKEY_CLASSES_ROOT\CLSID\{993BE281-6695-4BA5-8A2A-7AACBFAAB69E}

    Name: EnableShareDenyNone

    Type: REG_DWORD

    Value: 1

  • Key: HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{993BE281-6695-4BA5-8A2A-7AACBFAAB69E}

    Name: EnableShareDenyNone

    Type: REG_DWORD

    Value: 1

Note This setting applies to both Office 2007 and Office 2010.

Service pack informationTo resolve this problem, obtain the latest service pack for Windows Vista. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

935791 How to obtain the latest Windows Vista service pack

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 this specific problem. 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 Web site:

http://support.microsoft.com/contactus/?ws=supportNote 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.

PrerequisitesNo prerequisites are required.

Restart requirementYou must restart the computer after you apply this hotfix.

Hotfix replacement informationThis hotfix does not replace any other hotfixes.

File information The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Windows Vista, 32-bit versions

File name

File version

File size

Date

Time

Platform

Update.mum

Not Applicable

27,118

05-Sep-2007

11:18

Not Applicable

X86_microsoft-windows-propsys_31bf3856ad364e35_6.0.6000.20674_none_00b914b04a9af30b.manifest

Not Applicable

119,358

05-Sep-2007

11:19

Not Applicable

X86_microsoft-windows-shell32_31bf3856ad364e35_6.0.6000.20674_none_6a84d8d12e282864.manifest

Not Applicable

975,772

05-Sep-2007

11:19

Not Applicable

Propsys.dll

6.0.6000.20674

733,696

05-Sep-2007

02:18

x86

Shell32-ppdlic.xrm-ms

Not Applicable

3,150

05-Sep-2007

02:07

Not Applicable

Shell32.dll

6.0.6000.20674

11,318,784

05-Sep-2007

02:19

x86

Windows Vista, 64-bit versions

File name

File version

File size

Date

Time

Platform

Amd64_microsoft-windows-propsys_31bf3856ad364e35_6.0.6000.20674_none_5cd7b03402f86441.manifest

Not Applicable

119,382

05-Sep-2007

11:54

Not Applicable

Amd64_microsoft-windows-shell32_31bf3856ad364e35_6.0.6000.20674_none_c6a37454e685999a.manifest

Not Applicable

977,919

05-Sep-2007

11:54

Not Applicable

Update.mum

Not Applicable

27,629

05-Sep-2007

11:19

Not Applicable

Wow64_microsoft-windows-shell32_31bf3856ad364e35_6.0.6000.20674_none_d0f81ea71ae65b95.manifest

Not Applicable

968,819

05-Sep-2007

11:54

Not Applicable

Propsys.dll

6.0.6000.20674

907,264

05-Sep-2007

03:15

Not Applicable

Shell32-ppdlic.xrm-ms

Not Applicable

3,150

05-Sep-2007

03:04

Not Applicable

Shell32.dll

6.0.6000.20674

12,786,688

05-Sep-2007

03:16

x64

Shell32.dll

6.0.6000.20674

11,318,784

05-Sep-2007

02:19

x86

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Windows Vista Service Pack 1.

More Information

If you use the 2007 Office system, you must add following registry keys after you install this hotfix.

  • Key:
    HKEY_CLASSES_ROOT\CLSID\{993BE281-6695-4BA5-8A2A-7AACBFAAB69E}
    Name: EnableShareDenyNone
    Type: REG_DWORD
    Value: 1

  • Key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{993BE281-6695-4BA5-8A2A-7AACBFAAB69E}

    Name: EnableShareDenyNone
    Type: REG_DWORD
    Value: 1

Save the following text as a .reg file, and then and double click the file.

Windows Registry Editor Version 5.00 
[HKEY_CLASSES_ROOT\CLSID\{993BE281-6695-4BA5-8A2A-7AACBFAAB69E}]
@="Microsoft Office Metadata Handler"
"EnableShareDenyNone"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{993BE281-6695-4BA5-8A2A-7AACBFAAB69E}]
@="Microsoft Office Metadata Handler"
"EnableShareDenyNone"=dword:00000001

Note: The components affecting the issue has been updated on Windows 7 and Windows Server 2008 R2, however, to fix the problem the above registry entries have to be made on Windows 7 and Windows Server 2008 R2 machines as well.

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

822227 Program may raise a sharing violation when a file is opened from Windows Explorer

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

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×