When launching DayZ through the Microsoft Store / Xbox App on Windows 11, BattlEye fails to install and start its service.
The following errors appear:
Failed to install BattlEye Service (4, 500000d8)
and:
Failed to start BattlEye Service (216)
The BattlEye service is created, but Windows cannot start it.
After completely deleting the BEService service and the folder:
C:\Program Files (x86)\Common Files\BattlEye
and then restarting Windows and launching DayZ again, the game recreates the BattlEye files, but the same issue occurs.
The recreated BEService.exe starts with the following bytes:
D0-0D-26-DB-2D-5B-A2-79-00-98-CF-38-31-A5-26-64
instead of the normal Windows PE "MZ" header.
Windows Service Control Manager then fails to start BEService with Win32 error 216.