How to re-enable green Offline Files icon in Windows 7

Try in a Command Prompt that is Run as Administrator to enter this command:

regsvr32.exe cscui.dll

If this does not work, please clarify the following points :

  1. Are these offline folders, or do they only contain offline files?
    In other words, are they the root offline folders.
  2. Are there any other icons displayed on these folders?
  3. Do you have TortoiseSVN installed?

What worked for me on Win 10 64:

  1. regsvr32.exe cscui.dll in admin cmd.exe like proposed in the top post
  2. start regedit with admin rights
  3. Go to: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers
  4. here you see all registered programs providing overlay icons for explorer
  5. Problem: according to here: http://www.thewindowsclub.com/the-overlay-icons-in-windows-7 only 15 overlays are processed. Which 15 these are is determined by the order of the reg keys
  6. the order is the key! I suppose that is the reason why e.g. google drive (in my case) add two leading spaces in the name of the key " GoogleDriveSynced" to be at the top of the list and to guarantee to be processed.
  7. I changed the name of "Offline Files" to " Offline Files" (3 spaces) to get it on top of the list.
  8. restart windows
  9. Sync icons occurs again