How to Show or Hide “Pin to taskbar” from Context Menu in Windows?
By default, users can right click and an application, and click on Pin to taskbar or Unpin from taskbar to pin or unpin the app on the taskbar.However, if you don’t want users to remove pinned apps from the taskbar or pin new programs to the taskbar, it is possible to disable or hide the “Pin to taskbar” and “Unpin from taskbar” option from right-click context menu in Windows 11 or 10.
Hide or Show “Pin to taskbar” from Context Menu Using Registry
Open Registry Editor and navigate to the following path:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows
If the Explorer key is missing, you can create it by right-clicking on the Windows key and choosing the New > Key option. Then naming the key as “Explorer“.
Explorer
Right-click on a blank space on the right-hand side and select New > DWORD (32-bit) Value. Name the value as NoPinningToTaskbar and then press Enter.
NoPinningToTaskbar
Restart the explorer Windows 11 for the changes to take effect.
This will hide “Pin to taskbar” and “Unpin from taskbar” context menu for apps in Windows 11.
You can always enable the “Pin to taskbar” again by changing the value data to 0 or You can o simply remove the value to enable it back.
Alternatively
Just download the NoPinningToTaskbar.rar file.
Double click on the downloaded REG file to merge it. When prompted, click on Run, Yes (UAC), Yes, and OK to approve the merge. Either restart the explorer process.
That’s all.