Remove Include in Library Context Menu in Windows 10

It is possible to remove the Include in Library command from the context menu in Windows 10. This can be useful for those users who find no use for libraries. If you are one of them, here is what you should do.

Advertisement

With Windows 7, Microsoft introduced Libraries: a feature of the Explorer shell, which allows you to group multiple folders in a single view, even if they are located on different volumes. Searching through Libraries is very fast, because Windows performs indexing of all locations which are included inside a Library.

Starting with Windows 8.1, Libraries are hidden and not enabled in File Explorer. Windows 10 also does not show them by default. The user has to enable them manually. Tip: See how to enable Libraries in Windows 10.

enable libraries in Windows 10

If you find no use for Libraries, you can remove the command Include in Library from the context menu. It can be removed from the folder context menu in File Explorer with a simple Registry tweak. Once you apply the tweak, the command will disappear.

To remove the Include in Library context menu in Windows 10, do the following.

  1. Open Registry Editor.
  2. Go to the following Registry key:
    HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers

    Tip: see How to jump to the desired registry key with one click.

  3. Here, delete the subkey named Library Location as shown below:Remove Include In Library Context Menu

That's it! The Include in Library command will disappear from the context menu.

Before:

Include In Library Restored In Windows 10

After:Include In Library Remove In Windows 10

To restore the command, recreate the Library Location subkey under the following Registry key:

HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers

Recreate Library Location

Set the default (unnamed) value of the the Library Locationsubkey to the following string value:

{3dad6c5d-2167-4cae-9914-f99e41c12cfa}

Restore Include In Library In Context Menu

See the following screenshot:

Restore Include In Library

This will re-enable the Include in Library context menu item.

You can use Winaero Tweaker to get rid of this context menu command. You'll find the appropriate option under Context Menu\Remove Default Entries.

Tweaker Remove Include In Library

You can download the app from here:

Download Winaero Tweaker

To save your time, you can download the following ready-to-use Registry files.

Download Registry Files

The undo tweak is included.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer from Russia who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

2 thoughts on “Remove Include in Library Context Menu in Windows 10”

  1. Yes , this tweak works , only , out of nowhere, it comes back after every reboot !!
    Also ; compatibility , pin to start , advanced share , etc. are with the library in my contextmenu .
    Can you , please, help me with this problem ……..?

    1. WHY ( !) still no solution for my problem of these contextmenu-items coming back after every reboot ……….!!!!??

Leave a Reply

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