PowerShell Fix for Windows 7 Disappearing Icons

title graphic for post

Ever looked down to the clock in Windows and noticed some of your icons have disappeared?

image of missing taskbar icon in windows 7

PowerShell can save the day………….well if your day revolves around your task bar that is! To reinitialise the task bar icons, simply copy and paste the following lines one at a time into a PowerShell window:

  1. Remove-ItemProperty -Name ‘IconStreams’ -Path ‘HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify’
  2. Remove-ItemProperty -Name 'PastIconsStream' -Path 'HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify'
  3. Stop-Process -processname explorer.exe
  4. start-process -processname explorer.exe

Or you could copy and paste the lines into PowerShell ISE and click the run button.