How to prevent Pinning or Unpinning of Programs to the Taskbar in Windows 10?

With the default settings of Windows 10, the Taskbar remains visible always; however, you can configure it to auto-hide. You can pin your popular program to the Taskbar to access it quickly. Using Group Policy or Registry Editor, you can disable or lock all Taskbar Settings in Windows 10. However, if you only want to prevent the Pinning or Unpinning program to the Windows 10 Taskbar, this gearupwindows article will help you to do so.

Also Read: How to Make the Taskbar Transparent in Windows 10?

Pinning and unpinning a program from the taskbar is an easy task. Just right-click on the program icon on the Taskbar and select the “Unpin from taskbar” option. Similarly, to Pin an app on the taskbar, right-click on the program shortcut icon and select the “Pin to taskbar” option.

Once you have set your favorite apps on the Windows Taskbar, it is better to lock it so that other computer users can not make any changes. By preventing pin or unpin to the taskbar, you can continue using earlier pinned items, but you will not be able to pin a new program.

To stop users from pinning or unpinning programs on Windows 10, you can use two methods:-

  1. Using Local Group Policy Editor
  2. Via Registry Editor

How to Prevent Pinning or Unpinning Programs to the Taskbar in Windows 10 using Local Group Policy Editor?

Step 1. Open Local Group Policy Editor.

Step 2. In the Local Group Policy Editor, navigate to the following path:-

User Configuration > Administrative Templates > Start Menu and Taskbar

Step 3. On the right-side pane of the “Start Menu and Taskbar,” look for the settings “Do not allow pinning programs to the Taskbar.”

Step 4. Double click on the Do not allow pinning programs to the Taskbar policy to open its settings.

Step 5. Select Enabled.

Step 6. Click Apply.

Step 7. Click OK.

After completing the above steps, when you perform a right-click on the shortcut or an application, you will notice that the Pin to taskbar option is missing. Also, right-clicking on a pinned program on Windows 10 Taskbar will not show unpin from the taskbar option.

If you change your mind in the future and want to turn on pinning or unpinning programs to the taskbar, in the above step 5, select the Not Configured option.

How to Stop Pinning or Unpinning Programs to the Taskbar in Windows 10 via Registry Editor?

To stop Pinning or Unpinning Programs to the Taskbar in Windows 10 via Registry Editor, perform the following steps.

Step 1. Open Registry Editor.

Step 2. In the Registry Editor, from the left side pane, navigate to the following registry key:-


Step 3. Under Windows key, right-click on Explorer sub-key, select New, and then DWORD (32-bit) Value.

Step 4. On the right side pane, rename the newly created DWORD as NoPinningToTaskbar.

Step 5. Double-click on NoPinningToTaskbar and set its Value data to 1.

Step 6. Click OK.

Once you perform the above steps, pinning or unpinning is prevented on the Windows 10 Taskbar.

If you change your mind in the future and want to pin or unpin apps on the Windows 10 Taskbar, navigate to the following registry keys on the Registry Editor window:-


On the right-side pane, double click on NoPinningToTaskbar and change its Value data to 0.

You might also be interested in the Linkbar freeware tool that allows you to make multiple Taskbars on Windows 10/8/7.

Leave a Reply