設定 IP-HTTPS 狀態 的登錄值 IPHTTPS_ClientUrl 等 1 個電腦HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition\IPHTTPS\IPHTTPSInterface

原則 ID
IPHTTPS_ClientState
適用範圍
電腦設定
支援的作業系統
至少需要 Windows Server 2008 R2 或 Windows 7
來源
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
類別
網路 › TCPIP 設定值 › IPv6 轉換技術

登錄

IPHTTPS_ClientUrl

REG_SZ電腦
啟用時的值
取決於選項值
元素
輸入 IPHTTPS URL:
值類型
REG_SZ
必要
true
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\TCPIP\v6Transition\IPHTTPS\IPHTTPSInterface]

; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>
"IPHTTPS_ClientUrl"="<輸入值>"
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

reg add "HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition\IPHTTPS\IPHTTPSInterface" /v "IPHTTPS_ClientUrl" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition\IPHTTPS\IPHTTPSInterface' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition\IPHTTPS\IPHTTPSInterface' -Name 'IPHTTPS_ClientUrl' -PropertyType String -Value '<輸入值>' -Force | Out-Null

IPHTTPS_ClientState

REG_DWORD電腦
啟用時的值
取決於選項值
元素
從下列選項中選取介面狀態:
選項
項目儲存的值
預設狀態0
啟用狀態2
停用狀態3
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\TCPIP\v6Transition\IPHTTPS\IPHTTPSInterface]

; 選項 (只使用其中一個)
; 預設狀態
"IPHTTPS_ClientState"=dword:00000000
; 啟用狀態
"IPHTTPS_ClientState"=dword:00000002
; 停用狀態
"IPHTTPS_ClientState"=dword:00000003
CMD
:: 選項 (只使用其中一個)

:: 預設狀態
reg add "HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition\IPHTTPS\IPHTTPSInterface" /v "IPHTTPS_ClientState" /t REG_DWORD /d 0 /f
:: 啟用狀態
reg add "HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition\IPHTTPS\IPHTTPSInterface" /v "IPHTTPS_ClientState" /t REG_DWORD /d 2 /f
:: 停用狀態
reg add "HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition\IPHTTPS\IPHTTPSInterface" /v "IPHTTPS_ClientState" /t REG_DWORD /d 3 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition\IPHTTPS\IPHTTPSInterface' -Force | Out-Null

# 選項 (只使用其中一個)
# 預設狀態
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition\IPHTTPS\IPHTTPSInterface' -Name 'IPHTTPS_ClientState' -PropertyType DWord -Value 0 -Force | Out-Null
# 啟用狀態
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition\IPHTTPS\IPHTTPSInterface' -Name 'IPHTTPS_ClientState' -PropertyType DWord -Value 2 -Force | Out-Null
# 停用狀態
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition\IPHTTPS\IPHTTPSInterface' -Name 'IPHTTPS_ClientState' -PropertyType DWord -Value 3 -Force | Out-Null