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

Applies to: Windows Server 2008 R2 DatacenterWindows Server 2008 R2 EnterpriseWindows 7 Enterprise


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.


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.


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.


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.