How to Increase the Notification Limit in Action Center Beyond 20?


MesterPerfect

AhmedBakr
Local time
9:13 PM
Posts
19
Location
sohag, Egypt
OS
windows11
Hi everyone,

I'm currently using both Windows 10 and Windows 11, and I've enabled push notifications on several websites. As a result, I receive a large number of notifications in the Action Center.

However, I've noticed that the Action Center only displays the 20 most recent notifications, and I get the message:
_"Action center shows only the 20 most recent notifications."_

Is there any way to increase this limit from 20 to 50 or more? I'd appreciate any advice or potential workarounds that can help me manage notifications more efficiently.

Thanks in advance!
 

My Computer My Computer

At a glance

windows11Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (4 CP...8192MB RAMRadeon RX 580
OS
windows11
Computer type
PC/Desktop
Manufacturer/Model
HP EliteDesk 800 G2 TWR
CPU
Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (4 CPUs), ~3.2G
Memory
8192MB RAM
Graphics Card(s)
Radeon RX 580
Sound Card
USBAUDIO.sys
Screen Resolution
1024 × 768
Hard Drives
Disk 0 Capacity: 465.76 GB, Disk type: Basic, Disk status: Online
Disk 1 Capacity: 223.56 GB, Disk type: Basic, Disk status: Online
Disk 2 Capacity: 931.51 GB, Disk type: Basic, Disk status: Online
Keyboard
AULA F2088
Internet Speed
30MB
Browser
Google Chrome
Antivirus
Kaspersky Internet Security
Nope.

You could change the priority and try to discriminate between what notifications you get…. Maybe?

 

My Computers My Computers

  • At a glance

    Windows 11 Pro 25H2 Build 26200.9168Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz32.0 GB of I forget and the box is in storage.Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    OS
    Windows 11 Pro 25H2 Build 26200.9168
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built 2013
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    ROG SupremeFX Formula 8-Channel High Definition Audio
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Touch Screen Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list. OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / Mx Air Cordless
    Internet Speed
    2000/500Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    TP-Link BE9300 WiFi 7 Bluetooth 5.4 (Archer TBE550E)
    TP-Link TX201 V1 2.5GB Lan

    Grandstream HT812 - VoIP
    ASUS DSL-AX82U - Mesh
    ASUS RT-AC68U - Mesh
    ASUS RT-BE88U Router

    Brother MFC-L2880DW Printer

    I’m on a horse.
  • At a glance

    Windows 11 Pro 25H2 Build 26200.9168 (Wifes)13th Generation Intel® Core™ i5-1340P Process...16GB LPDDR5-52001x Intel® Iris® Xe Graphics
    Operating System
    Windows 11 Pro 25H2 Build 26200.9168 (Wifes)
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7 14IRL8 - Type 82YL
    CPU
    13th Generation Intel® Core™ i5-1340P Processor(Core™ i5-1340P)
    Memory
    16GB LPDDR5-5200
    Graphics card(s)
    1x Intel® Iris® Xe Graphics
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512 GB SSD PCIe
    Mouse
    Logiteck MX Master 3S
    Internet Speed
    2000/500
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.


    Wireless Network: Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above
    Ports: 1x 1 Novo button; 2 in 1 Audio Combo jack; Micro SD Card Reader; HDMI 1.4b; 2 x USB Type-C (TBT4)
    USB 3.2 Gen 2 DP 1.4a
    PD 3.0); 1 x USB 3.2 Gen1 Type A
    Camera
    1x 1080P FHD IR/RGB Hybrid with Privacy Shutter and Dual Array Microphone
    Graphics
    1x Intel® Iris® Xe Graphics
    Monitor
    14" WUXGA
    Form Factor
    Convertible Notebook
  • Windows 11 Pro 25H2 Build 26200.9168 (Wifes)

    Yoga 7 2-in-1 14IML9 - Type 83DJ

    Processor: Intel® Core™ Ultra 7 155H Processor(Core™ Ultra 7 155H)

    Memory: 32GB LPD5X-7467

    Hard Drive: 1 TB SSD PCIe

    Wireless Network: 1x Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above

    Ports: 1 x HDMI 2.1 TMDS; 1 x Novo Button; 1 x Combo Audio Jack
    2 x USB-C (USB 4.0)
    1 x USB-A 3.2 Gen 1

    Camera: 1080P FHD IR Hybrid with Dual Microphone

    Graphics: Intel® Arc™ Graphics

    Monitor: 14" 2.8K

    ...Where's my horse?
UPDATED: Skip down to post #8 for a shorter solution.

This was surprisingly easy.

1. Download DB Browser for SQLite.
2. Open "C:\Users\GARLIN\AppData\Local\Microsoft\Windows\Notifications\wpndatabase.db"

Windows 10 x64-2024-09-15-19-45-33.png

3. Browse Data -> Table -> "Metadata". Change the value for toast:maxCount.

Windows 10 x64-2024-09-15-19-46-06.png

4. File -> Exit. When asked, save changes to database. While the database is loaded, no new notifications can arrive. Apparently the Action Center counter stops after 99 messages.

Windows 10 x64-2024-09-15-19-54-22.png
 
Last edited:

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
Nice.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 25H2 Build 26200.9168Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz32.0 GB of I forget and the box is in storage.Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    OS
    Windows 11 Pro 25H2 Build 26200.9168
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built 2013
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    ROG SupremeFX Formula 8-Channel High Definition Audio
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Touch Screen Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list. OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / Mx Air Cordless
    Internet Speed
    2000/500Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    TP-Link BE9300 WiFi 7 Bluetooth 5.4 (Archer TBE550E)
    TP-Link TX201 V1 2.5GB Lan

    Grandstream HT812 - VoIP
    ASUS DSL-AX82U - Mesh
    ASUS RT-AC68U - Mesh
    ASUS RT-BE88U Router

    Brother MFC-L2880DW Printer

    I’m on a horse.
  • At a glance

    Windows 11 Pro 25H2 Build 26200.9168 (Wifes)13th Generation Intel® Core™ i5-1340P Process...16GB LPDDR5-52001x Intel® Iris® Xe Graphics
    Operating System
    Windows 11 Pro 25H2 Build 26200.9168 (Wifes)
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7 14IRL8 - Type 82YL
    CPU
    13th Generation Intel® Core™ i5-1340P Processor(Core™ i5-1340P)
    Memory
    16GB LPDDR5-5200
    Graphics card(s)
    1x Intel® Iris® Xe Graphics
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512 GB SSD PCIe
    Mouse
    Logiteck MX Master 3S
    Internet Speed
    2000/500
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.


    Wireless Network: Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above
    Ports: 1x 1 Novo button; 2 in 1 Audio Combo jack; Micro SD Card Reader; HDMI 1.4b; 2 x USB Type-C (TBT4)
    USB 3.2 Gen 2 DP 1.4a
    PD 3.0); 1 x USB 3.2 Gen1 Type A
    Camera
    1x 1080P FHD IR/RGB Hybrid with Privacy Shutter and Dual Array Microphone
    Graphics
    1x Intel® Iris® Xe Graphics
    Monitor
    14" WUXGA
    Form Factor
    Convertible Notebook
  • Windows 11 Pro 25H2 Build 26200.9168 (Wifes)

    Yoga 7 2-in-1 14IML9 - Type 83DJ

    Processor: Intel® Core™ Ultra 7 155H Processor(Core™ Ultra 7 155H)

    Memory: 32GB LPD5X-7467

    Hard Drive: 1 TB SSD PCIe

    Wireless Network: 1x Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above

    Ports: 1 x HDMI 2.1 TMDS; 1 x Novo Button; 1 x Combo Audio Jack
    2 x USB-C (USB 4.0)
    1 x USB-A 3.2 Gen 1

    Camera: 1080P FHD IR Hybrid with Dual Microphone

    Graphics: Intel® Arc™ Graphics

    Monitor: 14" 2.8K

    ...Where's my horse?
When you ask Action Center to clear notifications -- it will only remove 20 at a time. So you have to hit Clear Notifications over and over, until they're all gone.
That's probably hard-coded into Action Center.
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
I wrote a short batch file, which runs without needing DB Browser. Update the "$maxCount = " value for how many notifications to keep.
When the script runs, it may ask you for permission to run as Administrator.

IncreaseNotifications.bat:
Code:
<# : batch script
@echo off
powershell -nop ^
"if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) { ^
    Start-Process 'cmd' -ArgumentList '/c start /min %~dpnx0' -Verb RunAs ^
} ^
else { ^
    Invoke-Expression ([System.IO.File]::ReadAllText('%~f0')) ^
}"
goto :eof
#>

if (-not (Get-Module PSSQLite -ListAvailable)) {
    Install-Module PSSQLite -Scope CurrentUser -Force
}

$maxCount = 50

$DataSource = "$env:LOCALAPPDATA\Microsoft\Windows\Notifications\wpndatabase.db"
Invoke-SqliteQuery -DataSource $DataSource -Query $('UPDATE "main"."Metadata" SET "Value"=' + $maxCount + ' WHERE "_rowid_"=''2''')
 

Attachments

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
FYI, you probably want to change both toast:maxCount and toastCondensed:maxCount .

If you want to keep the notifications alive longer, or not auto dismiss:

REG ADD "HKEY_CURRENT_USER\Control Panel\Accessibility" /v MessageDuration /t REG_DWORD /d 300 /f
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ImmersiveShell\Launcher" /v DisableLightDismiss /t REG_DWORD /d 1 /f

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ImmersiveShell\Launcher create(or set) a DWORD(32-bit) value labeled as "DisableLightDismiss" and set it to "1".
Removing the value or setting it to "0" will restore the default behaviour.

Now if I could only get it to automatically expand the notifications :/
 

My Computer My Computer

At a glance

W11/10/vhdx
OS
W11/10/vhdx
UPDATED: Skip down to post #8 for a shorter solution.

This was surprisingly easy.

1. Download DB Browser for SQLite.
2. Open "C:\Users\GARLIN\AppData\Local\Microsoft\Windows\Notifications\wpndatabase.db"

View attachment 108830

3. Browse Data -> Table -> "Metadata". Change the value for toast:maxCount.

View attachment 108831

4. File -> Exit. When asked, save changes to database. While the database is loaded, no new notifications can arrive. Apparently the Action Center counter stops after 99 messages.

View attachment 108832
Hey brother.

Thanks a lot for your solution. Its working well. But i can increased max. 49. I tryed 99 but it doesnt work. Do you have any recommendations for me ?

My second question; Is it possible to send Windows notifications in real time to telegram or gmail address?
 

My Computer My Computer

At a glance

windows 11
OS
windows 11
Computer type
PC/Desktop
Thanks a lot for your solution. Its working well. But i can increased max. 49. I tryed 99 but it doesnt work. Do you have any recommendations for me ?

My second question; Is it possible to send Windows notifications in real time to telegram or gmail address?
The database can easily track more notifications than the Action Center can handle, but that's an Action Center problem.

Windows notifications are designed to flow into Windows, and not the other way around. Usually a developer will create a Windows app or cloud service which relays notifications to outside endpoints, at the same time. But you can't ask Windows to re-forward notifications.
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
you can use sendEmail to schedule a task triggered on an event ID. i have it in use via a gmail with an app password to send emails whenever users logon to specific PCs. i dont know what event is logged for action center notifications. you'll have to figure that part out


here's a how to, just modify what you need to when you figure out the correct trigger:

Make Windows Send Email Notifications on User Login
  • Download and Extract sendEmail portable app to desired location
  • Create Gmail account
  • Create App Specific Password
  • Set to forward to good Email Account (as this gmail is just a junk account used for this task)
  • Task Scheduler > Create Task
  • Name the Task and Description and Select the “Run whether the user is logged on or not” radio button. Don’t save the task yet. – Set to Computer Administrator account
1737928259437.webp
Triggers > New > “At log on” > “Any user” > Check Enabled
1737928271016.webp
  • Actions > New > add a new action.
  • Type the sendEmail application path under the “Program or Script” field, and then add the below command as the arguments in the “Add arguments” field (edit to your desired intention (ie - remove computer name, username, etc)

-f [email protected] -t [email protected] -xu [email protected] -xp APP_PASSWORD -s smtp.gmail.com:587 -o tls=yes -u "EMAIL_SUBJECT" -m "%username% has logged on to %computername%"


While adding, don’t forget to replace “[email protected]” with your actual email address and PASSWORD with your actual email account password. If you want to you can also edit the email subject [-u] and the message part [-m].

Note: if you are using other email services, then you also have to change the SMTP server address and the port number.

Here is what the command line options actually mean.
  • -f – From email address
  • -t – To email address
  • -xu – Username
  • -xp – Email account password
  • -s – SMTP server address with port number
  • -u – Email subject
  • -m – Email body

  • Click on the “Ok” button to save the changes.
  • Conditions > uncheck the “Start the task only if the computer is on AC power” & “stop if the computer switches to battery power”
 

My Computer My Computer

At a glance

Windows 11 Pro
OS
Windows 11 Pro
The database can easily track more notifications than the Action Center can handle, but that's an Action Center problem.

Windows notifications are designed to flow into Windows, and not the other way around. Usually a developer will create a Windows app or cloud service which relays notifications to outside endpoints, at the same time. But you can't ask Windows to re-forward notifications.
can we output notifications to word, excel or text document ?
 

My Computer My Computer

At a glance

windows 11
OS
windows 11
Computer type
PC/Desktop
There's a paid Microsoft Store app Notification Logger, which saves a record of your notifications (probably by mirroring them from the database), and exporting to CSV. I have no idea how good the app is. The screenshot indicates the app has smart filtering by well-known categories.
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
There's a paid Microsoft Store app Notification Logger, which saves a record of your notifications (probably by mirroring them from the database), and exporting to CSV. I have no idea how good the app is. The screenshot indicates the app has smart filtering by well-known categories.
Brother;

Thank you soooooo so so so so so much for this solition... its working great.. you save my life :)
 

My Computer My Computer

At a glance

windows 11
OS
windows 11
Computer type
PC/Desktop
There's a paid Microsoft Store app Notification Logger, which saves a record of your notifications (probably by mirroring them from the database), and exporting to CSV. I have no idea how good the app is. The screenshot indicates the app has smart filtering by well-known categories.

Do you have any idea for cleaning windows notifications center after 50 notif.

i doing manually rn, if we can find solution for auto clean its will be perfect..

I am grateful for your help
 

My Computer My Computer

At a glance

windows 11
OS
windows 11
Computer type
PC/Desktop
Guys, i cant still solved automatical notif. cleaning. Any idea for this? If we can do it we can recive notif unlimited..
 

My Computer My Computer

At a glance

windows 11
OS
windows 11
Computer type
PC/Desktop
UPDATED: Skip down to post #8 for a shorter solution.

This was surprisingly easy.

1. Download DB Browser for SQLite.
2. Open "C:\Users\GARLIN\AppData\Local\Microsoft\Windows\Notifications\wpndatabase.db"

View attachment 108830

3. Browse Data -> Table -> "Metadata". Change the value for toast:maxCount.

View attachment 108831

4. File -> Exit. When asked, save changes to database. While the database is loaded, no new notifications can arrive. Apparently the Action Center counter stops after 99 messages.

View attachment 108832
I don't see a solution in post #8, am I missing something? Regardless I will try this out, thanks so much!!
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Computer type
Laptop
Manufacturer/Model
Asus G14 GA403UV
Post #6. Sorry :facepalm:
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
I wrote a short batch file, which runs without needing DB Browser. Update the "$maxCount = " value for how many notifications to keep.
When the script runs, it may ask you for permission to run as Administrator.

IncreaseNotifications.bat:
Code:
<# : batch script
@echo off
powershell -nop ^
"if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) { ^
    Start-Process 'cmd' -ArgumentList '/c start /min %~dpnx0' -Verb RunAs ^
} ^
else { ^
    Invoke-Expression ([System.IO.File]::ReadAllText('%~f0')) ^
}"
goto :eof
#>

if (-not (Get-Module PSSQLite -ListAvailable)) {
    Install-Module PSSQLite -Scope CurrentUser -Force
}

$maxCount = 50

$DataSource = "$env:LOCALAPPDATA\Microsoft\Windows\Notifications\wpndatabase.db"
Invoke-SqliteQuery -DataSource $DataSource -Query $('UPDATE "main"."Metadata" SET "Value"=' + $maxCount + ' WHERE "_rowid_"=''2''')
Thank you so much once again!! I ran it though and I got an error saying a folder in my downloads called "Increase" could not be found, any idea?
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Computer type
Laptop
Manufacturer/Model
Asus G14 GA403UV

Latest Support Threads

Back
Top Bottom