# The definitive guide on packaging icons for Windows executables

**URL:** <https://forums.unrealengine.com/t/the-definitive-guide-on-packaging-icons-for-windows-executables/1695264>\
**Category:** Platform & Builds\
**Tags:** package, icon, windows, unreal-engine, packaged-game, Packaging, packaging-projects\
**Created:** [February 17, 2024, 4:45pm UTC](https://forums.unrealengine.com/t/the-definitive-guide-on-packaging-icons-for-windows-executables/1695264 "2024-02-17T16:45:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![MisterPixel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/misterpixel/32/629747_2.png) [@MisterPixel](https://forums.unrealengine.com/u/MisterPixel)\
**Post date:** [February 17, 2024, 4:45pm UTC](https://forums.unrealengine.com/t/the-definitive-guide-on-packaging-icons-for-windows-executables/1695264/1 "2024-02-17T16:45:15Z")

</div>

Here’s the ultimate guide you’ve all been waiting for 😛

See if you can relate: So, I’ve recently spent about 2 days (yes, 2 days…) trying to figure out what was wrong with my packaging process, as whenever I was exporting my game for Windows, the resulting icon for my **.exe** was either _fully_ or _partially_ not displaying as I expected it to (and by _partially_ I mean good for some sizes, but broken or using the default UE icon for other sizes). Therefore, after spending literally hours on all possible forum threads with no result whatsoever, I’ve finally managed to figure out what was going wrong, so I’m here to save you all from a lot of headaches and unneeded hassle. Please, read on:

1. As you probably know, the **.ico** which Unreal Engine uses is a compound / combined file which has multiple versions of your icon at various sizes. It’s kind of like the Mip-map of a texture or the LoD of a mesh, but with one very _specific_ mention: it uses a strict table of sizes, from which you must NOT deviate (at all):

> 16 x 16  
> 24 x 24  
> 32 x 32  
> 40 x 40  
> 48 x 48  
> 64 x 64  
> 256 x 256

1. Now that you know what you _need_ to have, the question then becomes _how_? and for that, let me again spare you from the endless pursuit of “which software is the best”, and save you many hours of trial-and-error by going directly to [the solution](https://redketchup.io/icon-converter). So head over to the website and do the following:

- Upload your icon (preferably in a lossless format like **.png** or **.bmp** and not lossy like **.jpg** ) using a _perfectly square_ aspect ratio! Size-wise it’s best to use a power-of-two, but it’s not mandatory. What IS mandatory, however, is for your upload to be a minimum of `256x256`. I’m not going to tell you how to do that, as I assume you are capable of generating your own image with no issues.
- Make sure once more that the _Aspect Ratio_ under the _Crop Image_ settings is set to **Square**!
- Under _Configure Icon_ make sure you **only** check all the boxes of the above set of dimensions! Here you will notice 2 things:
- 
  - First, you must add the missing `40x40` size!

- 
  - Second, you must un-select the `96x96`, `128x128` and `512x512` sizes!

- Please, DO NOT (I repeat: **do not** ) feel tempted to think “the more = the better” and leave extra fields selected, so really make sure you ONLY have the sizes given in the list above!
- Click “Download”, preview your resulting **.ico** one more time for all the selected sizes, then proceed with actually saving your file to the disk.

1. Now the part you’ve been waiting for: open your project in the Unreal Editor and under _Project Settings_, go all the way to _Platforms_ and then _Windows_. Here, select your newly downloaded **.ico** file as the icon to be used. After the image changes successfully in the nearby thumbnail, hover your mouse over it once more and confirm that UE actually created a file called `Application.ico` which is stored under your “…/Build/Windows/Application.ico” directory. Also, manually navigate to that folder and check that the created **.ico** is indeed the one you wish to use!

2. At this step, proceed with Building + Cooking + Packaging your project so that UE can now use your newly assigned icon. Again, I won’t tell you how to do that, as it’s outside the scope of this tutorial.

3. Here comes the final, yet _ **trickiest** _ part (you have no idea how important this is!): Clearing your icon & thumbnail cache by pressing Win + R, then navigating to `%localappdata%\Microsoft\Windows\Explorer` and deleting all the files that begin with “iconcache\_”, as well as those that begin with “thumbcache\_”.

4. RESTART YOUR COMPUTER! Please, don’t make the mistake of not doing this final step, as you’ll spend hours, if not days, trying to understand why the icon and thumbnail cache is not properly rebuilt despite deleting them, as your icon will still be the old one!

So… there you go! 🙂 Hope it helps you out! If not, just let me know if anything goes wrong and I’ll be happy to respond 😉

---

<div class="post-metadata">

**Author:** ![icierva](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@icierva](https://forums.unrealengine.com/u/icierva)\
**Post date:** [March 10, 2024, 4:26pm UTC](https://forums.unrealengine.com/t/the-definitive-guide-on-packaging-icons-for-windows-executables/1695264/2 "2024-03-10T16:26:19Z")

</div>

> [@MisterPixel](#):
>
> Here comes the final, yet _ **trickiest** _ part (you have no idea how important this is!): Clearing your icon & thumbnail cache by pressing Win + R, then navigating to `%localappdata%\Microsoft\Windows\Explorer` and deleting all the files that begin with “iconcache\_”, as well as those that begin with “thumbcache\_”.

Trying to delete those files I get a windows error saying Explorer has the files opened.

I’ll try creating another windows user.

---

<div class="post-metadata">

**Author:** ![Arii](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arii/32/898284_2.png) [@Arii](https://forums.unrealengine.com/u/Arii)\
**Post date:** [April 4, 2024, 7:21pm UTC](https://forums.unrealengine.com/t/the-definitive-guide-on-packaging-icons-for-windows-executables/1695264/4 "2024-04-04T19:21:41Z")

</div>

use lockhunter program to delete.

---

<div class="post-metadata">

**Author:** ![Seedro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Seedro](https://forums.unrealengine.com/u/Seedro)\
**Post date:** [July 30, 2024, 11:05pm UTC](https://forums.unrealengine.com/t/the-definitive-guide-on-packaging-icons-for-windows-executables/1695264/5 "2024-07-30T23:05:23Z")

</div>

none of this works it only changes EXE format, you can still get the default icon to work by simply deleting your \*\Build\Windows\Application.ico file.

The default “U” unreal icon will work flawlessly in all categories.

The REAL problem is the unreal devs being lazy _icky words_ (like always).

They have NEVER in any documentation told us HOW to format our icons. Lazy elitist gatekeeping.

If anyone has the ABSOLUTE CORRECT WORKING DIMENSIONS FOR NOT ONLY THE STUPID WINDOWS ICON BUT ALSO THE _TASKBAR_ AND _TITLE BAR_ ICONS could you please post them.

---

<div class="post-metadata">

**Author:** ![MisterPixel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/misterpixel/32/629747_2.png) [@MisterPixel](https://forums.unrealengine.com/u/MisterPixel)\
**Post date:** [October 22, 2024, 10:17pm UTC](https://forums.unrealengine.com/t/the-definitive-guide-on-packaging-icons-for-windows-executables/1695264/6 "2024-10-22T22:17:13Z")

</div>

@icierva A normal restart should do, if not, then try using a program like _Unlocker v1.9.2_ and see if it helps!

@Seedro From all of my tests, I can tell you that the solution I have posted above will correctly display your custom icon, not just for the Windows file explorer, but also for the taskbar and titlebar.

---

<div class="post-metadata">

**Author:** ![MisterPixel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/misterpixel/32/629747_2.png) [@MisterPixel](https://forums.unrealengine.com/u/MisterPixel)\
**Post date:** [October 22, 2024, 10:21pm UTC](https://forums.unrealengine.com/t/the-definitive-guide-on-packaging-icons-for-windows-executables/1695264/7 "2024-10-22T22:21:56Z")

</div>

In case anyone uses Unreal for builds outside of the Windows platform, I’d be happy to know if they had any problems with my method, or if everything works well!

---

<div class="post-metadata">

**Author:** ![Stravenn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stravenn/32/696114_2.png) [@Stravenn](https://forums.unrealengine.com/u/Stravenn)\
**Post date:** [August 7, 2025, 8:14am UTC](https://forums.unrealengine.com/t/the-definitive-guide-on-packaging-icons-for-windows-executables/1695264/8 "2025-08-07T08:14:04Z")

</div>

It sounds a bit ridiculous, why would a user or developer have to clean it’s iconcache ? Have you ever saw a game that tells players

- Hey guys if you don’t want to see unreal icon you need to clean your iconcache.

---

<div class="post-metadata">

**Author:** ![Stravenn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stravenn/32/696114_2.png) [@Stravenn](https://forums.unrealengine.com/u/Stravenn)\
**Post date:** [August 7, 2025, 8:45am UTC](https://forums.unrealengine.com/t/the-definitive-guide-on-packaging-icons-for-windows-executables/1695264/9 "2025-08-07T08:45:56Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/b/0/cb0007b6341cb592ba8960203dc15864cee218d5.png)  
The conclusion is epic games does not care if you can or can’t change your game icon, the only working options is changing your game icon is using **Resource Hacker** and attach it to your build process otherwise you will be stuck with default UE icon. Rematch for example is a new game created with unreal and they still have the default UE icon, they have probably faced the same issue here I don’t know.

---

<div class="post-metadata">

**Author:** ![Stravenn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stravenn/32/696114_2.png) [@Stravenn](https://forums.unrealengine.com/u/Stravenn)\
**Post date:** [August 7, 2025, 1:20pm UTC](https://forums.unrealengine.com/t/the-definitive-guide-on-packaging-icons-for-windows-executables/1695264/10 "2025-08-07T13:20:27Z")

</div>

I found the issue but I’m not going to give all the information. I’m only going to say this. If you are using source control and not developing everything in your local and not using automated build systems like Jenkins. After setting the icon in your platform settings you will notice there’s an update in your Build folder in your project folder. If you are using source control that folder is probably in the ignore list and not going to the server and not will be listed under checked out assets in the commit screen. Since you are building from server(if you are a studio you are probably doing this) the server does not have the new icon. So you will be stuck with Unreal Icon. No need for ResourceHacker, no need for 16x16, 64x64 etc… ico files no nothing. Just one 256x256 ico file will suffice. And make sure your Application.ico is in the build machine.
