如何启用或禁用来自 Windows 安全中心的通知

Windows 安全中心将发送通知,其中包含有关设备运行状况和安全性的重要信息。您可以指定所需的信息通知。在这篇文章中,我们将向您展示如何在 Windows 10中启用或禁用来自 Windows 安全中心的通知。(enable or disable Notifications from the Windows Security Center)

从 Windows 安全中心启用或禁用通知

从 Windows 10 版本 1709 开始,您可以启用隐藏非关键通知(Hide non-critical notification)隐藏所有通知(Hide all notifications)策略。

隐藏非关键通知(Hide non-critical notification) - 如果启用,则仅从Windows 安全(Windows Security)中心显示关键通知。本地(Local)用户只会看到来自Windows Defender 安全中心(Windows Defender Security Center)的重要通知。他们不会看到其他类型的通知,例如常规 PC 或设备健康信息。

隐藏所有通知(Hide all notifications) – 如果启用,本地用户将不会看到来自Windows 安全(Windows Security)中心的任何通知。这将覆盖 隐藏非关键通知(Hide non-critical notification) 策略。

如果您担心通知将被禁止,因为您不想错过重要的系统安全通知,您可以查看本文末尾的表格以了解哪些通知将被禁用。

从Windows 安全中心(Windows Security Center)启用或禁用通知

由于这是注册表操作,建议您 备份注册表(back up the registry) 或 创建系统还原点 作为必要的预防措施。

1]使用REG文件启用或禁用来自(Enable)Windows安全(Windows Security)的非关键通知

(To enable)要从Windows 安全中心(Windows Security)启用非关键通知,请执行以下操作:

  • 按 Windows key + R 调用“运行”对话框。
  • 在“运行”对话框中,键入 记事本(notepad) 并按 Enter 键打开记事本。
  • 将以下语法复制并粘贴到文本编辑器中。
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications]
"DisableEnhancedNotifications"=-
  • 现在,单击菜单中的 文件(File) 选项,然后选择 另存为(Save As) 按钮。
  • 选择要保存文件的位置(最好是桌面)。
  • 输入带有 .reg 扩展名的名称(例如 Enable_NonCritical_Notification.reg)。
  •  从 保存类型(Save as type) 下拉列表中选择 所有文件。(All Files)
  • 双击(Double-click)保存的.reg文件将其合并。
  • 如果出现提示,请单击 Run > Yes  ( UAC ) >  Yes > OK 以批准合并。
  • 您现在可以根据需要删除.reg文件。

(To disable)要从Windows 安全中心(Windows Security)禁用非关键通知,请执行以下操作:

  • 打开记事本。
  • 将以下语法复制并粘贴到文本编辑器中。
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications]
"DisableEnhancedNotifications"=dword:00000001
  • 重复与上述相同的步骤,但在这种情况下,将 reg 文件保存为Disable_NonCritical_Notification.reg

2]使用REG文件启用(Enable)或禁用来自Windows安全的(Windows Security)所有通知(Disable All Notifications)

要启用来自(To enable)Windows 安全(Windows Security)的所有通知,请执行以下操作:

  • 按 Windows key + R 调用“运行”对话框。
  • 在“运行”对话框中,键入 记事本(notepad) 并按 Enter 键打开记事本。
  • 将以下语法复制并粘贴到文本编辑器中。
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications]
"DisableNotifications"=-
  • 现在,单击菜单中的 文件(File) 选项,然后选择 另存为(Save As) 按钮。
  • 选择要保存文件的位置(最好是桌面)。
  • 输入带有 .reg 扩展名的名称(例如 Enable_All_Notification_WSC.reg)。
  •  从 保存类型(Save as type) 下拉列表中选择 所有文件。(All Files)
  • 双击(Double-click)保存的.reg文件将其合并。
  • 如果出现提示,请单击 Run > Yes  ( UAC ) >  Yes > OK 以批准合并。
  • 您现在可以根据需要删除.reg文件。

要禁用(To disable)Windows 安全(Windows Security)中心的所有通知,请执行以下操作:

  • 打开记事本。
  • 将以下语法复制并粘贴到文本编辑器中。
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications]
"DisableNotifications"=dword:00000001
  • 重复与上述相同的步骤,但在这种情况下,将 reg 文件保存为Disable_All_Notification_WSC.reg

Windows 安全通知

NOTIFICATIONS
PurposeNotification textToast IdentifierCritical?
Network isolationYour IT administrator has caused Windows Defender to disconnect your device. Contact IT help desk.SENSE_ISOLATIONYes
Network isolation customizedCompany name has caused Windows Defender to disconnect your device. Contact IT help desk phone numberemail addressurl.SENSE_ISOLATION_CUSTOM (body)Yes
Restricted accessYour IT administrator has caused Windows Defender to limit actions on this device. Some apps may not function as expected. Contact IT help desk.SENSE_PROCESS_RESTRICTIONYes
Restricted access customizedCompany has caused Windows Defender to limit actions on this device. Some apps may not function as expected. Contact IT help desk.SENSE_PROCESS_RESTRICTION_CUSTOM (body)Yes
HVCI, driver compat check fails (upon trying to enable)There may be an incompatibility on your device.HVCI_ENABLE_FAILUREYes
HVCI, reboot needed to enableThe recent change to your protection settings requires a restart of your device.HVCI_ENABLE_SUCCESSYes
Item skipped in scan, due to exclusion setting, or network scanning disabled by adminThe Microsoft Defender Antivirus scan skipped an item due to exclusion or network scanning settings.ITEM_SKIPPEDYes
Remediation failureMicrosoft Defender Antivirus couldn’t completely resolve potential threats.CLEAN_FAILEDYes
Follow-up action (restart & scan)Microsoft Defender Antivirus found threat in file name. Please restart and scan your device. Restart and scanMANUALSTEPS_REQUIREDYes
Follow-up action (restart)Microsoft Defender Antivirus found threat in file. Please restart your device.WDAV_REBOOTYes
Follow-up action (Full scan)Microsoft Defender Antivirus found threat in file. Please run a full scan of your device.FULLSCAN_REQUIREDYes
Sample submission promptReview files that Windows Defender will send to Microsoft. Sending this information can improve how Microsoft Defender Antivirus helps protect your device.SAMPLE_SUBMISSION_REQUIREDYes
OS support ending warningSupport for your version of Windows is ending. When this support ends, Microsoft Defender Antivirus won’t be supported, and your device might be at risk.SUPPORT_ENDINGYes
OS support ended, device at riskSupport for your version of Windows has ended. Microsoft Defender Antivirus is no longer supported, and your device might be at risk.SUPPORT_ENDED and SUPPORT_ENDED_NO_DEFENDERYes
Summary notification, items foundMicrosoft Defender Antivirus successfully took action on n threats since your last summary. Your device was scanned n times.RECAP_FOUND_THREATS_SCANNEDNo
Summary notification, items found, no scan countMicrosoft Defender Antivirus successfully took action on n threats since your last summary.RECAP_FOUND_THREATSNo
Summary notification, no items found, scans performedMicrosoft Defender Antivirus did not find any threats since your last summary. Your device was scanned n times.RECAP_NO THREATS_SCANNEDNo
Summary notification, no items found, no scansMicrosoft Defender Antivirus did not find any threats since your last summary.RECAP_NO_THREATSNo
Scan finished, manual, threats foundMicrosoft Defender Antivirus scanned your device at timestamp on date, and took action against threats.RECENT_SCAN_FOUND_THREATSNo
Scan finished, manual, no threats foundMicrosoft Defender Antivirus scanned your device at timestamp on date. No threats were found.RECENT_SCAN_NO_THREATSNo
Threat foundMicrosoft Defender Antivirus found threats. Get details.CRITICALNo
LPS on notificationMicrosoft Defender Antivirus is periodically scanning your device. You’re also using another antivirus program for active protection.PERIODIC_SCANNING_ONNo
Long running BaFSYour IT administrator requires a security scan of this item. The scan could take up to n seconds.BAFSNo
Long running BaFS customizedCompany requires a security scan of this item. The scan could take up to n seconds.BAFS_DETECTED_CUSTOM (body)No
Sense detectionThis application was removed because it was blocked by your IT security settingsWDAV_SENSE_DETECTEDNo
Sense detection customizedThis application was removed because it was blocked by your IT security settingsWDAV_SENSE_DETECTED_CUSTOM (body)No
Ransomware specific detectionMicrosoft Defender Antivirus has detected threats which may include ransomware.WDAV_RANSOMWARE_DETECTEDNo
ASR (HIPS) blockYour IT administrator caused Windows Defender Security Center to block this action. Contact your IT help desk.HIPS_ASR_BLOCKEDNo
ASR (HIPS) block customizedCompany caused Windows Defender Security Center to block this action. Contact your IT help desk.HIPS_ASR_BLOCKED_CUSTOM (body)No
CFA (FolderGuard) blockControlled folder access blocked process from making changes to the folder pathFOLDERGUARD_BLOCKEDNo
Network protect (HIPS) network block customizedCompany caused Windows Defender Security Center to block this network connection. Contact your IT help desk.HIPS_NETWORK_BLOCKED_CUSTOM (body)No
Network protection (HIPS) network blockYour IT administrator caused Windows Defender Security Center to block this network connection. Contact your IT help desk.HIPS_NETWORK_BLOCKEDNo
PUA detection, not blockedYour settings cause the detection of any app that might perform unwanted actions on your computer.PUA_DETECTEDNo
PUA notificationYour IT settings caused Microsoft Defender Antivirus to block an app that may potentially perform unwanted actions on your device.PUA_BLOCKEDNo
PUA notification, customizedCompany caused Microsoft Defender Antivirus to block an app that may potentially perform unwanted actions on your device.PUA_BLOCKED_CUSTOM (body)No
Network isolation endedNo
Network isolation ended, customizedNo
Restricted access endedNo
Restricted access ended, customizedNo
Dynamic lock on, but bluetooth offNo
Dynamic lock on, bluetooth on, but device unpairedNo
Dynamic lock on, bluetooth on, but unable to detect deviceNo
NoPa or federated no helloNo
NoPa or federated hello brokenNo

上表来自微软(Microsoft)



About the author

在商业和技术方面,Windows 10 和 Windows 11/10 是非常重要的工具。它们使您可以比以往更轻松、更安全地与计算机交互,并运行功能强大但可自定义的应用程序,而不会带来任何安全风险。这些工具对于希望能够扩大其在线业务并吸引新客户的企业来说也是必不可少的。因此,我会说我在 Windows 10 和 Windows 11/10 方面的技能使我成为此类工作或业务的理想人选。



Related posts