Remove Homegroup link from Start Menu
Supprimer le lien Groupe résidentiel du menu Démarrer
Explanation
If you enable this policy the Start menu will not show a link to Homegroup. It also removes the homegroup item from the Start Menu options. As a result, users cannot add the homegroup link to the Start Menu.
If you disable or do not configure this policy, users can use the Start Menu options to add or remove the homegroup link from the Start Menu.
Si vous activez cette stratégie, le menu Démarrer n’affiche pas de lien vers le Groupe résidentiel. L’option Groupe résidentiel est, en outre, retirée du menu Démarrer. Par conséquent, les utilisateurs ne peuvent pas ajouter de lien vers un groupe résidentiel dans le menu Démarrer.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les utilisateurs peuvent tirer parti des options du menu Démarrer pour ajouter ou supprimer le lien vers un groupe résidentiel dans le menu Démarrer.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer- Value name
NoStartMenuHomegroup
| 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/NoStartMenuHomegroup
$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 'NoStartMenuHomegroup' -Value 1 -Type DWordDisable
# Disable: StartMenu/NoStartMenuHomegroup
$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 'NoStartMenuHomegroup' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": StartMenu/NoStartMenuHomegroup
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'NoStartMenuHomegroup' -ErrorAction SilentlyContinue