アクティブ スクリプトの許可 のレジストリ値 1400 (Zones\2)コンピューターHKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2

ポリシー ID
IZ_PolicyActiveScripting_5
適用対象
コンピューターの構成、ユーザーの構成
サポートされるバージョン
Windows XP Service Pack 2 または Windows Server 2003 Service Pack 1 で Internet Explorer 6.0 以降
出典
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
カテゴリ
Windows コンポーネント › Internet Explorer › インターネット コントロール パネル › セキュリティ ページ › 信頼済みサイト

レジストリ

1400

REG_DWORDコンピューターユーザー
有効時の値
オプションの値に依存
要素
アクティブ スクリプトの許可
オプション
項目保存される値
[有効]0
[無効]3
ダイアログを表示する1
.reg · CMD · PowerShell で適用する
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2]

; 選択項目 (1 つだけ使用)
; [有効]
"1400"=dword:00000000
; [無効]
"1400"=dword:00000003
; ダイアログを表示する
"1400"=dword:00000001
CMD
:: 選択項目 (1 つだけ使用)

:: [有効]
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1400" /t REG_DWORD /d 0 /f
:: [無効]
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1400" /t REG_DWORD /d 3 /f
:: ダイアログを表示する
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1400" /t REG_DWORD /d 1 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# [有効]
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '1400' -PropertyType DWord -Value 0 -Force | Out-Null
# [無効]
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '1400' -PropertyType DWord -Value 3 -Force | Out-Null
# ダイアログを表示する
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '1400' -PropertyType DWord -Value 1 -Force | Out-Null
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2]

; 選択項目 (1 つだけ使用)
; [有効]
"1400"=dword:00000000
; [無効]
"1400"=dword:00000003
; ダイアログを表示する
"1400"=dword:00000001
CMD
:: 選択項目 (1 つだけ使用)

:: [有効]
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1400" /t REG_DWORD /d 0 /f
:: [無効]
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1400" /t REG_DWORD /d 3 /f
:: ダイアログを表示する
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1400" /t REG_DWORD /d 1 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# [有効]
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '1400' -PropertyType DWord -Value 0 -Force | Out-Null
# [無効]
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '1400' -PropertyType DWord -Value 3 -Force | Out-Null
# ダイアログを表示する
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '1400' -PropertyType DWord -Value 1 -Force | Out-Null