Configures search on the taskbar: registry value SearchOnTaskbarModeComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search
- Policy ID
- ConfigureSearchOnTaskbarMode
- Scope
- Computer Configuration
- Supported on
- At least Windows 11
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Search
Registry
SearchOnTaskbarMode
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- Search on the taskbar
| Item | Stored value |
|---|---|
| Hide | 0 |
| Search icon only | 1 |
| Search icon and label | 2 |
| Search box | 3 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Windows Search] ; Options (use only one) ; Hide "SearchOnTaskbarMode"=dword:00000000 ; Search icon only "SearchOnTaskbarMode"=dword:00000001 ; Search icon and label "SearchOnTaskbarMode"=dword:00000002 ; Search box "SearchOnTaskbarMode"=dword:00000003
CMD
:: Options (use only one) :: Hide reg add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v "SearchOnTaskbarMode" /t REG_DWORD /d 0 /f :: Search icon only reg add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v "SearchOnTaskbarMode" /t REG_DWORD /d 1 /f :: Search icon and label reg add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v "SearchOnTaskbarMode" /t REG_DWORD /d 2 /f :: Search box reg add "HKLM\Software\Policies\Microsoft\Windows\Windows Search" /v "SearchOnTaskbarMode" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Windows Search' -Force | Out-Null # Options (use only one) # Hide New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Windows Search' -Name 'SearchOnTaskbarMode' -PropertyType DWord -Value 0 -Force | Out-Null # Search icon only New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Windows Search' -Name 'SearchOnTaskbarMode' -PropertyType DWord -Value 1 -Force | Out-Null # Search icon and label New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Windows Search' -Name 'SearchOnTaskbarMode' -PropertyType DWord -Value 2 -Force | Out-Null # Search box New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Windows Search' -Name 'SearchOnTaskbarMode' -PropertyType DWord -Value 3 -Force | Out-Null