ssh*_*ots 14 c# notifications registrykey
有没有办法以编程方式打开/关闭操作中心?另外,我想知道是否有办法以编程方式打开/关闭特定通知?在制造过程中,我们使用Windows 10的基本映像关闭它们,我正在为我们制作的应用程序编写补丁.我一直负责的事情之一是用补丁重新打开它们(或者至少弄清楚它是不可能的).
我不需要知道如何做Toast Notifications.我只需要显示Action Center,然后打开Windows Updates和Defender的通知
您将[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer] "DisableNotificationCenter"密钥设置为dword:00000000
Registry.SetValue("HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer", "DisableNotificationCenter", 0, RegistryValueKind.DWord);
Run Code Online (Sandbox Code Playgroud)
然后启用Defender通知:
Registry.SetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\UX Configuration", "Notification_Suppress", 0, RegistryValueKind.DWord);
Run Code Online (Sandbox Code Playgroud)
我不确定您尝试启用哪个有关Windows Update的通知.
| 归档时间: |
|
| 查看次数: |
547 次 |
| 最近记录: |