To clean up unused icons from the system tray in Windows, you can utilize the following methods depending on your specific needs:
1. Hide Unused Icons
- Steps:
- Right-click on the taskbar and select Taskbar settings (or Properties on older versions).
- Scroll down to the Notification area and click Select which icons appear on the taskbar.
- Toggle off icons for programs you don't want to display in the system tray.
This doesn't remove the programs but hides their icons, helping reduce clutter.
2. Customize System Settings
For older versions of Windows (such as Windows 7):
- Go to Control Panel > Notification Area Icons.
- Configure the behavior for each icon by setting it to Hide when inactive.
3. Edit the Registry to Clear Notification Area History
If hidden or unused program icons persist, even after uninstalling the programs, you can clear the past icons from the system tray by editing the registry:
- Warning: Make a backup of your registry before proceeding.
- Steps:
- Press
Win + R
, type regedit
, and press Enter.
- Navigate to the key:
HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify
.
- Delete the values for IconStreams and PastIconsStream.
- Restart Explorer.exe:
- Open Task Manager (
Ctrl + Shift + Esc
).
- Under the Processes tab, locate Explorer.exe, right-click it, and select End Task.
- From Task Manager, click File > Run New Task, type
explorer
, and press Enter.
This clears the tray icons cache and eliminates "ghost" icons.
4. Rebuild Icon Cache
If icon glitches occur (e.g., incorrect or persistent icons), rebuilding the icon cache might help:
- Open the Command Prompt as an administrator.
- Run these commands one at a time:
Code:
taskkill /IM explorer.exe /F
del /A %userprofile%\AppData\Local\IconCache.db
start explorer.exe
- Restart your PC.
5. Use Third-Party Cleanup Tools
Tools like
CCleaner can help identify and remove unused startup or inactive programs, potentially cleaning up icons connected to those applications.
If you need a specific method for a particular version of Windows, let me know!