Endpoint Central Agent 'Bad CPU Type' Error on Apple Silicon Macs
Fixing an architecture-mismatch error when installing the Endpoint Central agent on M1/M2/M3 Macs from an older server version, using Rosetta 2.
Problem
Installing the ManageEngine Endpoint Central agent on Apple Silicon (M1/M2/M3) Macs threw a 'Bad CPU type in executable' error in the terminal; the agent wouldn't run at all and the device couldn't register with the console.
Cause
The Endpoint Central server version in use was old enough that it only generated agent packages compiled for x86_64 (Intel) architecture. ARM64-based Apple Silicon chips can't run that binary directly, so the installation failed.
Solution
The permanent fix is upgrading the server to Build 11.2+, which produces native ARM64 agents, but as a short-term fix the Rosetta 2 translation layer was installed: Rosetta 2 was installed via softwareupdate and verified with arch -x86_64. The .zip package was then extracted and UEMS_MacAgent.pkg was run, and dcagenttrayicon was used to trigger communication with the server. Finally, Full Disk Access and Login Items (background) permissions were granted to the agent under macOS Privacy & Security settings to complete the setup. The full step list and updates are shared in <a href="https://github.com/seyfullahbilgic/ManageEngine-Endpoint-Central-macOS-Apple-Silicon-Agent-Installation-Guide" target="_blank" rel="noopener">this guide repository</a>.
# 1) Rosetta 2 kurulumu
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
# 2) Kurulumu dogrula
arch -x86_64 /usr/bin/true
# 3) Ajan paketini kur (indirilen .zip icinden)
# UEMS_MacAgent.pkg dosyasina sag tik > Ac
# 4) Sunucuyla iletisimi tetikle
sudo /Library/ManageEngine/UEMS_Agent/bin/dcagenttrayicon.app/Contents/MacOS/dcagenttrayicon contact
# Gerekli izinler:
# Settings > Privacy & Security > Full Disk Access
# Settings > General > Login Items (arka plan izinleri)
# Kalici cozum: sunucuyu Build 11.2+ surumune yukselt (native ARM64 agent)