選取雲端保護層級 的登錄值 MpCloudBlockLevel電腦HKLM\Software\Policies\Microsoft\Windows Defender\MpEngine
- 原則 ID
- MpEngine_MpCloudBlockLevel
- 適用範圍
- 電腦設定
- 支援的作業系統
- 至少需要 Windows Server 2016、Windows 10
- 來源
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
- 類別
- Windows 元件 › Microsoft Defender 防毒軟體 › MpEngine
登錄
MpCloudBlockLevel
-電腦MpCloudBlockLevel
REG_DWORD電腦- 啟用時的值
- 取決於選項值
- 元素
- 選取雲端封鎖層級
| 項目 | 儲存的值 |
|---|---|
| 預設封鎖層級 | 0 |
| 中度封鎖層級 | 1 |
| 高封鎖層級 | 2 |
| 更高封鎖層級 | 4 |
| 零容錯封鎖層級 | 6 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\MpEngine] ; 選項 (只使用其中一個) ; 預設封鎖層級 "MpCloudBlockLevel"=dword:00000000 ; 中度封鎖層級 "MpCloudBlockLevel"=dword:00000001 ; 高封鎖層級 "MpCloudBlockLevel"=dword:00000002 ; 更高封鎖層級 "MpCloudBlockLevel"=dword:00000004 ; 零容錯封鎖層級 "MpCloudBlockLevel"=dword:00000006
CMD
:: 選項 (只使用其中一個) :: 預設封鎖層級 reg add "HKLM\Software\Policies\Microsoft\Windows Defender\MpEngine" /v "MpCloudBlockLevel" /t REG_DWORD /d 0 /f :: 中度封鎖層級 reg add "HKLM\Software\Policies\Microsoft\Windows Defender\MpEngine" /v "MpCloudBlockLevel" /t REG_DWORD /d 1 /f :: 高封鎖層級 reg add "HKLM\Software\Policies\Microsoft\Windows Defender\MpEngine" /v "MpCloudBlockLevel" /t REG_DWORD /d 2 /f :: 更高封鎖層級 reg add "HKLM\Software\Policies\Microsoft\Windows Defender\MpEngine" /v "MpCloudBlockLevel" /t REG_DWORD /d 4 /f :: 零容錯封鎖層級 reg add "HKLM\Software\Policies\Microsoft\Windows Defender\MpEngine" /v "MpCloudBlockLevel" /t REG_DWORD /d 6 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine' -Force | Out-Null # 選項 (只使用其中一個) # 預設封鎖層級 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine' -Name 'MpCloudBlockLevel' -PropertyType DWord -Value 0 -Force | Out-Null # 中度封鎖層級 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine' -Name 'MpCloudBlockLevel' -PropertyType DWord -Value 1 -Force | Out-Null # 高封鎖層級 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine' -Name 'MpCloudBlockLevel' -PropertyType DWord -Value 2 -Force | Out-Null # 更高封鎖層級 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine' -Name 'MpCloudBlockLevel' -PropertyType DWord -Value 4 -Force | Out-Null # 零容錯封鎖層級 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine' -Name 'MpCloudBlockLevel' -PropertyType DWord -Value 6 -Force | Out-Null