Lock all taskbar settings in Windows 11/10
When you lock all Taskbar settings in Windows 11/10 you will not be able to make any changes to the Taskbar.
Using Windows Registry
Open Regedit and navigate to the following key: On the right-hand side, look for a value named TaskbarLockAll. If it exists, right-click on it and click Modify. The following are the values:
0 : Unlock all Taskbar settings1 : Lock all Taskbar settings
Check the DWORD value mentioned. If it is mentioned as 1, it would have the effect corresponding to the name, ie, Lock All Taskbar. So make sure its value is 1. If you don’t see the DWORD TaskbarLockAll, create it.
To go back to the default setting, change its value to 0. Or else simply delete it.
Using Group Policy
If your version of Windows has Group Policy Editor, then open it, i.e., Run gpedit.msc, and navigate to the following : Search for the Lock all taskbar settings. Open its Properties. Change the setting to Configured.
If this setting is Enabled, it will prevent the user from making any changes to the taskbar settings through the Taskbar Properties dialog. If you enable this setting the user cannot access the taskbar control panel, unlock, resize, move or rearrange items on their taskbar. If you Disable or Do not configure this setting, the user will be able to set any taskbar setting that is not disallowed by another policy setting.
Prevent others from changing Taskbar and Start Menu settings
Instead of locking the taskbar settings, you have the option of preventing other users from making any changes to the Taskbar settings – along with the Start Menu settings.
Using Registry Editor
Open REGEDIT and navigate to the following key: Right-click on a blank space on the right-hand side > Select New > DWORD (32-bit) Value > Name this value as NoSetTaskbar. Now double-click on it and give it the value of 1.
1: To prevent users from changing its settings0: Will allow users to change settings.
Using Group Policy Editor
You may need to restart explorer.exe or your computer, for the setting to take place.