Why am I not seeing the Icon Overlays in Shell Extensions TFS Power tools ?

This issue have been reported multiple times and I just wanted to get why it is happening out there:

  • Windows allows a maximum of 15 icon overlays in the system even Windows 7 (https://blogs.msdn.com/b/oldnewthing/archive/2009/12/09/9934348.aspx for more information on that and why)
  • So basically the shell respects the first 15 icon overlays in the system (sorted in alphabetical order)
  • To find the icon overlays in the system you can go to “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer \ShellIconOverlayIdentifiers” on your machine and figure out how many overlays are installed
  • If you have dropbox, groove or tortoise SVN installed the number of overlays intalled in the system will exceed 15. But windows will only respect the fist 15 in alphabetical order. We name our overlays “TfsOverlayAdd”, “TfsOverlayEdit” etc. and Tortoise SVN name their overlays “1TortoiseNormal”, “2TortoiseModified” etc. So alphabetically they come as top as possible in the list. And we usually end up being bumped down the list and thus a subset or all of overlays might not work if Tortoise SVN or drop box are installed.

To fix the problem using a hacky solution you can (Note: This is really a hacky solution and the product was not designed for this):

  1. Open the registry
  2. Go to : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer \ShellIconOverlayIdentifiers
  3. Rename our icon overlays to “1TfsOverlayAdd” , “2TfsOverlayEdit” etc. to bump us up the list
  4. Restart the machine or kill explorer.exe and restart it