Search just apps from the Apps view
Rechercher uniquement les applications à partir de l’affichage Applications
Explanation
This policy setting prevents the user from searching apps, files, settings (and the web if enabled) when the user searches from the Apps view.
This policy setting is only applied when the Apps view is set as the default view for Start.
If you enable this policy setting, searching from the Apps view will only search the list of installed apps.
If you disable or don’t configure this policy setting, the user can configure this setting.
Ce paramètre de stratégie empêche l’utilisateur d’effectuer des recherches dans les applications, les fichiers et les paramètres (et le Web si cette fonctionnalité est activée) quand il effectue une recherche à partir de l’affichage Application.
Il est appliqué uniquement quand l’affichage Applications est défini comme affichage par défaut pour l’écran de démarrage.
Si vous activez ce paramètre de stratégie, les recherches à partir de l’affichage Applications ne portent que sur la liste d’applications installées.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’utilisateur peut configurer ce paramètre.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer- Value name
DisableGlobalSearchOnAppsView
| 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/DisableGlobalSearchOnAppsView
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableGlobalSearchOnAppsView' -Value 1 -Type DWordDisable
# Disable: StartMenu/DisableGlobalSearchOnAppsView
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableGlobalSearchOnAppsView' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": StartMenu/DisableGlobalSearchOnAppsView
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'DisableGlobalSearchOnAppsView' -ErrorAction SilentlyContinue