内部ネットワーク経由ですべてのトラフィックをルーティングする のレジストリ値 Force_TunnelingコンピューターHKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition

ポリシー ID
NC_ForceTunneling
適用対象
コンピューターの構成
サポートされるバージョン
Windows Server 2008 R2、Windows 7 またはそれ以降
出典
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
カテゴリ
ネットワーク › ネットワーク接続

レジストリ

Force_Tunneling

REG_SZコンピューター
有効時の値
オプションの値に依存
要素
次の状態から選択してください:
オプション
項目保存される値
有効状態Enabled
無効状態Disabled
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

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

; 選択項目 (1 つだけ使用)
; 有効状態
"Force_Tunneling"="Enabled"
; 無効状態
"Force_Tunneling"="Disabled"
CMD
:: 選択項目 (1 つだけ使用)

:: 有効状態
reg add "HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition" /v "Force_Tunneling" /t REG_SZ /d "Enabled" /f
:: 無効状態
reg add "HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition" /v "Force_Tunneling" /t REG_SZ /d "Disabled" /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 有効状態
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition' -Name 'Force_Tunneling' -PropertyType String -Value 'Enabled' -Force | Out-Null
# 無効状態
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition' -Name 'Force_Tunneling' -PropertyType String -Value 'Disabled' -Force | Out-Null