To stop users from pinning to unpinning apps to the taskbar, you can remove the pin to taskbar option on the taskbar. Here the exact steps to follow.
One of the best things about the taskbar is that it allows you to pin your most-used apps to the taskbar itself. To do that, all you have to do is right-click on the app icon and select the "Pin to Taskbar" option. As soon as you select the option, the app will be pinned to the taskbar. Generally, the ability to pin or unpin apps from the taskbar is really useful. In fact, most users meticulously configure their taskbar to meet daily requirements. After configuring the taskbar as needed, you might not want other users or yourself to pinning additional applications or unpinning the already pinned apps.
To make that happen, you can remove the pin to taskbar option and unpin from taskbar from the taskbar's right-click menu. Once you do that, no user can pin or unpin new apps on the taskbar.
Without further ado, let me show the steps to easily remove the pin to taskbar option from the taskbar's jumplist menu.
Edit Group policy to Remove Pin to Taskbar
You can disable taskbar pinning or unpinning directly from the Group Policy Editor itself. All you have to do is configure a single policy and you are done.
- First, open the Run window. Just press the "Win + R" to open it.
- Type "gpedit.msc" in the blank field.
- Click "Ok" to open the Group Policy Editor.
- After opening the Local Group Policy Editor, go to the "User Configuration → Administrative Templates → Start Menu and Taskbar" folder.
- On the right page, double-click on the "Do not allow pinning programs to the Taskbar" policy.
- After opening the policy, select the "Enabled" option.
- Click "Apply".
- Click "Ok".
- Close the Group Policy Editor.
- Restart Windows 10.
After restarting, users can no longer pin or unpin icons from the taskbar. i.e, the above policy successfully removed the Pin to taskbar and Unpin from Taskbar options from the right-click menu.
To revert back, set the policy properties to "Not configured".
Registry Key to Remove Pin to Taskbar
You need to create the "NoPinningToTaskbar" value in the Registry to remove the pin to taskbar option. This method is helpful when you don't have access to the local group policy editor.
- Open the Run dialog box with "Win + R" keybinding.
- In the Run window, type "regedit" and press Enter.
- After opening the registry editor, paste the below path in the address bar and press and press Enter.
- Right-click on the "Windows" folder.
- Select "New → Key".
- Name the folder as "Explorer".
- Right-click on the "Explorer" folder.
- Select the "New → DWORD (32-bit) Value" option.
- Name the new value as "NoPinningToTaskbar".
- After creating the value, double-click on it.
- Type "1" in the Value Data field.
- Click "Ok".
- Close the Registry Editor.
- Restart the Windows 10 computer.
That is all. After restarting the system, you will no longer see the Pin to Taskbar option on the taskbar icon right-click options. Along with that, Unpin from taskbar option is also removed.
To revert the changes and show pin to taskbar, delete the "NoPinningToTaskbar" value.
I hope that helps. If you are stuck or need some help, comment below and I will try to help as much as possible. If you like this article, check out how to group taskbar icons in Windows 10.