How to clear Windows Notifications from Action Center?

Page 1 of 2 12 LastLast

  1. Posts : 5,451
    Windows 11 Home
       #1

    How to clear Windows Notifications from Action Center?


    I would prefer to do it via a task or a command, since it is tiresome to do it by hand every single time.
    Apparently there is ToastNotificationHistory, but no idea how to apply this method to actually use it?

    https://docs.microsoft.com/en-us/uwp...cationHistory?

    I have found this, but I would rather do it without using 3rd party apps, if possible.

    Clear all notifications in Action Center using Keyboard or Shortcut - Winhelponline
      My Computer


  2. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #2

    Hello @TairikuOkami,

    TairikuOkami said:
    I would prefer to do it via a task or a command, since it is tiresome to do it by hand every single time.

    Are you talking about something like this? [ Option 2 for example ] . . .

    > How to Turn On or Off Notifications from Apps and Senders in Windows 10
      My Computer


  3. Posts : 5,451
    Windows 11 Home
    Thread Starter
       #3

    Paul Black said:
    Are you talking about something like this? [ Option 2 for example ] .
    Yes, but I do not want to disable them, just clear them, so when I boot up, I can start with a clean window.
      My Computer


  4. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #4

    Hello @TairikuOkami,

    TairikuOkami said:
    Yes, but I do not want to disable them, just clear them, so when I boot up, I can start with a clean window.

    I just spent a while investigating this for you. There are loads of sites that tell you how to Enable and Disable them using PowerShell, C++, or the Registry etc, but nothing to clear them on Boot. I will try and have a deeper look later!
      My Computer


  5. Posts : 5,451
    Windows 11 Home
    Thread Starter
       #5

    You have given me an idea, maybe disabling it and reenabling it back, would clear it up?
      My Computer


  6. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #6

    TairikuOkami said:
    You have given me an idea, maybe disabling it and reenabling it back, would clear it up?

    Worth a try. Let us know if it works.
      My Computer


  7. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #7

    Hello @TairikuOkami,

    > How to Turn On or Off Notifications from Apps and Senders in Windows 10

    The .reg files to turn ON and OFF PushNotifications is . . .

    OFF [ as per the Tutorial ]
    Code:
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PushNotifications]
    "ToastEnabled"=dword:00000000
    
    ON [ as per the Tutorial ]
    Code:
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PushNotifications]
    "ToastEnabled"=dword:00000001
    

    Which equates into the Batch Script . . .

    OFF
    Code:
    
    Reg Add "HKCU\Software\Microsoft\Windows\CurrentVersion\PushNotifications" /v ToastEnabled /t REG_DWORD /d 0 /f
    
    ON
    Code:
    
    Reg Add "HKCU\Software\Microsoft\Windows\CurrentVersion\PushNotifications" /v ToastEnabled /t REG_DWORD /d 1 /f
    



    TairikuOkami said:
    You have given me an idea, maybe disabling it and reenabling it back, would clear it up?

    If the above works, perhaps you could create a Batch Script to run BOTH Batch Commands at Boot via Task Scheduler for example.

    Just a thought!
      My Computer


  8. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #8

    Hello @TairikuOkami,

    I also found this which might shed some light on it . . .

    > How to Enable or Disable the Action Center in Windows 10
      My Computer


  9. Posts : 6,823
    22H2 64 Bit Pro
       #9

    FYI. This is over my head but I find that notifications are stored here:

    %LocalAppData%\Microsoft\Windows\ActionCenterCache

    If I clear that and restart explorer then they're gone.
      My Computer


  10. Posts : 1,769
    Windows 10 Pro
       #10

    Paul Black said:
    Hello @TairikuOkami,




    I just spent a while investigating this for you. There are loads of sites that tell you how to Enable and Disable them using PowerShell, C++, or the Registry etc, but nothing to clear them on Boot. I will try and have a deeper look later!
    Just curious about the words with background shading. How do you set that background? Or is it automatic in the forum software?
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:26.
Find Us




Windows 10 Forums