Do not search programs and Control Panel items
Ne pas rechercher les programmes et les éléments du Panneau de configuration
Explanation
If you enable this policy setting the Start menu search box will not search for programs or Control Panel items.
If you disable or do not configure this policy setting, the Start menu search box will search for programs and Control Panel items, unless the user chooses not to do so directly in Control Panel.
Si vous activez ce paramètre de stratégie, la zone de recherche du menu Démarrer ne s’applique pas aux programmes ou aux éléments du Panneau de configuration.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les programmes et les éléments du Panneau de configuration seront pris en compte dans la zone de recherche du menu Démarrer, sauf indication contraire de l’utilisateur dans le Panneau de configuration.
Registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer- Value name
NoSearchProgramsInStartMenu
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: StartMenu/NoSearchProgramsInStartMenu
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoSearchProgramsInStartMenu' -Value 1 -Type DWordDisable
# Disable: StartMenu/NoSearchProgramsInStartMenu
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoSearchProgramsInStartMenu' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": StartMenu/NoSearchProgramsInStartMenu
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
Remove-ItemProperty -Path $k -Name 'NoSearchProgramsInStartMenu' -ErrorAction SilentlyContinue