How to Prevent Pinning or Unpinning of Programs to the Taskbar on Windows 11 or 10?

As the heading suggests, it is possible to pin various applications to the Taskbar on your computer. Doing so helps you to access particular applications quickly. Talking about the taskbar, it is always visible with Windows 11/10’s default settings, but you can set it to automatically hide. You may disable or lock all Taskbar Settings in Windows 10 by using Group Policy or Registry Editor. However, if all you want to do is stop a program from being pinned or unpinned to the Windows 10 taskbar, you can do so with the help of this risewindows article.

It’s simple to pin and unpin a program from the taskbar. You just have to go to the “Unpin from taskbar” from the context menu after right-clicking on the program icon in the Taskbar. To pin an app to the taskbar, similarly, right-click on the application shortcut icon and choose “Pin to taskbar.”

Once you’ve added your favorite programs to the Windows Taskbar, it’s best to lock them so that other users of the computer cannot change them. You can keep using previously pinned items by disabling Pin or Unpin to the taskbar, but you won’t be able to pin any new programs.

On Windows 11 or 10, there are two ways to prevent users from pinning or unpinning programs specifically the following. You can go ahead and choose any one of the two methods as per your requirements:-

  1. With the help of Local Group Policy Editor
  2. Using Registry Editor

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

Use the following steps to prevent pinning or unpinning programs to the Taskbar on Windows 11/10 with the help of Local Group Policy Editor:-

Step 1: First, open the Local Group Policy Editor on your computer.

Step 2: Now, browse the following in it:-

User Configuration > Administrative Templates > Start Menu and Taskbar

Step 3: Find the “Do not allow pinning apps to the Taskbar” setting in the “Start Menu and Taskbar” right-side pane.

Step 4: To enter the policy’s settings, double-click on the Do not allow pinning programs to the Taskbar policy.

Step 5: Click on Enabled.

Step 6: Click on Apply.

Step 7: Click on OK.

Once you are done with all the above steps, you will see that the “Pin to taskbar” option is gone when you right-click on the shortcut or an application. Additionally, the “unpin from the taskbar” option will not appear when performing a right-click on a pinned program on the Windows 10 Taskbar.

If you decide to change your mind later and enable application pinning or unpinning to the taskbar, use the Not Configured option in step 5 above.

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

Use the following steps to stop Pinning or Unpinning Programs to the Taskbar in Windows 11/10 via Registry Editor:-

Step 1: First, open Registry Editor on your computer.

Step 2: Type the following and press Enter in the Registry Editor:-


Step 3: Right-click on the Explorer sub-key under the Windows key and choose New, then DWORD (32-bit) Value.

Step 4: Rename the newly formed DWORD to NoPinningToTaskbar in the right side pane.

Step 5: Double-click on NoPinningToTaskbar, then change the Value data to 1 by double-clicking on it.

Step 6: Click on OK.

The Windows 11/10 Taskbar cannot be pinned or unpinned after you have completed the above mentioned steps.

Navigate to the following registry keys in the Registry Editor window if you later decide you wish to pin or unpin programs from the Windows 11/10 Taskbar:-


Double-click on NoPinningToTaskbar in the right-side pane and set the Value data to 0 by double-clicking it.

That is it.

You guys are amazing; keep reading learning and growing.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: