Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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"

View products that this article applies to.


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.

↑ Back to the top


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.

↑ Back to the top


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


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
File nameFile versionFile sizeDateTimePlatform
Package_1_for_kb949857~31bf3856ad364e35~x86~~ applicable1,94729-Feb-200819:07Not applicable
Package_2_for_kb949857~31bf3856ad364e35~x86~~ applicable1,78529-Feb-200819:07Not applicable
Package_3_for_kb949857~31bf3856ad364e35~x86~~ applicable1,78529-Feb-200819:07Not applicable
Package_4_for_kb949857~31bf3856ad364e35~x86~~ applicable1,78529-Feb-200819:07Not applicable
Package_for_kb949857_client_0~31bf3856ad364e35~x86~~ applicable1,42529-Feb-200819:07Not applicable
Package_for_kb949857_client_1~31bf3856ad364e35~x86~~ applicable1,36729-Feb-200819:07Not applicable
Package_for_kb949857_client~31bf3856ad364e35~x86~~ applicable1,71229-Feb-200819:07Not applicable
Package_for_kb949857_sc_0~31bf3856ad364e35~x86~~ applicable1,42129-Feb-200819:07Not applicable
Package_for_kb949857_sc~31bf3856ad364e35~x86~~ applicable1,42329-Feb-200819:07Not applicable
Package_for_kb949857_server_0~31bf3856ad364e35~x86~~ applicable1,42529-Feb-200819:07Not applicable
Package_for_kb949857_server~31bf3856ad364e35~x86~~ 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
Windows Vista, 64-bit versions
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~~ applicable1,95929-Feb-200819:07Not applicable
Package_2_for_kb949857~31bf3856ad364e35~amd64~~ applicable1,79529-Feb-200819:07Not applicable
Package_3_for_kb949857~31bf3856ad364e35~amd64~~ applicable1,79529-Feb-200819:07Not applicable
Package_4_for_kb949857~31bf3856ad364e35~amd64~~ applicable1,79529-Feb-200819:07Not applicable
Package_for_kb949857_client_0~31bf3856ad364e35~amd64~~ applicable1,43329-Feb-200819:07Not applicable
Package_for_kb949857_client_1~31bf3856ad364e35~amd64~~ applicable1,37529-Feb-200819:07Not applicable
Package_for_kb949857_client~31bf3856ad364e35~amd64~~ applicable1,72229-Feb-200819:07Not applicable
Package_for_kb949857_sc_0~31bf3856ad364e35~amd64~~ applicable1,42929-Feb-200819:07Not applicable
Package_for_kb949857_sc~31bf3856ad364e35~amd64~~ applicable1,43129-Feb-200819:07Not applicable
Package_for_kb949857_server_0~31bf3856ad364e35~amd64~~ applicable1,43329-Feb-200819:07Not applicable
Package_for_kb949857_server~31bf3856ad364e35~amd64~~ applicable1,43929-Feb-200819:07Not applicable
Update.mumNot applicable2,59829-Feb-200819:07Not applicable
Windows Vista, Itanium-based versions
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~~ applicable1,79029-Feb-200819:07Not applicable
Package_2_for_kb949857~31bf3856ad364e35~ia64~~ applicable1,79029-Feb-200819:07Not applicable
Package_for_kb949857_sc_0~31bf3856ad364e35~ia64~~ applicable1,42529-Feb-200819:07Not applicable
Package_for_kb949857_sc~31bf3856ad364e35~ia64~~ applicable1,42629-Feb-200819:07Not applicable
Package_for_kb949857_server_0~31bf3856ad364e35~ia64~~ applicable1,42929-Feb-200819:07Not applicable
Package_for_kb949857_server~31bf3856ad364e35~ia64~~ applicable1,43429-Feb-200819:07Not applicable
Update.mumNot applicable1,92229-Feb-200819:07Not applicable

↑ Back to the top


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

↑ Back to the top

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

↑ Back to the top

Keywords: kbautohotfix, kbexpertiseadvanced, kbfix, kbqfe, kbHotfixServer, KB949857

↑ Back to the top

Article Info
Article ID : 949857
Revision : 2
Created on : 10/8/2011
Published on : 10/8/2011
Exists online : False
Views : 470