設定 ISATAP 狀態 的登錄值 ISATAP_State電腦HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition

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

登錄

ISATAP_State

REG_SZ電腦
啟用時的值
取決於選項值
元素
從下列狀態中選取:
選項
項目儲存的值
預設狀態Default
啟用狀態Enabled
停用狀態Disabled
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 預設狀態
"ISATAP_State"="Default"
; 啟用狀態
"ISATAP_State"="Enabled"
; 停用狀態
"ISATAP_State"="Disabled"
CMD
:: 選項 (只使用其中一個)

:: 預設狀態
reg add "HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition" /v "ISATAP_State" /t REG_SZ /d "Default" /f
:: 啟用狀態
reg add "HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition" /v "ISATAP_State" /t REG_SZ /d "Enabled" /f
:: 停用狀態
reg add "HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition" /v "ISATAP_State" /t REG_SZ /d "Disabled" /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition' -Force | Out-Null

# 選項 (只使用其中一個)
# 預設狀態
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition' -Name 'ISATAP_State' -PropertyType String -Value 'Default' -Force | Out-Null
# 啟用狀態
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition' -Name 'ISATAP_State' -PropertyType String -Value 'Enabled' -Force | Out-Null
# 停用狀態
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition' -Name 'ISATAP_State' -PropertyType String -Value 'Disabled' -Force | Out-Null