LabVIEW Executable Is Showing a Different Icon on Deployment Computer

Updated Aug 7, 2020

Reported In


  • LabVIEW

Operating System

  • Windows

Issue Details

I made a LabVIEW executable with a custom icon. When I try to run it on the development computer or on a deployment computer, the executable icon shows different than the one I made.
The executable icon is shown as a Windows icon; for example a folder icon, Internet Explorer icon, text document icon, etc.


In order to solve it, you can follow these steps:
  1. Close all Windows Explorer windows that are currently open.
  2. Launch Task Manager.
  3. In the Process tab, right-click on the Windows Explorer process and select End Task.
  4. From the File menu of Task Manager, select Run New Task.
  5. Type cmd.exe, and click OK.
  6. In the Command Prompt window, type the commands one by one, pressing Enter between each command:
    1. CD /d %userprofile%\AppData\Local
    2. DEL IconCache.db /a
    3. EXIT
  7. In Task Manager, click File, select Run New Task.
  8. Type explorer.exe, and click OK.

Additional Information

Windows does not process all the icons in real time, it has a small database instead, a cache. In this cache, the icons are stored and associated with their corresponding application.
When this cache fails for some specific reason, it can generate problems and make the icons appear wrong and not correspond to the application icon. Rebuilding the icon cache database on the computer should fix the problem.