允許透過指令碼執行剪貼簿的剪下、複製或貼上作業 的登錄值 1407 (Zones\4)電腦HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4
- 原則 ID
- IZ_PolicyAllowPasteViaScript_7
- 適用範圍
- 電腦設定、使用者設定
- 支援的作業系統
- 在 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 › 網際網路控制台 › 安全性畫面 › 受限制的網站區域
登錄
1407
REG_DWORD電腦使用者…\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4 目前的機碼
HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4
HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4
- 啟用時的值
- 取決於選項值
- 元素
- 允許透過指令碼執行貼上動作
| 項目 | 儲存的值 |
|---|---|
| 啟用 | 0 |
| 停用 | 3 |
| 提示 | 1 |
以 .reg · CMD · PowerShell 套用
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4] ; 選項 (只使用其中一個) ; 啟用 "1407"=dword:00000000 ; 停用 "1407"=dword:00000003 ; 提示 "1407"=dword:00000001
CMD
:: 選項 (只使用其中一個) :: 啟用 reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4" /v "1407" /t REG_DWORD /d 0 /f :: 停用 reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4" /v "1407" /t REG_DWORD /d 3 /f :: 提示 reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4" /v "1407" /t REG_DWORD /d 1 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4' -Force | Out-Null # 選項 (只使用其中一個) # 啟用 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4' -Name '1407' -PropertyType DWord -Value 0 -Force | Out-Null # 停用 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4' -Name '1407' -PropertyType DWord -Value 3 -Force | Out-Null # 提示 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4' -Name '1407' -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\4] ; 選項 (只使用其中一個) ; 啟用 "1407"=dword:00000000 ; 停用 "1407"=dword:00000003 ; 提示 "1407"=dword:00000001
CMD
:: 選項 (只使用其中一個) :: 啟用 reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4" /v "1407" /t REG_DWORD /d 0 /f :: 停用 reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4" /v "1407" /t REG_DWORD /d 3 /f :: 提示 reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4" /v "1407" /t REG_DWORD /d 1 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4' -Force | Out-Null # 選項 (只使用其中一個) # 啟用 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4' -Name '1407' -PropertyType DWord -Value 0 -Force | Out-Null # 停用 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4' -Name '1407' -PropertyType DWord -Value 3 -Force | Out-Null # 提示 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4' -Name '1407' -PropertyType DWord -Value 1 -Force | Out-Null