Disable Unpin from Taskbar in Windows 11
In this article
Yes, you can disable the ability to unpin apps from the taskbar in Windows 11, but only through Group Policy or the Windows Registry—there is no built-in option in Settings. This is useful in shared or managed environments where you want to lock down the taskbar layout and prevent users from altering pinned applications. Before proceeding, ensure you have administrator access to the device and a backup of your system or registry, as incorrect changes can affect system stability.
What You'll Need
- Administrator account on the Windows 11 device
- Access to Local Group Policy Editor (available in Pro, Education, and Enterprise editions) or Registry Editor (available in all editions)
- Backup of the registry (recommended before making registry changes)
- Optional: A domain controller or Intune if managing multiple devices
Step-by-Step
- Press Windows + R to open the Run dialog box. Type
gpedit.mscand press Enter. This opens the Local Group Policy Editor. Note: This tool is not available in Windows 11 Home edition. - Navigate to User Configuration > Administrative Templates > Start Menu and Taskbar. The path is exact and case-insensitive, but menu labels may vary slightly by system language or update.
- Scroll through the right pane and locate the policy named Remove 'Unpin from Taskbar' option. Double-click it to open.
- In the policy settings window, select the Enabled option. This will hide the 'Unpin from Taskbar' context menu option for all users affected by this policy.
- Click Apply, then OK. Close the Group Policy Editor.
- To apply the change immediately, open Command Prompt as administrator and run:
gpupdate /force. This forces a policy refresh without requiring a restart. - If you're using Windows 11 Home or Group Policy is not available, use the Registry method. Press Windows + R, type
regedit, and press Enter to open Registry Editor. - Navigate to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer. If thePoliciesorExplorerkeys do not exist, right-click the parent key, choose New > Key, and name it accordingly. - Right-click in the right pane of the
Explorerkey, select New > DWORD (32-bit) Value, and name itNoUnpinFromTaskbar. - Double-click the new value and set its data to 1. This enables the restriction.
- Close Registry Editor. Restart the computer or sign out and back in for the change to take effect.
Common Mistakes
- Editing the wrong registry key—always verify the full path before creating or modifying values.
- Forgetting to create missing registry keys (Policies or Explorer) when they don’t exist.
- Using Group Policy on Windows 11 Home, which does not include
gpedit.mscby default. - Not forcing a policy update with
gpupdate /force, leading to delayed or no application of settings. - Assuming the taskbar is fully locked—this setting only disables unpinning; users can still open or close apps, and other taskbar modifications may still be possible.
Tips
- Use Group Policy Preferences or scripts in enterprise environments to deploy this setting across multiple devices.
- Combine this with other taskbar policies like 'Lock the Taskbar' to further restrict changes.
- Test the setting on a non-critical account first to confirm it behaves as expected.
- Consider using Windows Configuration Designer or Intune for device management in business settings, which offers more scalable control.
- Export the registry key before making changes to allow quick restoration if needed.
Troubleshooting
If the 'Unpin from Taskbar' option remains visible after applying the policy or registry change, first ensure you restarted the system or restarted Windows Explorer. To restart Explorer, open Task Manager (Ctrl+Shift+Esc), find 'Windows Explorer' under Processes, right-click it, and select Restart. If using Group Policy, run gpresult /h report.html to verify the policy is applied to the user. For registry changes, double-check that the NoUnpinFromTaskbar value is in the correct location and set to 1. If the issue persists on Windows Home, confirm that Registry Editor was run with administrator privileges. If the taskbar still allows modifications, another policy or third-party software may be interfering—disable startup apps temporarily to test. In domain environments, check if a higher-level Group Policy Object (GPO) is overriding your settings.
Frequently Asked Questions
Can I disable unpinning on Windows 11 Home?
Yes, but not with Group Policy. Use the Registry Editor method by creating the NoUnpinFromTaskbar DWORD value under the correct key.
Does this stop users from pinning new apps?
No. This setting only disables the 'Unpin from Taskbar' option. Users can still pin new apps unless additional restrictions are applied.
Will this affect all users on the computer?
Only if applied per-user or via a system-wide policy. The registry method affects only the current user unless duplicated for others.
Can I reverse this change?
Yes. In Group Policy, set the policy to Not Configured. In the registry, delete the NoUnpinFromTaskbar value or set it to 0.
Why doesn’t gpedit.msc open?
It’s not included in Windows 11 Home. You’ll need to use Registry Editor or upgrade to a Pro or higher edition for Group Policy access.
Does this prevent taskbar customization entirely?
No. It only removes the unpin option. Users can still resize, move, or open apps on the taskbar unless further restrictions are applied.