Prohibit access to the Advanced Settings item on the Advanced menu
Interdire l’accès à l’élément Paramètres avancés dans le menu Avancé
Explanation
Determines whether the Advanced Settings item on the Advanced menu in Network Connections is enabled for administrators.
The Advanced Settings item lets users view and change bindings and view and change the order in which the computer accesses connections, network providers, and print providers.
If you enable this setting (and enable the "Enable Network Connections settings for Administrators" setting), the Advanced Settings item is disabled for administrators.
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 Advanced Settings item is enabled for administrators.
Note: Nonadministrators are already prohibited from accessing the Advanced Settings dialog box, regardless of this setting.
Détermine si l’élément Paramètres avancés du menu Avancé des Connexions réseau est activé pour les administrateurs.
L’élément Paramètres avancés permet aux utilisateurs d’afficher et de modifier les liaisons, puis d’afficher et de modifier l’ordre dans lequel l’ordinateur accède aux connexions, aux fournisseurs réseau et aux fournisseurs d’impression.
Si vous activez ce paramètre (ainsi que le paramètre « Activer les paramètres Connexions réseau pour les administrateurs »), l’élément Paramètres avancés est désactivé pour les administrateurs.
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’élément Paramètres avancés est activé pour les administrateurs.
Remarque : la boîte de dialogue des Paramètres avancés n’est pas accessible aux non administrateurs, quel que soit ce paramètre.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Network Connections- Value name
NC_AdvancedSettings
| 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_AdvancedSettings
$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_AdvancedSettings' -Value 0 -Type DWordDisable
# Disable: NetworkConnections/NC_AdvancedSettings
$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_AdvancedSettings' -Value 1 -Type DWordRevert to "Not configured"
# Revert to "Not configured": NetworkConnections/NC_AdvancedSettings
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Network Connections'
Remove-ItemProperty -Path $k -Name 'NC_AdvancedSettings' -ErrorAction SilentlyContinue