DocsInstall Zopanel for Windows

Install Zopanel for Windows

Install Zopanel for Windows with the signed MSI, unattended or by hand, check the server first, run the setup wizard, repair or uninstall.

Zopanel for Windows installs from one MSI file. The same MSI installs a panel server, or an agent on a server that only runs websites. Check the system requirements first.

Download and check the MSI

The current release is 0.9.220:

Invoke-WebRequest https://update.zopanel.net/windows/downloads/zopanel-0.9.220.msi -OutFile C:\zopanel-0.9.220.msi
Get-AuthenticodeSignature C:\zopanel-0.9.220.msi | Format-List Status, SignerCertificate

Run the installer only if Status is Valid and the signer is ESIMONE PTE. LTD. Every .exe inside is signed the same way, and the release manifest is signed with the Zopanel release key; the installer copies only files listed in that signed manifest.

Check the server without installing

Unpack the MSI to a folder (this changes nothing on the server) and run preflight:

msiexec /a C:\zopanel-0.9.220.msi /qn TARGETDIR=C:\zp-check
& 'C:\zp-check\PFiles64\Zopanel\installer\zopanel-setup.exe' preflight
Remove-Item -Recurse -Force C:\zp-check

Each line is ok, warn or BLOCK. With a BLOCK the installer stops before changing anything. Preflight also turns on Windows Time sync if the clock is off; add -no-fix-clock to only look.

Install with the installer screens

Double-click the MSI, or run Start-Process C:\zopanel-0.9.220.msi from PowerShell. Plain msiexec /i in PowerShell returns at once while the installer keeps running, so use the screens or Start-Process -Wait (below).

  1. Welcome: click Next.
  2. License agreement: read it, tick I accept and click Next.
  3. Administrator account: your full name, email, a password of 12 to 128 characters (twice) and your company name. You sign in to the panel with this email and password, and notifications go to this email.
  4. Panel address and SSL: the panel's domain (optional, e.g. panel.example.com with its A record pointing at the server), the port (8443 by default), the panel language, and whether to get free certificates from Let's Encrypt (you accept its Subscriber Agreement by ticking it).
  5. Hosting software: keep Install the recommended software ticked to set up IIS, ASP.NET, URL Rewrite, ARR, PHP 8.4 and 8.3, MariaDB 11.8, MailEnable and Microsoft DNS.
  6. Ready to install: click Install; if Windows asks for permission, allow it. The progress bar runs while the services are set up and your account is created (a few minutes).
  7. Completed: keep Open Zopanel ticked and click Finish. The panel opens in Microsoft Edge or Chrome on the server; sign in with your email and password. The browser warns once about the panel's own certificate: continue to the site.

The recommended software keeps installing in the background (usually 10 to 30 minutes); follow it under Servers. If the account could not be created, Finish opens the web setup wizard instead, which asks the same questions.

On a server with neither Edge nor Chrome (Windows Server 2019 by default), the installer shows the panel's address and the one-time setup code to open from another computer. To open the wizard again later, run as Administrator:

& 'C:\Program Files\Zopanel\installer\zopanel-setup.exe' open-setup

The screens install a panel and its websites on this server. To join a server to another panel, or for other settings, use the properties on the command line.

Single server (panel and websites together)

Most providers start here when installing from a script:

msiexec /i C:\zopanel-0.9.220.msi /qn /l*v C:\zopanel-install.log `
  ADMIN_EMAIL=admin@example.com PUBLIC_URL=https://panel.example.com:8443 `
  ACME_AGREE_TOS=1 ACME_EMAIL=ssl@example.com

In a script, wait for the result with Start-Process msiexec -Wait -ArgumentList '/i C:\zopanel-0.9.220.msi /qn …'. ACME_AGREE_TOS=1 means you accept the Let's Encrypt Subscriber Agreement; leave it out and the setup wizard asks instead. Exit code 0 is done, 3010 is done but Windows needs a restart; anything else, read the /l*v log. If the install stops midway, the MSI removes what it created and keeps data, so you can run it again.

Right after the MSI only ZopanelServer runs. Print the one-time setup link and open it in a browser:

& 'C:\Program Files\Zopanel\installer\zopanel-setup.exe' setup-link

The wizard creates the administrator (there is no default password and no way to create one unattended, on purpose), asks for your organisation and panel address, and connects this server. At the This server step it installs the recommended set: IIS 10, compression, ASP.NET 4.8, URL Rewrite, ARR, PHP 8.4 and 8.3, MariaDB 11.8, MailEnable and Microsoft DNS. After that, ZopanelServer, ZopanelBroker and ZopanelAgent all run:

Get-Service ZopanelServer, ZopanelBroker, ZopanelAgent | Format-Table Name, Status

MSI properties

Property Default Meaning
ROLES panel,agent agent installs a server that only runs websites, see fleet
LISTEN 0.0.0.0:8443 Address and port of the panel
PUBLIC_URL empty Address users type, e.g. https://panel.example.com:8443. Set here, it cannot be changed in the interface
ADMIN_EMAIL empty Suggested administrator e-mail and notification address
ACME_AGREE_TOS, ACME_EMAIL, ACME_STAGING empty Let's Encrypt consent, account e-mail, test CA
PRESET recommended recommended, none, or recommended:<id>,<id>
ADOPT empty 1 installs next to existing IIS sites or Plesk without taking them over (experimental)
NOSHORTCUT empty 1 skips the Start menu shortcut
PANEL_URL, CA_SHA256, ENROLL_TOKEN empty With ROLES=agent: panel address, panel certificate fingerprint, one-time enrollment token (hidden from the log)
PURGE_DATA empty On uninstall only: the exact server name to delete the panel's data

ADOPT, PRESET and NOSHORTCUT apply to new installs; an MSI run over an existing install upgrades it and ignores them.

Turn on Let's Encrypt later

If you skipped the SSL step, websites stay on HTTP and certificate requests fail with ACME_NOT_CONFIGURED. Turn it on under Security → Free SSL certificates (Let's Encrypt), or on the panel server:

& 'C:\Program Files\Zopanel\installer\zopanel-setup.exe' letsencrypt -agree-tos

Provider settings

The panel reads C:\ProgramData\Zopanel\server\panel.env at start, one ZOPANEL_NAME=value per line. The file survives upgrades. The setting you will most likely add is the license server, for automatic license renewal (see Licensing):

ZOPANEL_LICENSE_SERVER=https://zopanel.net/windows

Then run Restart-Service ZopanelServer. A line the panel does not understand stops it from starting, so check panel.log after a change.

Repair

When a service was stopped or changed, or a firewall rule was deleted:

& 'C:\Program Files\Zopanel\installer\zopanel-setup.exe' repair
# or
msiexec /fa C:\zopanel-0.9.220.msi /qn

Repair rebuilds services, folder permissions and firewall rules from C:\ProgramData\Zopanel\setup.json. It touches no data and can run any number of times.

Uninstall

Task Command Result
Uninstall, keep data msiexec /x C:\zopanel-0.9.220.msi /qn Panel database, keys, customers' sites, databases, mail and backups stay. Reinstalling brings everything back
Uninstall and delete the panel's data msiexec /x C:\zopanel-0.9.220.msi /qn PURGE_DATA=SERVERNAME Removes the IIS sites, pools and certificates the panel made, the database servers it installed with their databases, the container engine, and the panel's data except backups and caches. Mail, runtimes and SQL Server Express stay

A wrong server name stops the command and deletes nothing. Before deleting the panel's data, make sure you have a disaster recovery export and its passphrase (see Backups): without it the backup encryption keys are gone.

After installing

Check https://<panel address>/healthz returns 200, the server shows online on the Servers page with no failed items, and a test website answers over HTTPS. Then turn on two-factor authentication, set the disaster recovery passphrase and export, and set the update source (Upgrading).


← System requirements Licensing →