Set IP-HTTPS State
Définir l’état IP-HTTPS
Explanation
This policy setting allows you to configure IP-HTTPS, a tunneling technology that uses the HTTPS protocol to provide IP connectivity to a remote network.
If you disable or do not configure this policy setting, the local host settings are used.
If you enable this policy setting, you can specify an IP-HTTPS server URL. You will be able to configure IP-HTTPS with one of the following settings:
Policy Default State: The IP-HTTPS interface is used when there are no other connectivity options.
Policy Enabled State: The IP-HTTPS interface is always present, even if the host has other connectivity options.
Policy Disabled State: No IP-HTTPS interfaces are present on the host.
Ce paramètre de stratégie vous permet de configurer IP-HTTPS, une technologie de tunneling qui utilise le protocole HTTPS pour assurer la connectivité IP à un réseau distant.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les paramètres de l’hôte local sont utilisés.
Si vous activez ce paramètre de stratégie, vous pouvez spécifier l’URL d’un serveur IP-HTTPS. Vous pouvez configurer IP-HTTPS avec l’un des paramètres suivants :
État par défaut de la stratégie : l’interface IP-HTTPS est utilisée lorsqu’il n’y a aucune autre option de connectivité.
État activé de la stratégie : l’interface IP-HTTPS est toujours présente, même si l’hôte dispose d’autres options de connectivité.
État désactivé de la stratégie : aucune interface IP-HTTPS n’est présente sur l’hôte.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\TCPIP\v6Transition\IPHTTPS\IPHTTPSInterface- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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: tcpip/IPHTTPS_ClientState
$k = 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition\IPHTTPS\IPHTTPSInterface'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Select Interface state from the following options
# Possible options:
# Default State = 0
# Enabled State = 2
# Disabled State = 3
Set-ItemProperty -Path $k -Name 'IPHTTPS_ClientState' -Value 0 -Type DWord
# Enter the IPHTTPS Url
Set-ItemProperty -Path $k -Name 'IPHTTPS_ClientUrl' -Value '<value>' -Type StringDisable
# Disable: tcpip/IPHTTPS_ClientState
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": tcpip/IPHTTPS_ClientState
$k = 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition\IPHTTPS\IPHTTPSInterface'
Remove-ItemProperty -Path $k -Name 'IPHTTPS_ClientState' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'IPHTTPS_ClientUrl' -ErrorAction SilentlyContinueOptions (2)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Select Interface state from the following options:Sélectionnez l’état de l’interface parmi les options suivantes :StateSelect | Drop-down listenum | IPHTTPS_ClientState | REG_DWORD | Required · Default choice (UI): #0
| ||||||||
| Enter the IPHTTPS Url:Entrez l’URL IPHTTPS :IPHTTPSClientUrlBox | Text boxtext | IPHTTPS_ClientUrl | REG_SZ | Required |