Install the MAJIC Agent
The MAJIC Agent turns a Windows host into a managed MAJIC node — it installs the agent service, registers the host with the MAJIC API, and stands up a secure Cloudflare tunnel (no open inbound ports).
1 PowerShell installer · works today
The PowerShell installer is the path that actually works right now. Open an elevated PowerShell (Run as Administrator) and run this one-line bootstrap — it downloads the latest script and launches it through a bypassed PowerShell process so Windows' script block doesn't stop you:
# Run in an elevated PowerShell window — fetch + run with execution-policy bypass
powershell -NoProfile -ExecutionPolicy Bypass -Command "iwr https://agent.majicholdings.com/Install-MajicAgent.ps1 -OutFile $env:TEMP\Install-MajicAgent.ps1; & $env:TEMP\Install-MajicAgent.ps1"
Already downloaded the .ps1? Run it directly from an elevated PowerShell with the same bypass:
# From the folder containing the script:
powershell -NoProfile -ExecutionPolicy Bypass -File .\Install-MajicAgent.ps1
The -ExecutionPolicy Bypass flag avoids the "running scripts is disabled on this system" error without changing your machine policy. This is the offline/staged admin-agent installer (majicagent-admin v5); it must run elevated. If you have a staged package, append -PackageRoot "C:\Majic\MajicAgent\installer-cache\majicagent-admin". The script makes network calls only to the MAJIC API, Cloudflare, and a local Ollama check.
2 Installer bundle · latest
Prefer a single download? Grab the bundle zip — it contains the agent installer and a README. Unzip, then run it from an elevated PowerShell with an execution-policy bypass:
# In the unzipped folder, elevated PowerShell:
powershell -NoProfile -ExecutionPolicy Bypass -File .\Install-MajicAgent.ps1
Stable path: agent.majicholdings.com/MajicAgent-Setup.zip — always the newest bundle.
What the agent does
- Installs the base MAJIC agent service + tray scheduled task
- Detects host roles (IIS / SQL / LLM / AD / DNS) and installs role modules
- Registers the host with the MAJIC API at
api.majicholdings.com - Provisions a secure Cloudflare tunnel + DNS — no open inbound ports
- Verifies the service, scheduled task, and first heartbeat
© Majic Holdings LLC · agent.majicholdings.com