# Why does windows signtool report packaged .exe as invalid?

**URL:** <https://forums.unrealengine.com/t/why-does-windows-signtool-report-packaged-exe-as-invalid/367924>\
**Category:** Platform & Builds\
**Tags:** windows, unreal-engine, Packaging, UE4, question\
**Created:** [August 22, 2016, 4:37pm UTC](https://forums.unrealengine.com/t/why-does-windows-signtool-report-packaged-exe-as-invalid/367924 "2016-08-22T16:37:55Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![DethNinja](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DethNinja](https://forums.unrealengine.com/u/DethNinja)\
**Post date:** [August 20, 2022, 6:05pm UTC](https://forums.unrealengine.com/t/why-does-windows-signtool-report-packaged-exe-as-invalid/367924/10 "2022-08-20T18:05:00Z")

</div>

This is a bug in Unreal Engine due to Epic’s internal deployment process for pre-build UE versions.

Epic signs the Engine\Binaries\Win64\BootstrapPackagedGame-Win64-Shipping.exe  
And when you download the pre-build Engine from the launcher this executable comes with Epic’s signature.

However, .rc file of this executable gets altered via “StageBootstrapExecutable” method of “Engine/Source/Programs/AutomationTool/Win/WinPlatform.Automation.cs”

Thus, signtool rightfully complains that signature of the executable is invalid.

Here is the potential solutions:  
a. Remove the Epic’s signature via signtool:

- signtool remove /s “C:\Program Files\Epic Games\UE\_5.0\Engine\Binaries\Win64\BootstrapPackagedGame-Win64-Shipping.exe”
- Rebuild the project
- Sign the final executable

b. Build the engine from source:

- “BootstrapPackagedGame-Win64-Shipping.exe” will be unsigned in this case.

c. Fix from Epic:

- Epic shouldn’t sign “BootstrapPackagedGame-Win64-Shipping.exe” during their deployment process.

---

_[View the full topic](https://forums.unrealengine.com/t/why-does-windows-signtool-report-packaged-exe-as-invalid/367924)._
