You receive a Share warning popup when deleting a folder which has modified ACL's

Article ID: 2493924 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

Consider the following scenario:

1. You are using Windows 7 or Windows Server 2008 R2.

2. A parent folder includes a child folder with different permission than the parent.

3. The folder is deleted using Windows Explorer.

When the folder is deleted, a popup is displayed warning that the folder is shared with other people when it is not.

CAUSE

This is due to the way in which the Access Control List (ACL) is queried by Windows Explorer to determine if the folder is shared. When the parent and child folder have different permissions, two security entries are returned, which causes Explorer to treat the folder as though it is shared.

RESOLUTION

As a workaround, the following registry key can be deleted:

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

HKEY_CLASSES_ROOT\Directory\shellex\CopyHookHandlers\Sharing 

Deleting this registry key causes the share enumeration in Explorer to be ignored while creating or renaming a folder.

Deleting this registry key has three caveats to be aware of:

a) The warning popup/confirmation dialog when deleting a shared folder is NO longer displayed when a shared folder is deleted.

b) When a folder is moved, it will no longer be automatically unshared (Depending on the configuration, this might result also in an ACL change of the moved folder)

c) Automatic Unpublish of items will no longer occur. This feature is primarily relevant only when the system is joined to a “HomeGroup” and not in an enterprise environment.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2493924 - Last Review: January 17, 2011 - Revision: 1.0
APPLIES TO
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Enterprise
  • Windows 7 Enterprise
  • Windows 7 Home Basic
  • Windows 7 Home Premium
  • Windows 7 Professional
Keywords: 
KB2493924

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