sodcalculator

10 Tech How-To

How to Lock the Taskbar in Windows 10

Guide 10-14138 · Updated · Step by step

Locking the taskbar in Windows 10 prevents accidental resizing, moving, or rearranging of the taskbar and its pinned icons. This is useful if you share your PC, have children or pets that might bump the mouse, or simply want a stable, tidy desktop layout. You don’t need any special tools or admin rights—just a few clicks in the right-click menu or the Settings app.

What You’ll Need

  • A Windows 10 PC with a mouse or touchpad (keyboard shortcuts also work).
  • No administrator privileges required—any standard user account can lock the taskbar.

Step-by-Step

Method 1: Right-Click the Taskbar (Quickest)

  1. Right-click on an empty area of the taskbar (not on an icon or the Start button). A context menu appears.
  2. Look for the option “Lock the taskbar� near the bottom of the menu. If it has a checkmark next to it, the taskbar is already locked. If not, click it once.
  3. That’s it. The taskbar is now locked. To verify, try dragging the taskbar’s edge or moving it to the side of the screen—it won’t budge.

Method 2: Using the Settings App

  1. Click the Start button (Windows logo) and then the Settings gear icon.
  2. In the Settings window, click Personalization.
  3. From the left sidebar, select Taskbar.
  4. In the right pane, find the toggle labeled “Lock the taskbar�. Turn it on (the switch will fill with color).
  5. Close Settings. The taskbar is now locked.

Method 3: Keyboard Shortcut (For the Tech-Savvy)

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. In Task Manager, click File in the top-left corner, then select Run new task.
  3. Type cmd and press Enter to open Command Prompt.
  4. Type the following command and press Enter: reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v TaskbarLockAll /t REG_DWORD /d 1 /f
  5. Restart Explorer: type taskkill /f /im explorer.exe then start explorer.exe in the same Command Prompt window, or simply restart your PC.
  6. The taskbar will be locked after Explorer restarts.

Common Mistakes

  • Right-clicking on an icon – If you right-click a pinned app or the Start button, you won’t see the “Lock the taskbar� option. Always right-click on an empty area of the taskbar.
  • Confusing lock with auto-hide – Locking the taskbar is not the same as auto-hiding it. Auto-hide makes the taskbar disappear until you hover over it; locking only prevents moving/resizing.
  • Forgetting to apply in Settings – In the Settings app, the toggle takes effect immediately, but some users expect a “Save� button. There isn’t one—just close the window.

Tips

  • If you want to unlock later, simply repeat the same steps and toggle the lock off.
  • Locking the taskbar also prevents accidental changes to pinned icons (like dragging them out of the taskbar).
  • You can still resize the taskbar if it’s unlocked by dragging its top edge. Lock it to keep the height consistent.
  • To quickly lock/unlock without opening Settings, right-click the taskbar and use the context menu—it’s the fastest method.
  • If you have multiple monitors, locking the taskbar locks it on all displays.

Troubleshooting

Why can’t I see “Lock the taskbar� in the right-click menu?
This can happen if you right-click on a toolbar or an icon. Right-click on an empty part of the taskbar, preferably near the clock or the space between icons.

The taskbar still moves/resizes after locking.
Try restarting Windows Explorer: open Task Manager (Ctrl+Shift+Esc), find “Windows Explorer� in the Processes tab, right-click it, and choose Restart. If that doesn’t work, check if a third-party customization tool (like a taskbar tweaker) is overriding the lock.

I turned on the lock in Settings, but the taskbar still moves.
Make sure you toggled the correct switch—under “Taskbar� settings, there are multiple options. The one you need is specifically labeled “Lock the taskbar.� If it’s already on, try toggling it off and on again.

I used the registry method, but it didn’t work.
Double-check the registry path and value name. The correct path is HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced and the value name is TaskbarLockAll (case doesn’t matter). Ensure the value is set to 1 (DWORD). After setting it, you must restart Explorer or log off/on for it to take effect.

My taskbar is locked, but I can’t unlock it.
If the right-click menu doesn’t show the option (because it’s already checked), you can unlock via Settings: go to Personalization > Taskbar and turn off the “Lock the taskbar� toggle. If that’s grayed out, it may be enforced by a group policy on a work or school PC—contact your IT admin.

Frequently Asked Questions

Does locking the taskbar prevent me from adding new icons?

No. Locking only stops you from moving, resizing, or rearranging the taskbar. You can still pin/unpin apps by right-clicking them and selecting “Pin to taskbar� or “Unpin from taskbar.�

Can I lock the taskbar on only one monitor in a multi-monitor setup?

No. The lock applies globally to all taskbars across all displays. There is no per-monitor lock setting in Windows 10.

Will locking the taskbar stop it from auto-hiding?

No. Auto-hide is a separate setting. If you want the taskbar to stay visible, make sure “Automatically hide the taskbar in desktop mode� is turned off in Taskbar settings.

Can I still use keyboard shortcuts like Win+D if the taskbar is locked?

Yes. Locking the taskbar only affects mouse interactions with the taskbar itself. All keyboard shortcuts that involve the taskbar (like Win+T to cycle through icons) still work.

Why does the taskbar sometimes unlock itself after a Windows update?

Occasionally, Windows updates may reset some personalization settings. If that happens, simply lock the taskbar again using the right-click method or Settings.

Is there a way to lock the taskbar for other users on the same PC?

Yes, but it requires editing the registry or using Group Policy (Pro/Enterprise editions). For a standard user, you can set the registry value under their user profile. However, this is more advanced and may require admin rights.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →