How to Remove “Add to Favorites” from the Context Menu in Windows 11

You can remove “Add to Favorites” from context menu of files in Windows 11 if you don’t intend to use the feature. Since there is no setting in the Windows 11 GUI that allows you to do this, you will have to modify the registry.

In Windows 11 22593, Microsoft renamed the Quick Access section to “Home”.  The name of the pinned files section was also changed, which became “Favorites” starting from this build.

Windows 11 Favorites in the Home folder

Adding files to this “Favorites” section is easy. You can add one or several files directly from their context menus. Obviously, this is very convenient.

Add a file to Favorites Home

Windows supports both shortcuts and files of any type for being added there. But it doesn’t allow adding, they can only be pinned to the quick access panel and the Home screen.

If you don’t like favorites in the context menu and don’t use the corresponding section in Home, you can hide the context menu. To remove the “Add to favorites” item from context menu, do the following.

Remove Add to favorites from menu in Windows 11

  1. Open the registry editor with the regedit command in the Run window (⊞ Win + R).run regedit
  2. Expand the branch: HKEY_CLASSES_ROOT\*\shell\pintohomefile.the pintohomefile key
  3. Create a new string parameter in the last pintohomefile subsection and name it string value
  4. Leave the parameter value empty. The settings take effect immediately, you do not need to restart the Explorer.Remove Add To Favorites Menu in Windows 11

And that’s how you hide the Add to favorites item from the menu.

The ProgrammaticAccessOnly option is safe to use. It was implemented by Microsoft to hide various context menu items without restricting access to them by applications at the same time.

If you now open the context menu of a shortcut, file, or a selection of them in File Explorer, you will see that the “Add to Favorites” item is now removed.

Restore Add to favorites in the right-click menu

If you don’t want to have Add to favorites hidden in the menu, you need to unhide it and restore. You can do it quickly by removing the ProgrammaticAccessOnly setting you have added earlier.

To restores “Add to favorites” in the right-click menu, do the following.

  1. Open regedit from the Run dialog.
  2. Go to the HKCR\*\shell\pintohomefile key.
  3. Right-click the ProgrammaticAccessOnly in the right panel, and select Delete.Restore Add to favorites in the right-click menu
  4. Right-click any file in Explorer, so you will now see “Add to favorites”.

Add or remove the favorites menu with REG.EXE

In addition to the registry editing, you can use the REG.EXE tool. It allows you to modify the keys and values from the command prompt. You can copy and paste the command below and get the changes done in a second.

So, Press ⊞ Win + R to launch the Run window.

Next, copy and paste these commands.

To remove the “Add to favorites” menu.

reg add “HKCR\*\shell\pintohomefile” /v ProgrammaticAccessOnly /d “” /f

Remove Add To Favorites with reg.exe

To add “Add to favorites” menu to the right-click menu, use the following command.

reg delete “HKCR\*\shell\pintohomefile” /v ProgrammaticAccessOnly /f

Press Ctrl + ⇧ Shift + ↵ Enter to run the command. It is important to press exactly Ctrl  + ⇧ Shift + ↵ Enter instead of ↵ Enter , as the key sequence will run the command as Administrator. Otherwise it will fail.

That’s all about remove the Add to favorites from the right-click menu in Windows 11.

Looks like you've read the post to the end. If you enjoyed it, please share it. You would greatly help our blog to grow!

Author: The MFTNEXT Team

The MSFTNEXT project is a small team of authors who love to engage with the latest technology and gadgets. Being passionate Windows bloggers, we are happy to help others fix their system issues.

Leave a Reply

Your email address will not be published.