No Entire Network in Network Locations
Ne pas afficher « Tout le réseau » dans les emplacements réseau
Explanation
Removes all computers outside of the user's workgroup or local domain from lists of network resources in File Explorer and Network Locations.
If you enable this setting, the system removes the Entire Network option and the icons representing networked computers from Network Locations and from the browser associated with the Map Network Drive option.
This setting does not prevent users from viewing or connecting to computers in their workgroup or domain. It also does not prevent users from connecting to remote computers by other commonly used methods, such as by typing the share name in the Run dialog box or the Map Network Drive dialog box.
To remove computers in the user's workgroup or domain from lists of network resources, use the "No Computers Near Me in Network Locations" setting.
Note: It is a requirement for third-party applications with Windows 2000 or later certification to adhere to this setting.
Supprime tous les ordinateurs en dehors du groupe de travail ou du domaine local de l’utilisateur des listes de ressources réseau affichées dans l’Explorateur de fichiers et dans les emplacements réseau.
Si vous activez ce paramètre, le système supprimera l’option Tout le réseau et les icônes qui représentent les ordinateurs en réseau des emplacements réseau et du navigateur associé à l’option Connecter un lecteur réseau.
Ce paramètre n’empêche pas les utilisateurs d’afficher ou de se connecter aux ordinateurs de leur groupe de travail ou domaine. Il ne les empêche pas non plus de se connecter à des ordinateurs distants par d’autres méthodes couramment utilisées, par exemple en tapant le nom du partage dans les boîtes de dialogue Exécuter ou Connecter un lecteur réseau.
Pour supprimer des ordinateurs du groupe de travail ou du domaine de l’utilisateur des listes de ressources réseau, utilisez le paramètre « Ne pas afficher « Ordinateurs proches » dans les emplacements réseau ».
Remarque : les applications tierces sous Windows 2000 ou un niveau de certification supérieur doivent respecter ce paramètre.
Registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Network- Value name
NoEntireNetwork
| State | Value written |
|---|---|
| Enabled | not defined in the ADMX |
| Disabled | not defined in the ADMX |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.
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: WindowsExplorer/NoEntireNetwork
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Network'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'NoEntireNetwork' -Value 1 -Type DWord # assumed value (not defined in the ADMX)Disable
# Disable: WindowsExplorer/NoEntireNetwork
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Network'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'NoEntireNetwork' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": WindowsExplorer/NoEntireNetwork
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Network'
Remove-ItemProperty -Path $k -Name 'NoEntireNetwork' -ErrorAction SilentlyContinue