Enable Hotspot Authentication
Activer l’authentification de la zone d’accès sans fil
Explanation
This policy setting defines whether WLAN hotspots are probed for Wireless Internet Service Provider roaming (WISPr) protocol support.
If a WLAN hotspot supports the WISPr protocol, users can submit credentials when manually connecting to the network. If authentication is successful, users will be connected automatically on subsequent attempts. Credentials can also be configured by network operators.
If you enable this policy setting, or if you do not configure this policy setting, WLAN hotspots are automatically probed for WISPR protocol support.
If you disable this policy setting, WLAN hotspots are not probed for WISPr protocol support, and users can only authenticate with WLAN hotspots using a web browser.
Ce paramètre de stratégie indique si les zones d'accès sans fil WLAN sont détectées pour la prise en charge du protocole d'itinérance WISPr (Wireless Internet Service Provider).
Si une zone d'accès sans fil WLAN prend en charge le protocole WISPr, les utilisateurs peuvent envoyer des informations d'identification lors de la connexion au réseau. Si l'authentification réussit, les utilisateurs seront connectés automatiquement lors des tentatives suivantes. Les informations d'identification peuvent aussi être configurées par des opérateurs réseau.
Si vous activez ce paramètre de stratégie, ou si vous ne le configurez pas, les zones d'accès sans fil WLAN sont automatiquement détectées pour la prise en charge du protocole WISPr.
Si vous désactivez ce paramètre de stratégie, les zones d'accès sans fil WLAN ne sont pas détectées pour la prise en charge du protocole WISPr, et les utilisateurs ne peuvent s'authentifier auprès des zones d'accès sans fil WLAN qu'en utilisant un navigateur Web.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\HotspotAuthentication- Value name
Enabled
| 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: hotspotauth/HotspotAuth_Enable
$k = 'HKLM:\Software\Policies\Microsoft\Windows\HotspotAuthentication'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Enabled' -Value 1 -Type DWordDisable
# Disable: hotspotauth/HotspotAuth_Enable
$k = 'HKLM:\Software\Policies\Microsoft\Windows\HotspotAuthentication'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Enabled' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": hotspotauth/HotspotAuth_Enable
$k = 'HKLM:\Software\Policies\Microsoft\Windows\HotspotAuthentication'
Remove-ItemProperty -Path $k -Name 'Enabled' -ErrorAction SilentlyContinue