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.

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


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2493924
Revision : 1
Created on : 1/7/2017
Published on : 1/17/2011
Exists online : False
Views : 245