Open in the explorer

DirectAccess Passive Mode

Mode passif DirectAccess

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Network › DirectAccess Client Experience Settings FR: Configuration ordinateur › Stratégies › Modèles d'administration › Réseau › Paramètres d’expérience utilisateur des clients DirectAccess
Supported on
At least Windows Server 2008 R2 or Windows 7 FR: Au minimum Windows Server 2008 R2 ou Windows 7
ADMX file
nca.admx
Internal name
nca/PassiveMode

Explanation

Specifies whether NCA service runs in Passive Mode or not.

Set this to Disabled to keep NCA probing actively all the time. If this setting is not configured, NCA probing is in active mode by default.

French text from Windows 11 26H2

Indique si le service de l’Assistant Connectivité réseau fonctionne ou non en mode passif.

Affectez à ce paramètre de stratégie la valeur Désactivé pour empêcher l’Assistant Connectivité réseau d’effectuer en permanence une détection active. Si vous ne configurez pas ce paramètre de stratégie, la détection par l’Assistant Connectivité réseau est en mode actif par défaut.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityAssistant
Value name
PassiveMode
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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/PassiveMode
$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 'PassiveMode' -Value 1 -Type DWord

Disable

# Disable: nca/PassiveMode
$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 'PassiveMode' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": nca/PassiveMode
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityAssistant'
Remove-ItemProperty -Path $k -Name 'PassiveMode' -ErrorAction SilentlyContinue

Availability