View past notifications in Windows 10?

204,139

Solution 1

tldr; No there's not.

The action center is the same as found on the Microsoft Phones running Windows 10 Mobile. These actions (notifications) are meant to be displayed to the user until they take action. There are two ways a user can interact with an action:

  1. Dismiss the notification (clears the action)
  2. Select the notification (respond to the action)

Once one of these interactions takes place, the notification and therefore the action is no longer displayed. No history is maintained of these notifications and cannot be retrieved. This is done on purpose as that history could (and most likely would) become very large.

If you are worried that the notification has system-wide consequences it could be worth looking into the System logs instead; here separate messages about system events are stored.


Update: It appears that some applications will additionally add events into the event viewer. This can be done by:

  1. Open Event Viewer
  2. Expand Applications and Services Logs
  3. Drill down to the app or service you are interested in, e.g. for Windows Defender you might go to: Microsoft -> Windows -> Windows Defender -> Operational log.
  4. Review the log and look for the notification you were interested in.

This is NOT the notification history, but additional information provided by the application and as such, there's no guarantee that the notification was logged. It also requires that a user knows which application whose notification they're looking for.

Solution 2

You can use a paid Notification Logger app from the Microsoft Store to view past notifications history. I'm the author of this app.

Solution 3

I've found one way to view past notifications, though only very recent ones. In Windows 10, the notifications are stored in \Users\<username>\AppData\Local\Microsoft\Windows\Notifications\wpndatabase.db as an SQLite database. E.g. using DB Browser for SQLite, it is possible to view the "Notification" table in it, whose "Payload" column contains the notification texts.

Now, this database doesn't actually seem to store notification history, and dismissed notifications are immediately deleted, but there is a trick: since it is an SQLite database with write-ahead logging (WAL), it may be possible to view an earlier version of the database with the relevant notification.

For example, say I accidentally dismissed a notification without being able to read it. In the aforementioned directory, there exists wpndatabase.db file, last modified two hours ago, and wpndatabase.db-wal file, last modified just now. If I copy both files to a different directory and then open wpndatabase.db in DB Browser for SQLite, I will view the latest version of the database, with the relevant notification gone. However, if I copy only the wpndatabase.db file and open it, I will view the snapshot from two hours ago, before I dismissed the notification, so I will be able to view it.

This is the easiest scenario. What if I dismissed the notification hours/days ago, earlier than wpndatabase.db last modified time? Then this means changes will have been incorporated into the database file and it is not possible to view that notification anymore. Conversely, what if both the arrival and dismissal of the notification happened later than wpndatabase.db last modified time? Then the wpndatabase.db file alone will not have it, but it should still be contained in the log at wpndatabase.db-wal. So you need to apply only the first part of the log to the database, before the deletion. I haven't looked at how to do this or if it is easily doable just using DB Browser for SQLite, but I am sure it is in principle possible to do since the .db-wal file is just a log of changes.

Share:
204,139
Maarten Bodewes
Author by

Maarten Bodewes

Updated on September 18, 2022

Comments

  • Maarten Bodewes
    Maarten Bodewes over 1 year

    New with Windows 10 seems to be the Notification Area. Now, I've seen a few notifications (in the Action Center). The problem is that I haven't understood any of them (actively using computers for 30 years now), and once I click them they are gone. Is there any way to view these past user notifications so I can try and make some sense out of them?

    • gronostaj
      gronostaj over 8 years
      Once you click them something related should happen. They shouldn't just dissappear, they cause some action.
    • Maarten Bodewes
      Maarten Bodewes over 8 years
      Yes, that they do. And I get for instance a bunch of startup applications. But I cannot remember for the life of it what I should do with those. Some kind of optimization or something. But after I clicked the darn message that didn't make any sense in the first place, it's gone.
    • gchq
      gchq over 7 years
      Just noticed this behavior in Server 2016 (preview 5). The message said something about removing some apps at startup to improve performance - you click on it and Task Manager opens. Not very helpful at all.
    • Michael Felt
      Michael Felt over 5 years
      Thanks for the question. Disappointed in the answer, but without the question I would not have confirmation of what I feared.
    • Bob Stein
      Bob Stein over 2 years
      In Windows 11 this gets better: notifications that you don't click on fast enough (about 3 seconds) disappear without a trace too.
  • Thalys
    Thalys over 6 years
    Comments are not for extended discussion; this conversation has been moved to chat.
  • Ajoy Bhatia
    Ajoy Bhatia over 5 years
    Another brain-dead design decision by Microsoft. If the concern is that history could become very large, the simple situation is to just keep the most recent notifications, i.e. within the last week or month or year - perhaps, make it configurable, too, while you're at it. Duh!!
  • Prerak Diwan
    Prerak Diwan over 5 years
    @AjoyBhatia I don't know of any other system that does this. How is this a "brain-dead design design decision by Microsoft"?
  • Ajoy Bhatia
    Ajoy Bhatia over 5 years
    @KronoS - because Microsoft developed Windows 10?
  • Prerak Diwan
    Prerak Diwan over 5 years
    @AjoyBhatia point I'm trying to make here is that Microsoft, Apple, and Unix like OS's all don't do this. Can't really fault just Microsoft for this entirely.
  • Ralf
    Ralf over 5 years
    It doesn't make this nonsense any better if others do the same. But really, of all the systems I have used, including the ones mentioned, and of course my phone, I never had this issue. Notifications don't just disappear with no trace without me making them disappear. Only on Win10 they do.
  • Prerak Diwan
    Prerak Diwan over 5 years
    @Ralf that's not the behavior that we're talking about here. That indeed is something that shouldn't happen and if you encounter should be reported as an error to Microsoft. However, this situation is one were the user intentionally dismissed the action and then wants to get it back.
  • Michael Felt
    Michael Felt over 5 years
    Notifications, in my experience, do disappear after a time. For W10 that time seems to be 0 seconds, rather than, e.g., one week, and the option to delete them earlier.
  • Maarten Bodewes
    Maarten Bodewes almost 4 years
    Nice, I'll sure check it out (when I upgrade my laptop which is out of space or convert my Linux PC).
  • glenviewjeff
    glenviewjeff almost 4 years
    Bought it, thanks. Looks like it will work great! I needed this because Microsoft doesn't allow an infinite timeout for notifications and I'm using the Visual Ping plugin for Chrome. When I'm not at my PC the notifications disappear, making it useless.
  • Doug_Ivison
    Doug_Ivison about 3 years
    Yes: bought it too. THANKS. I do not see, however, a way to create a desktop shortcut for it, which is how I'd prefer to access it. (For now, I've pinned it to my taskbar, which is already too full ... but oh well.)
  • Eugene Gagarin
    Eugene Gagarin almost 3 years
    @Doug_Ivison, thanks! You could drag the app from start menu to desktop, it will generate shortcut automatically.
  • Doug_Ivison
    Doug_Ivison almost 3 years
    @EugeneGagarin -- ty, yes -- that worked.
  • Dylan Nicholson
    Dylan Nicholson almost 3 years
    I assume though this only works with notifications that occur after it's installed and running? I just saw a notification that I'd really like to get back but can't find it anywhere...
  • Eugene Gagarin
    Eugene Gagarin almost 3 years
    @DylanNicholson yes, you're absolutely right