Remove Search Computer link
Supprimer le lien vers la recherche d’ordinateurs
Explanation
If you enable this policy, the "See all results" link will not be shown when the user performs a search in the start menu search box.
If you disable or do not configure this policy, the "See all results" link will be shown when the user performs a search in the start menu search box.
Si cette stratégie est activée, le lien « Afficher tous les résultats » ne s’affiche pas lorsque l’utilisateur effectue une recherche dans la zone de recherche du menu Démarrer.
Si cette stratégie est désactivée ou n’est pas configurée, le lien « Afficher tous les résultats » s’affiche lorsque l’utilisateur effectue une recherche dans la zone de recherche du menu Démarrer.
Registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer- Value name
NoSearchComputerLinkInStartMenu
| 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/NoSearchComputerLinkInStartMenu
$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 'NoSearchComputerLinkInStartMenu' -Value 1 -Type DWordDisable
# Disable: StartMenu/NoSearchComputerLinkInStartMenu
$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 'NoSearchComputerLinkInStartMenu' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": StartMenu/NoSearchComputerLinkInStartMenu
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
Remove-ItemProperty -Path $k -Name 'NoSearchComputerLinkInStartMenu' -ErrorAction SilentlyContinue