Search code examples
c#listexplorersystem-tray

Get system tray icons without explorer running


I have been looking for a way to get a list of applications in the system tray without explorer.exe running but all i have found is how to get it when explorer is running. Is there a way to get a list of system tray "applications" when explorer is closed/not running?


Solution

  • The "system tray" is part of explorer.exe. If that's not running, you've pretty much got no desktop.

    As far as identifying what goes in the system tray...to get in the system tray, the application must register with the windows shell (aka explorer.exe). Until those apps start, you've got no practical way of identifying which apps those might be. And if the shell isn't running, those apps aren't going to be running either.