# Packging for Windows fails due to missing AutomationScripts.dll

**URL:** <https://forums.unrealengine.com/t/packging-for-windows-fails-due-to-missing-automationscripts-dll/775545>\
**Category:** Blueprint\
**Tags:** unreal-engine, packaging-projects, Blueprint, question\
**Created:** [February 21, 2023, 1:51pm UTC](https://forums.unrealengine.com/t/packging-for-windows-fails-due-to-missing-automationscripts-dll/775545 "2023-02-21T13:51:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AquaRex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AquaRex](https://forums.unrealengine.com/u/AquaRex)\
**Post date:** [February 21, 2023, 1:51pm UTC](https://forums.unrealengine.com/t/packging-for-windows-fails-due-to-missing-automationscripts-dll/775545/1 "2023-02-21T13:51:46Z")

</div>

So packaging for Windows fails immediately with the following error in the output log:

**This is on a fresh install of Unreal Engine 4.27.2 on a fresh install of Windows 11. I have installed Visual Studio and the Windows SDK…**

```auto
UATHelper: Packaging (Windows (64-bit)): ERROR: Failed to load script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts\AutomationScripts.Automation.dll: Could not load file or assembly 'AutomationScripts.Automation.dll' or one of its dependencies. Systemet finner ikke angitt fil.
UATHelper: Packaging (Windows (64-bit)): (see C:\Users\Bruker\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.27\Log.txt for full exception trace)
PackagingResults: Error: Failed to load script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts\AutomationScripts.Automation.dll: Could not load file or assembly 'AutomationScripts.Automation.dll' or one of its dependencies. Systemet finner ikke angitt fil.
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Error

```

“Could not load file or assembly ‘AutomationScripts.Automation.dll’ or one of its dependencies.”

When looking for the file inside:  
"C:\Program Files\Epic Games\UE\_4.27\Engine\Binaries\DotNET\AutomationScripts"  
I find these two files, but they end with “.old”, removing “.old” just makes the engine rename them “.old” whenever restarted…  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/b/f/3bfa2b62f8f1653b836e8fc52b7f2c65c214155b.png)

I’ve even tried transfering the same file from another computer where packaging works ( and where it isn’t named “.old” ) but it doesn’t help, this unreal install renames it “.old” anyway…

Any help here is appreciated. I can’t Package at all on this computer…

---

<div class="post-metadata">

**Author:** ![goldenphoenix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@goldenphoenix](https://forums.unrealengine.com/u/goldenphoenix)\
**Post date:** [April 22, 2025, 7:11am UTC](https://forums.unrealengine.com/t/packging-for-windows-fails-due-to-missing-automationscripts-dll/775545/2 "2025-04-22T07:11:31Z")

</div>

> [@AquaRex](#):
>
> `AutomationScripts.Automation.dll`

did you happen to find a solution for this?

---

<div class="post-metadata">

**Author:** ![Chaii-T](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chaii-T](https://forums.unrealengine.com/u/Chaii-T)\
**Post date:** [August 8, 2025, 12:54pm UTC](https://forums.unrealengine.com/t/packging-for-windows-fails-due-to-missing-automationscripts-dll/775545/3 "2025-08-08T12:54:47Z")

</div>

I also need a solution to this 😭
