User Interface
Interface utilisateur
Explanation
Specifies whether an entry for DirectAccess connectivity appears when the user clicks the Networking notification area icon.
Set this to Disabled to prevent user confusion when you are just using DirectAccess to remotely manage DirectAccess client computers from your intranet and not providing seamless intranet access.
If this setting is not configured, the entry for DirectAccess connectivity appears.
Indique si une entrée pour la connectivité DirectAccess apparaît lorsque l’utilisateur clique sur l’icône de zone de notification Mise en réseau.
Affectez à ce paramètre de stratégie la valeur Désactivé afin d’éviter toute confusion de l’utilisateur lorsque vous utilisez simplement DirectAccess pour gérer à distance les ordinateurs clients DirectAccess à partir de votre intranet et que vous ne fournissez pas d’accès intranet de façon transparente.
Si vous ne configurez pas ce paramètre de stratégie, l’entrée relative à la connectivité DirectAccess apparaît.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityAssistant- Value name
ShowUI
| 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: nca/ShowUI
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityAssistant'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ShowUI' -Value 1 -Type DWordDisable
# Disable: nca/ShowUI
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityAssistant'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ShowUI' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": nca/ShowUI
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityAssistant'
Remove-ItemProperty -Path $k -Name 'ShowUI' -ErrorAction SilentlyContinue