Customizing a program's taskbar icon (for all instances)


  1. Posts : 96
    Microsoft Windows 10 Pro for Workstations 64-bit 19044 Multiprocessor Free
       #1

    Customizing a program's taskbar icon (for all instances)


    I want to customize the icon of a certain program (in this case Firefox). There are many instructions on how to supposedly achieve this by e.g. simply going to any shortcut (in Explorer or Desktop), Properties, Change Icon. Then pinning this shortcut to taskbar puts the customized icon there. But as soon as you click that icon, it loads a new instance and the new instance has the "real" icon. And the customized icon just sits there taking up space. I have no idea why Microsoft has intended it like that, it makes no sense to me.

    Is there some way to change the icon so that all instances of the program show the customized icon?

    I tried Resource Hacker. I remember I've been successful with that many years ago with some program. However, for Firefox, there is some problem. It seems that all programs have a different set of icons. Like 16, 256, 16.8M color icons, different sizes etc. For Firefox, I'm not sure if I'm creating exactly the right kind of .ico group icon. Whatever the reason is, if I replace the icons with Resource Hacker, Firefox won't launch anymore (nothing happens).
      My Computer


  2. Posts : 14,018
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #2

    An issue exists in trying to change the icons, they may be encoded in the *.exe/Executable file for the program or within a *.dll file for the program, have to locate where, create the replacement then recompile the file. Another issue may arise with the EULA/End User License Agreement that prevents the changes. I've found such changes harder to do since the DOS/Disk Operating System and the GUI/Graphical User Interface began merging into one thing back with Windows 95 [1995], much easier for me with Windows 3.11 and earlier that had the separate DOS.
      My Computers


  3. Posts : 42,983
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #3

    But as soon as you click that icon, it loads a new instance and the new instance has the "real" icon.
    - just tried that with Waterfox (FF derivative); customised the icon, pinned it to the taskbar, launched several instances of Waterfox. Icon remained, jump lists ok.. nothing unusual.

    (But I am using 1709..)
      My Computers


  4. xTL
    Posts : 396
    Windows 10 Pro 64-Bit
       #4

    Hey Jim :)
    Go here,
    C:\Users\UserProfile\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
    ( replace " UserProfile " with ur own )

    Drag in the edited firefox shortcut and drop it here.
    Then dubble click firefox shortcut and you now have it in the taskbar, then rightclick it and just pin it :)
    Done!

    Made a simple Video
    ( Sorry about the quality, streamable lowered it T_T )

    i used vlc as an example in my vid but this works with any program that you have installed on ur system.
    ( not apps tho )
    Last edited by xTL; 02 Oct 2018 at 12:24.
      My Computer


  5. Posts : 96
    Microsoft Windows 10 Pro for Workstations 64-bit 19044 Multiprocessor Free
    Thread Starter
       #5

    xTL, that was an awesome video. However, your Windows seems to work differently than mine. I'm running Windows 10 Pro 1803 (build 17134.286). When I follow that exactly, using VLC as an example, once I'm at the point where you double click the icon while it's in the TaskBar folder. Nope, my taskbar icon is NOT the one I changed it to with the Change Icon (as in your example). It shows the original VLC icon in taskbar (while in the TaskBar folder the shortcut's icon is the custom one). So, unfortunately that didn't work out for me.

    However, meanwhile I was able to find out why Resource Hacker didn't work for me. I was doing it with Portable Firefox by PortableApps, this one: Mozilla Firefox, Portable (browser) | PortableApps.com and I didn't realize that its initial .exe is actually loading App/Firefox64/firefox.exe. Once I found out that, I could simply open that firefox.exe in Resource Hacker and then in its Icon Group I could ctrl+r replace 1 and 32512 with an (group) .ico file that I created in Online ICO converter (where I just uploaded a 256x256 32-bit PNG). And options on that site: [x] 16, [x] 32, [x] 48, [x] 256 pixels and (x) 32 bits. Then, after saving the file in Resource Hacker, it's done. Firefox has the new icon in taskbar. (Only in the jump list it shows the old icon for some reason, but that doesn't matter at all.)

    As soon as the firefox.exe updates, I have to do the icon hack again. But this is great, I can now have two different Firefoxes running simultaneously, independent of eachother. The other one also has different coloring on the top of the browser for further distinction. The coloring is done by an extension called Envify. (However the color updates only after either first cltr+n or ctrl+t, but it's still quite neat.)
      My Computer


  6. xTL
    Posts : 396
    Windows 10 Pro 64-Bit
       #6

    This is my OS build. It differs from urs with 1 number..
    That should not impact icon swap of the shortcut.
    Customizing a program's taskbar icon (for all instances)-142ew.png

    But i am sorry to hear it didn't work

    However i am glad you managed to solve it, good work man
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:03.
Find Us




Windows 10 Forums