Deploy the agent with Group Policy (Windows)
Roll the ZeusLock agent out to domain-joined Windows PCs with Group Policy: share the MSI, push ServerUrl and LicenseKey as policy, assign the package, restart, test. Plus updates.
This guide installs the ZeusLock agent on every Windows PC of an OU, with one Group Policy object. Steps 1–4 run on a domain controller in PowerShell (Run as administrator); Step 5 on a workstation.
Before you start
- Domain-joined Windows 10 or 11 PCs (x64) in an OU, and a domain admin account.
- Dashboard → Agents → Download Agent → Windows → Download MSI. The file
ZeusLock-1.0.46.msimust be in the Downloads folder of the domain controller. - Dashboard → API Keys → + Create a key → copy the key (
zl_…). - The MSI installs for all users (per machine) and takes no properties: no transform (
.mst) is needed.
Step 1 — Paste this line, then paste the key when asked
$Key = Read-Host "ZeusLock API key"Step 2 — Paste this block (share, policy, configuration)
First change $OU to your OU (and $Msi if your file has another version).
$OU = "OU=Workstations,DC=yourdomain,DC=local"
$Msi = "ZeusLock-1.0.46.msi"
New-Item -ItemType Directory -Force -Path C:\ZeusLockDeployment | Out-Null
Copy-Item "$env:USERPROFILE\Downloads\$Msi" C:\ZeusLockDeployment\ -Force
New-SmbShare -Name ZeusLockDeploy -Path C:\ZeusLockDeployment -ReadAccess Everyone -ErrorAction SilentlyContinue | Out-Null
Import-Module GroupPolicy
New-GPO -Name "ZeusLock Agent" -ErrorAction SilentlyContinue | New-GPLink -Target $OU -LinkEnabled Yes | Out-Null
$P = "HKLM\SOFTWARE\Policies\ZeusLock"
Set-GPRegistryValue -Name "ZeusLock Agent" -Key $P -ValueName ServerUrl -Type String -Value "https://api.zeuslock.ai" | Out-Null
Set-GPRegistryValue -Name "ZeusLock Agent" -Key $P -ValueName LicenseKey -Type String -Value $Key | Out-Null
Set-GPRegistryValue -Name "ZeusLock Agent" -Key "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -ValueName SyncForegroundPolicy -Type DWord -Value 1 | Out-Null
Test-Path "\\$env:COMPUTERNAME\ZeusLockDeploy\$Msi"
Start-Process gpmc.mscExpected: it prints True and opens Group Policy Management.
Step 3 — Add the MSI to the policy (5 clicks)
- Group Policy Objects → right-click ZeusLock Agent → Edit.
- Computer Configuration → Policies → Software Settings → Software installation.
- Right-click the empty area → New → Package…
- File name:
\\DC01\ZeusLockDeploy\ZeusLock-1.0.46.msi(your server name instead of DC01; never aC:path) → Open. - Assigned → OK. Close the editor.
Expected: one ZeusLock line, deployment state Assigned.
Step 4 — Restart the workstations
Restart-Computer -ComputerName WS01, WS02 -ForceWait 3 minutes, then paste:
Invoke-Command -ComputerName WS01, WS02 { "$env:COMPUTERNAME $((Get-Package -Name '*ZeusLock*').Version)" }Expected: one line per PC, ending in 1.0.46. A PC without a version: restart it once more.
Step 5 — On a workstation
- Sign in. The ZeusLock icon appears in the taskbar by itself.
- The certificate dialog for ZeusLock DLP Proxy CA → Yes (once).
- ZeusLock icon → Open ZeusLock → Protection active.
- Browser →
https://chatgpt.com→ sendMy card is 4111 1111 1111 1111.
Expected: a ZeusLock window asks what to do. The dashboard shows the incident under Incidents and the PC under Agents with version 1.0.46.
Managed PCs
Because the key comes from Group Policy, the agent is managed: its menu has no Quit, and if it is stopped or crashes it is started again, while browsers wait for it. To let the network come back instead, add the policy value ManagedUncleanStop (String) = restore-network under HKLM\SOFTWARE\Policies\ZeusLock.
Update to a new version
The agent does not update itself. Updating over a running agent works: it is back within seconds.
- Download the new MSI (Download MSI) to Downloads, then paste:
Copy-Item "$env:USERPROFILE\Downloads\ZeusLock-*.msi" C:\ZeusLockDeployment\ -Force - In the ZeusLock Agent policy → Software installation → New → Package… → the new MSI on the share → Assigned → OK.
- Right-click the new line → Properties → tab Upgrades. If the list is empty: Add… → Current Group Policy Object → the old ZeusLock line → Package can upgrade over the existing package → OK.
- Tick Required upgrade for existing packages → OK. Keep the old line.
- Restart the workstations and check the version (Step 4).
If something fails
| Problem | Fix |
|---|---|
| Step 2 prints False | The MSI is not in Downloads or has another name. Fix it and paste Step 2 again. |
| No version after two restarts | On that PC: Event Viewer → Windows Logs → System → source Application Management Group Policy. Usually the path in Step 3 was wrong: it must start with \\. |
| Still the old version after an update | Required upgrade for existing packages was not ticked. Tick it and restart again. |
| No ZeusLock icon after sign-in | Run Get-Package -Name *ZeusLock* on the PC: it must show the version. |
| No incident on the dashboard | Wrong API key. Do Steps 1–2 again with the right key, then Step 4. |
See also: Agent configuration reference · Verify and troubleshoot the agent · Use the agent behind a corporate proxy