Internet Explorer での VBScript 実行を許可する のレジストリ値 140C (Zones\1)ユーザーHKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1
- ポリシー ID
- IZ_PolicyAllowVBScript_3
- 適用対象
- コンピューターの構成、ユーザーの構成
- サポートされるバージョン
- Internet Explorer 11.0 以降
- 出典
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
- カテゴリ
- Windows コンポーネント › Internet Explorer › インターネット コントロール パネル › セキュリティ ページ › イントラネット ゾーン
レジストリ
140C
REG_DWORDユーザーコンピューター…\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1 現在のキー
HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1
HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1
- 有効時の値
- オプションの値に依存
- 要素
- Internet Explorer での VBScript 実行を許可する
| 項目 | 保存される値 |
|---|---|
| [有効] | 0 |
| [無効] | 3 |
| ダイアログを表示する | 1 |
.reg · CMD · PowerShell で適用する
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1] ; 選択項目 (1 つだけ使用) ; [有効] "140C"=dword:00000000 ; [無効] "140C"=dword:00000003 ; ダイアログを表示する "140C"=dword:00000001
CMD
:: 選択項目 (1 つだけ使用) :: [有効] reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1" /v "140C" /t REG_DWORD /d 0 /f :: [無効] reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1" /v "140C" /t REG_DWORD /d 3 /f :: ダイアログを表示する reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1" /v "140C" /t REG_DWORD /d 1 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1' -Force | Out-Null # 選択項目 (1 つだけ使用) # [有効] New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1' -Name '140C' -PropertyType DWord -Value 0 -Force | Out-Null # [無効] New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1' -Name '140C' -PropertyType DWord -Value 3 -Force | Out-Null # ダイアログを表示する New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1' -Name '140C' -PropertyType DWord -Value 1 -Force | Out-Null
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1] ; 選択項目 (1 つだけ使用) ; [有効] "140C"=dword:00000000 ; [無効] "140C"=dword:00000003 ; ダイアログを表示する "140C"=dword:00000001
CMD
:: 選択項目 (1 つだけ使用) :: [有効] reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1" /v "140C" /t REG_DWORD /d 0 /f :: [無効] reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1" /v "140C" /t REG_DWORD /d 3 /f :: ダイアログを表示する reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1" /v "140C" /t REG_DWORD /d 1 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1' -Force | Out-Null # 選択項目 (1 つだけ使用) # [有効] New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1' -Name '140C' -PropertyType DWord -Value 0 -Force | Out-Null # [無効] New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1' -Name '140C' -PropertyType DWord -Value 3 -Force | Out-Null # ダイアログを表示する New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1' -Name '140C' -PropertyType DWord -Value 1 -Force | Out-Null