# 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.

Source: https://zopanel.net/windows/docs/install  
Updated: 2026-11-27

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](/windows/docs/requirements) first.

## Download and check the MSI

The current release is **0.9.213**:

```powershell
Invoke-WebRequest https://update.zopanel.net/windows/downloads/zopanel-0.9.213.msi -OutFile C:\zopanel-0.9.213.msi
Get-AuthenticodeSignature C:\zopanel-0.9.213.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:

```powershell
msiexec /a C:\zopanel-0.9.213.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.

## Single server (panel and websites together)

Most providers start here:

```powershell
msiexec /i C:\zopanel-0.9.213.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
```

`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:

```powershell
& '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:

```powershell
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](/windows/docs/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:

```powershell
& '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](/windows/docs/licensing)):

```text
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:

```powershell
& 'C:\Program Files\Zopanel\installer\zopanel-setup.exe' repair
# or
msiexec /fa C:\zopanel-0.9.213.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.213.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.213.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](/windows/docs/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](/windows/docs/upgrading)).
