How to show app toast after turn on app notification using registry editor

Ida Su 1 Reputation point
2023-10-19T08:43:21.0066667+00:00

System : windows11 22H2 22621.2428

1: Turn Off Notifications for My App in Settings,

2: Next, navigate to the following path =[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\MyApp],

3: Turn On App Notifications using Registry Editor (Enabled ->REG_DWORD = 1),

4: My App Send toast using winrt::Windows::UI::Notifications::ToastNotifier interface;

After that ,there is nothing in my system notification center and no show toast.

But If I turn off notifications in setting and turn on in setting, it is work;

if I turn off notifications in registry editor and trun on in registry editor ,it is work;

if I turn off notifications in setting and trun on in registry editor , it doesn't work;

Thanks

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,644 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,761 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,161 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,195 questions
Microsoft Intune Application management
Microsoft Intune Application management
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Application management: The process of creating, configuring, managing, and monitoring applications.
876 questions
{count} votes