# Packaging a Windows game that requires administrator rights

**URL:** <https://forums.unrealengine.com/t/packaging-a-windows-game-that-requires-administrator-rights/250205>\
**Category:** Blueprint\
**Tags:** General, unreal-engine, UE5-0\
**Created:** [September 11, 2021, 7:02pm UTC](https://forums.unrealengine.com/t/packaging-a-windows-game-that-requires-administrator-rights/250205 "2021-09-11T19:02:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_bc5f977f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bc5f977f](https://forums.unrealengine.com/u/anonymous_user_bc5f977f)\
**Post date:** [September 11, 2021, 7:02pm UTC](https://forums.unrealengine.com/t/packaging-a-windows-game-that-requires-administrator-rights/250205/1 "2021-09-11T19:02:44Z")

</div>

Hello guys!

I am basically trying to revive [this post](https://forums.unrealengine.com/t/how-to-compile-a-ue4-game-that-auto-acquiring-administrator-in-windows/132516) but for UE5. Just like the OP, my game seems to require Admin access or at least something that prompts the Windows Firewall to ask for access. [More info on my issue here](https://github.com/getnamo/nodejs-ue4/issues/34).

Is there a line of code, a blueprint node, or a checkbox to make UE5 package a game that has this box ticked automatically (to allow fellow developers to not have to manually do it every time)?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/9/7/97e7c3cd27c97a1a669fa7c34ec5a38d2cf87edf.png)

Thanks for your help guys!

---

<div class="post-metadata">

**Author:** ![hedgie17](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hedgie17](https://forums.unrealengine.com/u/hedgie17)\
**Post date:** [September 14, 2021, 1:11pm UTC](https://forums.unrealengine.com/t/packaging-a-windows-game-that-requires-administrator-rights/250205/2 "2021-09-14T13:11:15Z")

</div>

No matter what you do, you can’t circumvent an administrator request with a windows app for security purpose. However, you are getting prompted by a firewall request and not administrator right? In that case, you can do this.

It’s called either CreateProcessAsUser or CreateProcessWithLogonW

> <https://stackoverflow.com/questions/19617955/c-run-program-as-administrator/19617989#19617989>
