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

Locking Taskbar Configurations in Windows 11/10: A Comprehensive Guide

On Windows 11 and 10, the taskbar serves as a quick-access hub for frequently used applications. By pinning applications to the taskbar, users can streamline their workflow and enhance their overall computing experience. The taskbar, by default, is constantly visible but can be adjusted to auto-hide based on user preferences. Though pinning and unpinning programs is straightforward—right-click on the application icon and select the respective option from the context menu—there might be instances when you’d want to lock this feature, ensuring that the taskbar’s configuration remains consistent across sessions or users. This could be especially pertinent in shared computing environments or to maintain a standard interface. Fortunately, Windows offers ways to achieve this: you can utilize the Group Policy or Registry Editor to disable or lock all taskbar settings. Yet, if your sole intention is to prevent the pinning or unpinning of programs from the taskbar, this risewindows article has got you covered. By following our guide, you can ensure that once your favorite applications are secured on the taskbar, they remain undisturbed, while still accessing them with ease. For those keen on executing this on Windows 11 or 10, there are two primary methods to consider—either through the Local Group Policy Editor or the Registry Editor, aligning with your comfort and proficiency level.

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.

local group policy editor
local group policy editor

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

User Configuration > Administrative Templates > Start Menu and Taskbar

Start-Menu-and-Taskbar (1)

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.


The taskbar in Windows 11 and 10 is an integral part of the user interface, offering immediate access to frequently used applications. Its flexibility to pin or unpin applications caters to individual preferences, allowing users to customize their desktops for optimal efficiency. While the process is straightforward, there may be circumstances where restricting this feature is essential, especially in shared computing environments. To address this, Windows provides robust solutions through the Local Group Policy Editor and the Registry Editor. By harnessing these tools, one can effectively control and lock the taskbar settings, preventing unintentional changes or modifications. Thus, for those who value consistency in their workspace or those managing multiple users on a single system, these methods offer a reliable means to maintain a consistent taskbar configuration. No matter your choice of method, both are designed to ensure that your favorite applications remain firmly in place on the taskbar, providing a consistent and streamlined user experience.


Leave a Comment

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

How to Reset Sound Drivers on Windows 11?

Sound issues on a computer can stem from various problems, but one common culprit is often outdated or corrupted sound drivers. These drivers, responsible...

How to Open Command Prompt as Administrator on Windows 11/10/8/7?

Command Prompt, often abbreviated as cmd, has been an integral tool for Windows users since the early days of the operating system. Whether you're...

How to Turn on the UWP File Explorer on Windows 11?

Navigating the intricate digital ecosystem of Windows, you might have stumbled upon the term UWP or Universal Windows Platform. This is Microsoft's evolution for...

How to Enable or Disable IPv6 on Windows 11 or 10?

In the dynamic world of the Internet, staying updated with the latest technology is essential. Internet Protocol version 6 (IPv6) is the newest version...

How to Enable or Disable IPv4 on Windows 11 or 10?

IPv4 (Internet Protocol version 4) is the predominant protocol used for transmitting data over the vast networks of our modern digital age. Serving as...