Error message when you try to delete a folder after an SMB share has been removed on a computer that is running Windows Vista Service Pack 1 or Windows Server 2008: "The action can't be completed because the folder is open in another program"

Article translations Article translations
Article ID: 949857 - View products that this article applies to.
Support for Windows Vista Service Pack 1 (SP1) ends on July 12, 2011. To continue receiving security updates for Windows, make sure you're running Windows Vista with Service Pack 2 (SP2). For more information, refer to this Microsoft web page: Support is ending for some versions of Windows.
Expand all | Collapse all

On This Page

SYMPTOMS

Consider the following scenario:
  • On a computer that is running Windows Vista Service Pack 1 (SP1) or Windows Server 2008, you create a Server Message Block (SMB) share.
  • After the share is not accessed for some time, you remove the share.
In this scenario, you cannot delete the folder that is used to back the share. Additionally, you receive an error message that resembles the following:
Folder In Use
The action can't be completed because the folder is open in another program
Close the folder and try again.
In this case, you have to restart the computer. After that, you can delete the folder.

CAUSE

This issue occurs because of a handle leak. When the share is removed, the handle to the folder that backs the share may not be closed. Therefore, the issue occurs.

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 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=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.

Important Windows Vista and Windows Server 2008 hotfixes are included in the same packages. However, only one of these products may be listed on the “Hotfix Request” page. To request the hotfix package that applies to both Windows Vista and Windows Server 2008, just select the product that is listed on the page.

Prerequisites

There are no prerequisites for installing this hotfix.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

Registry information

To use one of the hotfixes in this package, you do not have to make any changes to the registry.

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
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Package_1_for_kb949857~31bf3856ad364e35~x86~~6.0.1.0.mumNot applicable1,94729-Feb-200819:07Not applicable
Package_2_for_kb949857~31bf3856ad364e35~x86~~6.0.1.0.mumNot applicable1,78529-Feb-200819:07Not applicable
Package_3_for_kb949857~31bf3856ad364e35~x86~~6.0.1.0.mumNot applicable1,78529-Feb-200819:07Not applicable
Package_4_for_kb949857~31bf3856ad364e35~x86~~6.0.1.0.mumNot applicable1,78529-Feb-200819:07Not applicable
Package_for_kb949857_client_0~31bf3856ad364e35~x86~~6.0.1.0.mumNot applicable1,42529-Feb-200819:07Not applicable
Package_for_kb949857_client_1~31bf3856ad364e35~x86~~6.0.1.0.mumNot applicable1,36729-Feb-200819:07Not applicable
Package_for_kb949857_client~31bf3856ad364e35~x86~~6.0.1.0.mumNot applicable1,71229-Feb-200819:07Not applicable
Package_for_kb949857_sc_0~31bf3856ad364e35~x86~~6.0.1.0.mumNot applicable1,42129-Feb-200819:07Not applicable
Package_for_kb949857_sc~31bf3856ad364e35~x86~~6.0.1.0.mumNot applicable1,42329-Feb-200819:07Not applicable
Package_for_kb949857_server_0~31bf3856ad364e35~x86~~6.0.1.0.mumNot applicable1,42529-Feb-200819:07Not applicable
Package_for_kb949857_server~31bf3856ad364e35~x86~~6.0.1.0.mumNot applicable1,43129-Feb-200819:07Not applicable
Update.mumNot applicable2,58029-Feb-200819:07Not applicable
X86_887e7858009ba2192ece3e99070dbb99_31bf3856ad364e35_6.0.6000.20782_none_4a7f885d5ef679b2.manifestNot applicable70029-Feb-200819:07Not applicable
X86_c22599967b2f107b98aa2613252afdc0_31bf3856ad364e35_6.0.6001.22125_none_bd4ddcf782b6fe30.manifestNot applicable70029-Feb-200819:07Not applicable
X86_microsoft-windows-smbserver-v1_31bf3856ad364e35_6.0.6000.20782_none_d84648b412a9b8e4.manifestNot applicable4,62729-Feb-200807:12Not applicable
X86_microsoft-windows-smbserver-v1_31bf3856ad364e35_6.0.6001.22125_none_da7067c00f9cee34.manifestNot applicable4,62729-Feb-200807:39Not applicable
Srv.sys6.0.6000.20782290,81629-Feb-200804:05x86
Srv.sys6.0.6001.22125288,76829-Feb-200804:06x86
Windows Vista, 64-bit versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Amd64_84ae4bd125af69974eab27c57bbe98f7_31bf3856ad364e35_6.0.6000.20782_none_66d3ea15850f71b3.manifestNot applicable70429-Feb-200819:07Not applicable
Amd64_87cff416810246af325990773208cdb7_31bf3856ad364e35_6.0.6001.22125_none_648e3899c17b25b8.manifestNot applicable70429-Feb-200819:07Not applicable
Amd64_microsoft-windows-smbserver-v1_31bf3856ad364e35_6.0.6000.20782_none_3464e437cb072a1a.manifestNot applicable4,89129-Feb-200807:16Not applicable
Amd64_microsoft-windows-smbserver-v1_31bf3856ad364e35_6.0.6001.22125_none_368f0343c7fa5f6a.manifestNot applicable4,89129-Feb-200807:58Not applicable
Package_1_for_kb949857~31bf3856ad364e35~amd64~~6.0.1.0.mumNot applicable1,95929-Feb-200819:07Not applicable
Package_2_for_kb949857~31bf3856ad364e35~amd64~~6.0.1.0.mumNot applicable1,79529-Feb-200819:07Not applicable
Package_3_for_kb949857~31bf3856ad364e35~amd64~~6.0.1.0.mumNot applicable1,79529-Feb-200819:07Not applicable
Package_4_for_kb949857~31bf3856ad364e35~amd64~~6.0.1.0.mumNot applicable1,79529-Feb-200819:07Not applicable
Package_for_kb949857_client_0~31bf3856ad364e35~amd64~~6.0.1.0.mumNot applicable1,43329-Feb-200819:07Not applicable
Package_for_kb949857_client_1~31bf3856ad364e35~amd64~~6.0.1.0.mumNot applicable1,37529-Feb-200819:07Not applicable
Package_for_kb949857_client~31bf3856ad364e35~amd64~~6.0.1.0.mumNot applicable1,72229-Feb-200819:07Not applicable
Package_for_kb949857_sc_0~31bf3856ad364e35~amd64~~6.0.1.0.mumNot applicable1,42929-Feb-200819:07Not applicable
Package_for_kb949857_sc~31bf3856ad364e35~amd64~~6.0.1.0.mumNot applicable1,43129-Feb-200819:07Not applicable
Package_for_kb949857_server_0~31bf3856ad364e35~amd64~~6.0.1.0.mumNot applicable1,43329-Feb-200819:07Not applicable
Package_for_kb949857_server~31bf3856ad364e35~amd64~~6.0.1.0.mumNot applicable1,43929-Feb-200819:07Not applicable
Update.mumNot applicable2,59829-Feb-200819:07Not applicable
Srv.sys6.0.6000.20782450,56029-Feb-200804:16x64
Srv.sys6.0.6001.22125452,60829-Feb-200804:36x64
Windows Vista, Itanium-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Ia64_3e37f6e9b0416e4991367f292b242aee_31bf3856ad364e35_6.0.6001.22125_none_96b200694e53efcd.manifestNot applicable70229-Feb-200819:07Not applicable
Ia64_microsoft-windows-smbserver-v1_31bf3856ad364e35_6.0.6001.22125_none_da720bb60f9af730.manifestNot applicable4,88529-Feb-200807:53Not applicable
Package_1_for_kb949857~31bf3856ad364e35~ia64~~6.0.1.0.mumNot applicable1,79029-Feb-200819:07Not applicable
Package_2_for_kb949857~31bf3856ad364e35~ia64~~6.0.1.0.mumNot applicable1,79029-Feb-200819:07Not applicable
Package_for_kb949857_sc_0~31bf3856ad364e35~ia64~~6.0.1.0.mumNot applicable1,42529-Feb-200819:07Not applicable
Package_for_kb949857_sc~31bf3856ad364e35~ia64~~6.0.1.0.mumNot applicable1,42629-Feb-200819:07Not applicable
Package_for_kb949857_server_0~31bf3856ad364e35~ia64~~6.0.1.0.mumNot applicable1,42929-Feb-200819:07Not applicable
Package_for_kb949857_server~31bf3856ad364e35~ia64~~6.0.1.0.mumNot applicable1,43429-Feb-200819:07Not applicable
Update.mumNot applicable1,92229-Feb-200819:07Not applicable
Srv.sys6.0.6001.22125945,66429-Feb-200804:13IA-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

Properties

Article ID: 949857 - Last Review: October 8, 2011 - Revision: 2.0
APPLIES TO
  • Windows Vista Service Pack 1, when used with:
    • Windows Vista Enterprise 64-bit Edition
    • Windows Vista Home Basic 64-bit Edition
    • Windows Vista Home Premium 64-bit Edition
    • Windows Vista Ultimate 64-bit Edition
    • Windows Vista Business
    • Windows Vista Business 64-bit Edition
    • Windows Vista Home Basic
    • Windows Vista Home Premium
    • Windows Vista Ultimate
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Standard
Keywords: 
kbautohotfix kbexpertiseadvanced kbfix kbqfe kbHotfixServer KB949857

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com