[Windows Tip] Remove “Share With” or “Give Access to” Option from Context Menu

UPDATE: In newer Windows 10 versions, the option name has been changed from “Share with” to “Give access to” but the method given in this tutorial still works to remove the new option.

In previous tutorial, we told you how to remove “Restore Previous Versions” option from right-click context menu and “Previous Versions” tab from properties window:

[Windows Tip] Remove “Restore Previous Versions” Option from Context Menu

Advertisement

Today in this tutorial, we’ll cover another context menu option called “Share with“. In Windows 7, Windows 8/8.1 or Windows 10, when you right-click on a folder or a drive, you get “Share with” option in the context menu which contains various sub-options such as Nobody, Homegroup (Read), Homegroup (Read/Write), Specific people or Advanced Sharing depending upon the installed operating system.

Share_With_Context_Menu_Option.png

If you right-click on a folder or drive and select Properties option, you also get the “Sharing” tab present in its properties window.

Sharing_Tab_Properties_Window.png

If you don’t use this feature and want to remove “Share with” option from context menu and “Sharing” tab from properties window, this tutorial will help you.

You can get rid of these things by using following simple steps:

1. Press “WIN+R” key combination to launch RUN dialog box then type regedit and press Enter. It’ll open Registry Editor.

Advertisement

To Remove “Share With” Option from Context Menu:

2. Go to following keys one by one:

HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\

HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\

HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\

HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\

HKEY_CLASSES_ROOT\LibraryFolder\background\shellex\ContextMenuHandlers\

HKEY_CLASSES_ROOT\UserLibraryFolder\shellex\ContextMenuHandlers\

3. Under “ContextMenuHandlers” key, you’ll get “Sharing” key.

Remove_Share_With_Option_Context_Menu.png

Delete this key and it’ll immediately remove “Share with” option from context menu of drives and folders.

To Remove “Sharing” Tab from Properties Window:

4. Go to following keys one by one:

HKEY_CLASSES_ROOT\Directory\shellex\PropertySheetHandlers\

HKEY_CLASSES_ROOT\Drive\shellex\PropertySheetHandlers\

5. Under “PropertySheetHandlers” key, you’ll get “Sharing” key.

Remove_Sharing_Tab_Properties_Window.png

Delete this key and it’ll immediately remove “Sharing” tab from properties window of drives and folders.

NOTE: If you are not familiar with Registry editing and want a ready-made Registry script to do the task automatically, download following ZIP file, extract it and run the extracted REG file. It’ll ask for confirmation, accept it:

The ZIP file also contains a restore registry script to restore the context menu option and properties window tab.

Also Check:

[Windows Tip] Remove “Customize This Folder” Option from Context Menu

[Windows Tip] Remove “Sharing”, “Security”, “Customize” and “Previous Versions” Tabs from Properties

Published in: Windows 10, Windows 7, Windows 8

About the author: Vishal Gupta (also known as VG) has been awarded with Microsoft MVP (Most Valuable Professional) award. He holds Masters degree in Computer Applications (MCA). He has written several tech articles for popular newspapers and magazines and has also appeared in tech shows on various TV channels.

Comments

NOTE: Older comments have been removed to reduce database overhead.

  1. Simpler method.
    Control Panel > Folder Options > View tab > In Advanced settings box > Scroll all the way down and uncheck “Use Sharing Wizard (Recommend)” that’s it!
    Worked on Windows 7 Ultimate.

  2. Is there a similar way to remove the “Shortcut” tab in file properties for shortcut files?

  3. tampico way may work, but switching Sharing Wizard does much more than one may think. I wonder – you bought the most advanced version of Windows and yet you don’t advice users to take care with that particular setting. Hmm.

    Thanks you, author, for tutorial – it worked well on Win7 Pro. I’ve used O&O RegEditor – too bad that Windows doesn’t have any good, built-in registry. And by “good” I’d except simple address bar and ability to get multiple results for a single search, not click “find next” every time.

Leave a Comment

Your email address will not be published. Required fields are marked *

NOTE: Your comment may not appear immediately. It'll become visible once we approve it.