[Windows Tip] Remove “Share With” Option from Context Menu
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:
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.
If you right-click on a folder or drive and select Properties option, you also get the "Sharing" tab present in its properties window.
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.
To Remove "Share With" Option from Context Menu:
2. Go to following keys one by one:
3. Under "ContextMenuHandlers" key, you'll get "Sharing" key.
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:
5. Under "PropertySheetHandlers" key, you'll get "Sharing" key.
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.