# Icon defaulting to UE4 icon

**URL:** <https://forums.unrealengine.com/t/icon-defaulting-to-ue4-icon/438573>\
**Category:** Platform & Builds\
**Tags:** icon, build, unreal-engine, Packaging, packaging-projects, UE4, question\
**Created:** [November 29, 2018, 7:43pm UTC](https://forums.unrealengine.com/t/icon-defaulting-to-ue4-icon/438573 "2018-11-29T19:43:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nantuk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nantuk](https://forums.unrealengine.com/u/Nantuk)\
**Post date:** [November 29, 2018, 7:43pm UTC](https://forums.unrealengine.com/t/icon-defaulting-to-ue4-icon/438573/1 "2018-11-29T19:43:18Z")

</div>

In UE4, I set the “Game Icon” to my custom icon in Project Settings, and if I build from UE4 my application correctly receives this icon. However, when I build using windows command line tools (UnrealBuildTool.exe, RunUAT.bat BuildCookRun), it defaulst to the UE4 icon. The icon “WindowsNoEditor/[project\_name].exe” is correctly my custom icon, but “WindowsNoEditor/[project\_name]/Binaries/Win64/[project\_name]-Win64-Shipping.exe” is the UE4 icon, which is what is used for the task bar and the window icon. There are a lot of answer hub topics on this, but none that address this issue in particular. Does anyone know a fix? Is anyone successfully setting an icon when using command line build tools?

_ **edit** _ I posted a solution down below, but its not marked as the answer because its a hack. But if you have a need to fix this issue, and don’t want to go looking in UE4 code for the problem, its a quick fix.

 ![260923-untitled.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/5/0/75076f197b409de3812c65846039f68b7f50e8c7.png)

---

<div class="post-metadata">

**Author:** ![Alessa](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alessa/32/770370_2.png) [@Alessa](https://forums.unrealengine.com/u/Alessa)\
**Post date:** [November 29, 2018, 10:49pm UTC](https://forums.unrealengine.com/t/icon-defaulting-to-ue4-icon/438573/2 "2018-11-29T22:49:51Z")

</div>

Hey Nantuk, have you tried the fix at the bottom of this answer hub post? It appears the Icon needs to be a .ico file and a Power of 2 resolution.

> **[How do I change the icon and name of my packaged game?](https://forums.unrealengine.com/questions/18221/packed-game.html)**
>
> How do I change the icon of my packaged game? And how do I change the window title and process name of my packaged game? Thank you, Joey

---

<div class="post-metadata">

**Author:** ![Nantuk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nantuk](https://forums.unrealengine.com/u/Nantuk)\
**Post date:** [November 29, 2018, 11:14pm UTC](https://forums.unrealengine.com/t/icon-defaulting-to-ue4-icon/438573/3 "2018-11-29T23:14:28Z")

</div>

I have tried that method. To reiterate, the issue appears to be that somewhere in the command line build tools (vs the in-editor build tools), it misses the “Binaries/Win64/[project\_name]-Win64-Shipping.exe” and doesn’t assign it my custom icon, though it assigns it fine for “[project\_name].exe”.

---

<div class="post-metadata">

**Author:** ![Nantuk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nantuk](https://forums.unrealengine.com/u/Nantuk)\
**Post date:** [December 5, 2018, 7:03pm UTC](https://forums.unrealengine.com/t/icon-defaulting-to-ue4-icon/438573/4 "2018-12-05T19:03:19Z")

</div>

I ended up solving this by using [Resource Hacker](http://www.angusj.com/resourcehacker/#download), a tool that can change icons of executables. It can be invoked via command line, which I do in my build automation process. I won’t mark this as answer because its more of a hack.

Here is the command line call I make:

```
ResourceHacker.exe -script "pathToMyScript\rh_update_icon.txt"

```

Here is the script I use to get the job done:

```
//This script replaces all resources
  [FILENAMES]
  Exe= "pathToProblemExe\problemExe.exe"
  SaveAs= "pathToProblemExe\problemExe.exe"
  Log= "pathToMyLogFolder\rh_update_log.txt"
  [COMMANDS]
  -addoverwrite "PathToProject\Build\Windows\Application.ico" ICONGROUP,123,1033 //adding all the new resources

```

---

<div class="post-metadata">

**Author:** ![Cod3rChick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cod3rchick/32/596803_2.png) [@Cod3rChick](https://forums.unrealengine.com/u/Cod3rChick)\
**Post date:** [January 21, 2023, 2:25am UTC](https://forums.unrealengine.com/t/icon-defaulting-to-ue4-icon/438573/5 "2023-01-21T02:25:36Z")

</div>

> [@Nantuk](#):
>
> `ResourceHacker.exe -script "pathToMyScript\rh_update_icon.txt"`

This works for me… PARTIALLY. The taskbar icon looks right, but the exe is a generic icon.

This has to be the single most frustrating part of development with UE. I cannot believe that this problem still exists after 8 years!!! WHAT THE HELL UNREAL???

---

<div class="post-metadata">

**Author:** ![Bssnake](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bssnake/32/913032_2.png) [@Bssnake](https://forums.unrealengine.com/u/Bssnake)\
**Post date:** [February 10, 2023, 8:30am UTC](https://forums.unrealengine.com/t/icon-defaulting-to-ue4-icon/438573/6 "2023-02-10T08:30:56Z")

</div>

Me to 😂

---

<div class="post-metadata">

**Author:** ![ervin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ervin/32/948709_2.png) [@ervin](https://forums.unrealengine.com/u/ervin)\
**Post date:** [August 22, 2025, 2:33pm UTC](https://forums.unrealengine.com/t/icon-defaulting-to-ue4-icon/438573/7 "2025-08-22T14:33:45Z")

</div>

as of Unreal Engine 5.6, building with BuildCookRun (in my experience) still doesn’t properly set the icon. it _does_ for the main .exe, but not for UnrealGame-Win64-Shipping.exe, which causes the unreal engine icon to appear in the taskbar and titlebar icons for your game.

right now, the only solution is _still_ using resource hacker to manually change the icon of UnrealGame-Win64-Shipping.exe inside Engine/Binaries/Win64 (or whatever platform you’re building to).

i _am_ using CreateUatTask for this, so that very well may be the root cause.
