Windows 11 will always hide new icons in the system tray. This is a problem for some self-updating packages like Discord and Google Drive.
I used a registry diff tool and found out this registry value:
HKEY_CURRENT_USER\Control Panel\NotifyIconSettings\<uint64>\IsPromoted
The value is absent until set in Control Panel. We can automate this!
- Install the latest Python from the Microsoft Store. As of writing, it's 3.12 (link).
- Get
full-tray.pyw
and put it anywhere it makes sense for you. Remember where it is. - Double-click
full-tray.pyw
.- You may be asked to choose Python to open it with.
- Choose the one you installed and click
Always
.
- The script runs silently. Any hidden icons should now be visible and nothing else will happen.
This change is not permanent yet.
The script needs to run repeatedly to catch those pesky self-updating packages.
- Press the Windows key and type
Scheduler
. SelectTask Scheduler
. - Click
Create Task...
on the right. - In
General
, name itFull Tray
or whatever you want. Leave the rest as default. - Go to the
Triggers
tab, clickNew...
.- Set it to what makes sense to you. I chose
At log on
andRepeat task every: 1 hour
.
- Set it to what makes sense to you. I chose
- Go to the
Actions
tab, clickNew...
.- Set the program/script to wherever you put
full-tray.pyw
.
- Set the program/script to wherever you put
- Click
OK
and you're done! You can see your task atTask Scheduler Library
.