Well at least you can make it remember your Taskbar Toolbars settings (see my batch code below), but the on/off setting of each System Icon (former 'Notification area Icon') is stored in a more complex way, i.e., in the IconStreams value that's under HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotifyYou could create a shortcut and put "%windir%\explorer.exe shell:::{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}\SystemIcons" into the destination path. But this does not help a lot.
With a bit of luck this PoSH might still work on Win11:
Windows 7 Notification Area Automation – Falling Back Down the Binary Registry Rabbit Hole
Once more unto the breach dear friends. After countless hours of searching for a programmatic way to modify the notification settings of the task tray icons, I came to the conclusion that there are…
tmintner.wordpress.com
Code:
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer /f /v EnableAutoTray /t REG_DWORD /d 0
Code:
reg export HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop "%~dp0\My_Taskbar-Toolbars_Backup.reg" /Y
ren C:\Windows\dxgi.dll dxgio.dll
copy "%~dp0\dxgi.dll" C:\Windows
taskkill /f /im explorer.exe
start explorer.exe
del C:\Windows\dxgio.dll
reg import "%~dp0\My_Taskbar-Toolbars_Backup.reg"
taskkill /f /im explorer.exe
start explorer.exe
del "%~dp0\My_Taskbar-Toolbars_Backup.reg"
pause
explorer.exe shell:::{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}\SystemIcons
My Computers
System One System Two
-
- OS
- 11 Home
- Computer type
- Laptop
- Manufacturer/Model
- Asus TUF Gaming F16 (2024)
- CPU
- i7 13650HX
- Memory
- 16GB DDR5
- Graphics Card(s)
- GeForce RTX 4060 Mobile
- Sound Card
- Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
- Monitor(s) Displays
- Sony Bravia XR-55X90J
- Screen Resolution
- 3840×2160
- Hard Drives
- 512GB SSD internal
37TB external
- PSU
- Li-ion
- Cooling
- 2× Arc Flow Fans, 4× exhaust vents, 5× heatpipes
- Keyboard
- Logitech K800
- Mouse
- Logitech G402
- Internet Speed
- 20Mbit/s up, 250Mbit/s down
- Browser
- FF
-
- Operating System
- 11 Home
- Computer type
- Laptop
- Manufacturer/Model
- Medion S15450
- CPU
- i5 1135G7
- Memory
- 16GB DDR4
- Graphics card(s)
- Intel Iris Xe
- Sound Card
- Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
- Monitor(s) Displays
- Sony Bravia XR-55X90J
- Screen Resolution
- 3840×2160
- Hard Drives
- 2TB SSD internal
37TB external
- PSU
- Li-ion
- Mouse
- Logitech G402
- Keyboard
- Logitech K800
- Internet Speed
- 20Mbit/s up, 250Mbit/s down
- Browser
- FF