Turn off Windows Network Connectivity Status Indicator active tests
Désactiver les tests actifs de l’Indicateur de statut de connectivité réseau Windows
Explanation
This policy setting turns off the active tests performed by the Windows Network Connectivity Status Indicator (NCSI) to determine whether your computer is connected to the Internet or to a more limited network.
As part of determining the connectivity level, NCSI performs one of two active tests: downloading a page from a dedicated Web server or making a DNS request for a dedicated address.
If you enable this policy setting, NCSI does not run either of the two active tests. This may reduce the ability of NCSI, and of other components that use NCSI, to determine Internet access.
If you disable or do not configure this policy setting, NCSI runs one of the two active tests.
Ce paramètre de stratégie désactive les tests actifs réalisés par l’Indicateur de statut de connectivité réseau Windows pour déterminer si l’ordinateur est connecté à Internet ou à un réseau plus limité.
Dans le cadre de la détermination du niveau de connectivité, cet indicateur exécute un test actif parmi deux : le téléchargement d’une page depuis un serveur Web dédié ou l’émission d’une requête DNS pour obtenir une adresse dédiée.
Si vous activez ce paramètre de stratégie, l’Indicateur de statut de connectivité réseau n’active aucun de ces tests actifs. Cette situation peut réduire la capacité de l’Indicateur et des autres composants utilisant l’Indicateur à déterminer l’accès Internet.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’Indicateur de statut de connectivité réseau exécute l’un des deux tests actifs.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator- Value name
NoActiveProbe
| 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: ICM/NoActiveProbe
$k = 'HKLM:\Software\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoActiveProbe' -Value 1 -Type DWordDisable
# Disable: ICM/NoActiveProbe
$k = 'HKLM:\Software\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoActiveProbe' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": ICM/NoActiveProbe
$k = 'HKLM:\Software\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator'
Remove-ItemProperty -Path $k -Name 'NoActiveProbe' -ErrorAction SilentlyContinue