Signed MSI · worker service and screensaver · tested on Windows 11 x64
Before you start, you'll need two things, and optionally a third:
.reg) from the
DCP config generator, with at least your
earnings account: the bank account address where this worker's earnings
are deposited. It can also set compute groups, leaving the global group, allowed
origins and more, the same for every machine.Copy the configuration file to each machine, or put it on a share every machine can read.
You also need administrator rights on a 64-bit Windows 10 or 11 machine with outbound HTTPS to the internet.
SHA-256 9699e7e58a66ba735de470968cad64dbdd84b7d311b2b70b3a0a8f8a78b634f6
The installer and every program it installs are signed by Distributive Corp., so
Smart App Control and SmartScreen let it run.
This build has the newest JavaScript engine (V8 15.8) and WebGPU engine (Dawn, as in Chrome 158), and runs GPU work at the sign-in screen with nobody signed in. Each job runs in a process that cannot connect to the internet or your network, start programs or write to system files. The worker measures each job's memory and starts as many jobs at once as fit in the machine's memory, up to one per CPU core.
Security documents for this build: Windows Worker Security Brief (PDF, 2 pages) · Open V8 and WebGPU vulnerabilities (PDF, 5 pages)
Fill in your values and the command below updates. Nothing you type leaves this page.
Or copy the command as-is and replace the placeholder values before running it.
In PowerShell, run as administrator, paste the whole block:
Exit code 0 means success. It takes about two minutes and needs no
restart. What it does:
C:\Program Files\Distributive\DCP
and starts the DCP Worker service, which runs as its own low-privilege
account.You only do this once per machine. The worker's identity is reloaded on every start, including after a reboot.
The worker computes while the DCP screensaver is running: on the
sign-in screen when nobody is signed in, and when a signed-in user's screensaver
starts. The installer sets the DCP screensaver for every user on the machine,
including accounts created later. To set it for the sign-in screen only, turn off
Install for all users above ('SCREENSAVER_ALL_USERS=0').
Moving the mouse or pressing a key stops the screensaver, and the computing with it,
straight away.
On the sign-in screen the screensaver shows the floating logo, or your own image. The live dashboard needs a signed-in user: Windows doesn't allow its web view on the sign-in screen, so there the screensaver falls back to the logo.
A new screensaver timeout for the sign-in screen applies from the next restart.
Get-Service 'DCP Worker'
It should show Running. To see the worker's latest log lines:
Get-WinEvent -LogName Application -MaxEvents 200 | Where-Object ProviderName -eq 'dcp-worker' | Select-Object -First 20 TimeCreated, Message | Format-Table -Wrap
A healthy start includes:
* Starting Distributive Worker <worker-id>
. Earned funds will be deposited in account 0x...
* Ready.
Once the screensaver is running and a job is available in one of your compute groups,
you'll see Slice Started and Payment lines. To check the
registration:
Get-ItemProperty HKLM:\SOFTWARE\Distributive\registration
workerRegistered should be true.
The DCP config generator builds a .reg
file with any worker, screensaver or evaluator setting. Give its path in
Configuration file above (CONFIG_REG) to apply it during the install,
or import it later as administrator and restart the DCP Worker service.
Values given directly to the installer win over the file.
Memory budget. The worker starts jobs only while their measured memory fits
a budget, by default the machine's total memory. To keep some free, set
Memory budget in the config generator: it writes
worker\memory\budget (bytes, as a REG_QWORD) to the
.reg file. 0 turns the budget off.
| Installer option | What it does |
|---|---|
REGISTRATION_KEY | Registers the worker to your account. |
CONFIG_REG | A .reg file imported before the other options are applied. |
SCREENSAVER_MODE | bitmap (floating logo) or dashboard. |
SCREENSAVER_IMAGE | Your own image instead of the logo (make one with the screensaver image generator); implies bitmap. |
SCREENSAVER_TIMEOUT | Seconds before the screensaver starts. |
MANUAL_UPDATES_ONLY | 0: automatic updates; 1: updates only when you run a newer installer. Left out on an upgrade, the current choice is kept. |
SCREENSAVER_ALL_USERS | 1 (default): the screensaver for every user profile, including new ones; 0: the sign-in screen only. Upgrades keep each user's choice. |
The installer adds Distributive's signed updater, which installs new versions
automatically when Distributive publishes them, unless you turned off
Automatic updates above ('MANUAL_UPDATES_ONLY=1'). An upgrade keeps your registration, earnings account, screensaver and
other settings. To update by hand, run a newer installer the same way; you can leave
out the registration key.
Use Settings > Apps > Installed apps > DCP Worker > Uninstall, or from PowerShell run as administrator:
$c = (Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\* | Where-Object DisplayName -eq 'DCP Worker').PSChildName
$p = Start-Process msiexec.exe -Wait -PassThru -ArgumentList "/x $c /qn"
"Exit code: $($p.ExitCode)"
Uninstalling removes everything: the worker and its identity, the screensaver, the updater, and all settings. If you install again later, the machine registers as a new worker.
Windows keeps the worker account's profile in use until the next restart, so the
uninstall asks for one but never forces it. From the Settings app you can choose
No and restart later. The command above returns exit code 3010
to say a restart will finish the cleanup; the rest is removed automatically at the
next start.
Running and Ready, but never gets work: check that the
screensaver is running and that a job is running in one of your compute groups. A
worker that started too soon after registering can miss its compute groups until it
restarts: Restart-Service 'DCP Worker'.
workerRegistered is false: check the key was
copied completely, and that it hasn't been used up or expired in your account. Then
run the installer again with the key.
The install fails: add /l*v install.log after
/norestart and send the log. The registration key never appears in it.