Prohibit viewing of status for an active connection
Interdire l’affichage du statut pour une connexion active
Explanation
Determines whether users can view the status for an active connection.
Connection status is available from the connection status taskbar icon or from the Status dialog box. The Status dialog box displays information about the connection and its activity. It also provides buttons to disconnect and to configure the properties of the connection.
If you enable this setting, the connection status taskbar icon and Status dialog box are not available to users (including administrators). The Status option is disabled in the context menu for the connection and on the File menu in the Network Connections folder. Users cannot choose to show the connection icon in the taskbar from the Connection Properties dialog box.
Important: If the "Enable Network Connections settings for Administrators" is disabled or not configured, this setting will not apply to administrators on post-Windows 2000 computers.
If you disable this setting or do not configure it, the connection status taskbar icon and Status dialog box are available to all users.
Détermine si les utilisateurs peuvent afficher l’état d’une connexion active.
L’état de la connexion est disponible à partir de l’icône de la barre des tâches État de la connexion ou à partir de la boîte de dialogue État. La boîte de dialogue État affiche des informations concernant la connexion et son activité. Elle contient également des boutons permettant de se déconnecter et de configurer les propriétés de la connexion.
Si vous activez ce paramètre, l’icône de la barre des tâches État de la connexion et la boîte de dialogue État ne sont pas disponibles pour les utilisateurs (administrateurs compris). L’option État est désactivée dans le menu contextuel de la connexion et dans le menu Fichier du dossier Connexions réseau. Les utilisateurs n’ont pas la possibilité de choisir d’afficher l’icône de connexion de la barre des tâches dans la boîte de dialogue des propriétés de la connexion.
Important : si le paramètre « Activer les paramètres Connexions réseau pour les administrateurs » est désactivé ou n’est pas configuré, ce paramètre ne s’appliquera pas aux administrateurs sur les ordinateurs sur lesquels une version postérieure à Windows 2000 est installée.
Si vous désactivez ce paramètre ou si vous ne le configurez pas, l’icône de la barre des tâches État de la connexion et la boîte de dialogue État sont disponibles pour tous les utilisateurs.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Network Connections- Value name
NC_Statistics
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 0 |
| Disabled | REG_DWORD = 1 |
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: NetworkConnections/NC_Statistics
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Network Connections'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NC_Statistics' -Value 0 -Type DWordDisable
# Disable: NetworkConnections/NC_Statistics
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Network Connections'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NC_Statistics' -Value 1 -Type DWordRevert to "Not configured"
# Revert to "Not configured": NetworkConnections/NC_Statistics
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Network Connections'
Remove-ItemProperty -Path $k -Name 'NC_Statistics' -ErrorAction SilentlyContinue