How to Auto-Hide Windows Taskbar Using Registry

In Windows, the auto-hide behavior of the taskbar is controlled by a binary entry within the Windows Registry rather than a simple toggle switch. This article explains the exact registry key path, the specific binary value that dictates the auto-hide state, and the steps required to modify this setting and apply the changes immediately.

The Registry Path and Value

The auto-hide setting for the modern Windows taskbar (Windows 10 and Windows 11) is located at the following registry path:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3

(Note: Windows 7 and 8 use StuckRects2 instead of StuckRects3.)

Within this key, the specific registry entry that controls the taskbar is: * Value Name: Settings * Value Type: REG_BINARY

How the Auto-Hide Value Works

The Settings binary data contains configuration information for the taskbar’s size, position, and visibility. The auto-hide state is determined specifically by the 9th byte (located at row 00000008, column 1 in the binary editor):

Step-by-Step Instructions to Modify the Setting

  1. Press Windows Key + R, type regedit, and press Enter to open the Registry Editor.
  2. Navigate to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3
  3. Double-click the Settings binary value in the right pane.
  4. Locate row 00000008.
  5. Change the very first number in that row:
    • Enter 02 to make the taskbar auto-hide.
    • Enter 03 to keep the taskbar permanently visible.
  6. Click OK to save the changes.

Applying the Changes

Registry changes to the taskbar do not take effect immediately until the Windows Explorer process is restarted. To apply the setting:

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. Locate Windows Explorer in the Processes list.
  3. Right-click on Windows Explorer and select Restart.