Skip to main content

Windows background service

Use Getting started > your discovery source > Windows or Windows Server > Binary > Background service. The installer and agent are standalone binaries; no Python or provider SDK installation is needed. Install from an elevated 64-bit PowerShell terminal. Discovery runs under NT SERVICE\SectigoQuantumReady, with a restricted service SID and only the privileges it needs.

Current qualified release​

Agent 0.27.8 / sequence 873, installer 0.51.571 / sequence 866, and unified package 0.51.575 are the current native package. Use the Windows deployment guide for current download, verification, guided installation and silent deployment commands.

The current 0.27.8 package passed native qualification, protected service lifecycle and ZIP/Intune inventory verification. The service update fixture used a same-version signed sequence replacement; it does not establish a new production version-advancing update or reboot test. Intune tenant assignment remains separate.

Retained earlier release evidence​

The restricted installed 0.27.4 service completed production SQLite jobs before and after restart. A production scheduled upgrade from 0.27.3 / 779 to 0.27.4 / 794 preserved the enrolled identity and protected configuration; the replacement process completed a real TLS scan. The signed unified ZIP and Intune package inventories also matched. Intune tenant assignment and a new 0.27.4 reboot test were not part of these checks.

Retained installed PostgreSQL, MySQL and SQL Server evidence used 0.27.3; see database scanning for engine-specific evidence and visibility limits. Configure database credentials under the dedicated service identity, not an unrelated administrator identity. Confirm recent contact and actual findings after enabling discovery; service startup alone does not prove successful target access.

Earlier 0.27.2 qualification​

Agent 0.27.2 / sequence 774, installer 0.51.490 / sequence 761, and unified package 0.51.501 provided the earlier native database-enabled package. Windows Server 2025 acceptance verified protected guided enrollment, restricted identity, disabled installation, signed sequence upgrade, removal and deployment detection. Database credentials are configured for the service identity; follow the Windows database credential instructions.

Native database workers passed real PostgreSQL, MySQL and SQL Server fixtures, and local SQLite/SQLCipher checks. Production SQLite jobs passed in foreground mode and from the restricted installed service before and after a service restart. The same enrolled identity and protected configuration were preserved; database contents were unchanged and application rows/local paths were not uploaded. A production scheduled upgrade from 0.26.98 to 0.27.2 preserved the same protected identity/configuration and completed a TLS scan from the replacement process. A real Windows Server 2025 reboot also passed automatic restricted-service and scheduled-updater recovery, preserved identity/configuration, and a fresh production TLS scan without manually starting the service. Installed network-engine jobs were still under qualification at that point; subsequent 0.27.3 results are retained separately from these release-specific checks.

Previous release qualification​

Agent 0.26.96 / sequence 740, installer 0.51.413 / sequence 649, and unified package 0.51.464 are available. Windows Server 2025 acceptance passed protected guided-enrollment handoff, repeat setup, changed-scope rejection, installation, fixture-signed sequence upgrade, removal, restricted service permissions, and Intune/Configuration Manager detection.

The installed scanner completed a real TLS job through an approved relay with direct fallback disabled. Evidence was bound to its process and agent identity; an unapproved target was refused, cloud pause was acknowledged, and revocation stopped further activity. The temporary agent and test VM were retired.

The production-signed unified relay launcher passed installation, protected service-account identity, restart preserving its CA-verified listener identity, non-advancing update rejection, and removal. Cloud health independently verified both listeners. These results do not establish a fresh version-advancing scheduled update or reboot for agent96. Earlier update evidence is described below.

Native foreground checks include independent hybrid SSH and QUIC interoperability, all 123 real-decoder capture cases, certificate stores, and cryptographic code scanning. The Intune package was generated with Microsoft's pinned Content Prep Tool; assignment in an actual Intune/Configuration Manager tenant remains separate.

Agent 0.26.52 adds collector report uploads, including isolated partial results and zero-finding coverage. Six live compiled-client cases verified manual uploads, retries and managed completion; raw capture files remain on the collector.

Earlier lifecycle evidence​

The earlier agent 0.26.42 / sequence 460, with installer 0.51.258 / sequence 455. On Windows Server 2025, the compiled 0.26.42 agent passed disabled installation, signed local replacement, removal, and restoration from retained installation state. Its service executable hash was verified again after an offline cold start; the service started automatically with the dedicated account, restricted SID, minimal privileges and recovery policy intact.

The scheduled updater also ran successfully after that cold start. A disabled local update policy stayed disabled, and updater/service removal completed afterward. These lifecycle tests used synthetic enrollment and fixture signatures. They do not establish a live cloud update or service-mode discovery with 0.26.42.

Warm-reboot qualification remains open: the guest requested a reboot, but the QEMU WHPX/UEFI test environment stalled before Windows booted again and logged XSAVE-state errors. After explicitly stopping and starting the emulator, Windows and the agent recovered automatically. This cold-start result must not be read as a successful warm reboot. A related QEMU reset issue is documented upstream; the exact cause of this test's stall is not established.

Earlier agent 0.26.40 / sequence 444 passed native scheduled replacement, a new-process TLS scan, preserved service restrictions, revocation and removal on Windows Server 2025.

The production control plane also completed an upgrade from published agent 0.26.3 / sequence 315 to 0.26.40 / sequence 444 using the scheduled updater and production release signatures. A new process completed a TLS scan with verified certificate-chain evidence; revocation, updater removal and service removal passed. This was one development-workspace agent, not a fleet-scale acceptance test. Warm-reboot recovery and Authenticode signing remain unqualified. Windows 11 qualification covers foreground scanning; the service lifecycle above was tested on Server 2025.

Install in four steps​

  1. Download and check. Open PowerShell in a new private folder. Copy the generated download commands. They download the exact installer and agent releases, manifests, signatures and public key, verify published SHA-256 hashes, and extract the installer.
  2. Configure and enroll. Save agent.local.json from the wizard in that folder. Open PowerShell as administrator in the same folder. Run the generated verification and enrollment commands. Paste the agent enrollment token only at the hidden prompt. You do not need to create a temporary token file.
  3. Install and start. Run the installation command. The installer verifies the signed agent again, enforces the generated minimum release sequence, provisions protected code and settings, and checks configuration under the dedicated account before activating the service.
  4. Confirm discovery. Check service status, recent contact in the product, and a completed scan with findings. A running process or heartbeat alone does not prove access to your discovery targets.

The setup prompt refuses redirected input and never falls back to visible typing. Cancellation leaves private setup unchanged. Automation can supply --token-file with a protected credential file instead. Never put the token in command arguments, PowerShell history or a support message.

Verify the release key​

Independently confirm the release key through your organization's trusted channel. A key downloaded beside an archive is not independent trust. The generated download commands check hashes from the product over HTTPS. The installer verifies the agent's Ed25519 signature, selected version and minimum sequence before installation. Installer 0.51.183 and newer accept install --minimum-sequence; the generated command supplies the selected agent's exact sequence. A correctly signed but older sequence is rejected before code staging or service registration. Keep the generated value when handing the installation commands to another administrator. For independent installer signature verification, use the reviewed verifier with installer purpose as described in agent distributions.

These preview executables are not Authenticode signed. Published SHA-256 checks and Ed25519 release signatures do not establish Authenticode publisher identity.

Give the service only the access it needs​

The service does not inherit your terminal's cloud login, environment or home folder. For an Azure VM, prefer its configured managed identity; a workstation's az login does not sign in the service. AWS and GCP also need identities available to the service account. See cloud binary collectors.

Grant the service account read access only to approved repository/capture folders. TLS and SSH discovery need outbound access to the allowed endpoints. Saved captures also require an approved TShark installation and its configured executable path. Do not grant local administrator membership to the discovery account.

Stop, inspect or remove​

From the installer folder, in an elevated PowerShell terminal:

.\quantum-ready-service.exe status
.\quantum-ready-service.exe stop
.\quantum-ready-service.exe remove

Run only the command for the action you intend. Stop disables future service starts. Remove deletes the service registration and preserves protected files and credentials. Revoke the agent separately in Agents & sensors. If an update supervisor is registered, disable it, wait for the active operation to finish, and remove the supervisor before removing the discovery service.

For a registered updater, supervisor-status reports whether the scheduled task is enabled or running, its last result, and (installer 0.51.183+) lastRunAt in UTC. A null time means the task has not run. A zero result means that reconciliation completed; inspect the cloud update operation to determine whether it actually replaced software. An old successful result does not prove a run after a reboot.

For an interrupted installation, inspect status and its recovery information. Do not delete protected state or repeatedly reinstall over it. recover --trusted-key uses the existing protected evidence; incomplete private setup needs the original configuration and enrollment credential again.

Local update permission​

The Windows installer accepts the same bounded update-policy JSON as Linux, but uses a different command. When a Windows update is offered in Agent controls, select the release, expand Prepare the local update policy, and download the file. In elevated PowerShell, from the setup folder containing your verified installer directory, run:

& .\installer\quantum-ready-service.exe update-policy --file .\update-policy.json

This replaces the local policy. It grants permission only for the selected version and sequence, until the earlier of your chosen expiry or the signed release expiry. Inspect it by omitting --file. Applying a policy does not register or enable an updater, pause discovery, or request a cloud update. The discovery service remains under its restricted account; updater administration requires elevation.

Acceptance and update status​

Clean Windows Server 2025 x86_64 testing covers restricted service installation, real hosted TLS discovery, local-scope refusal, pause acknowledgement, revocation, service shutdown and removal. Scheduled updater reconciliation has also run without a manual start. Windows 11 foreground discovery is separately tested.

Installer 0.51.186 also passed a real cloud-requested scheduled replacement on a clean Windows Server 2025 guest. The replacement process completed a TLS scan, retained all service restrictions, stopped after revocation, and allowed removal of the updater and service. The test used two signed archive sequences with the same agent executable version and an isolated test key.

That historical test does not qualify every later release. The current signed 0.27.4 package is available for explicitly authorized managed updates. Local update policy, a maintenance pause and administrator approval still apply. See the current release status above for remaining version-specific update and reboot acceptance.

Unattended deployment enrollment​

The compiled Windows installer 0.51.205 / sequence 349 supports protected enrollment-state handoff. Follow Windows enrollment and service setup using the same Windows account for enrollment and setup. The complete source bundle also includes the Python service installer and its dependencies; see the source installer handoff when using that distribution.

Reuse guided setup enrollment​

Installer 0.51.258 / sequence 455 can reuse the identity and exact local scope saved by guided browser setup. Exit setup and stop its foreground agent first. Open an elevated terminal as the same Windows account, then run the downloaded installer with the absolute private state folder used during setup:

.\quantum-ready-service.exe setup --terminal-state C:\private\qscan-setup

No configuration export or token copying is required. A different configuration is rejected; repeat setup preserves the identity. Continue with the signed installation command from Getting started to register and start the service. The service account still has to pass its own access checks for the approved scope. SYSTEM or another administrator cannot decrypt your account-bound setup state.

This transfer, repeat setup, restricted installation, signed sequence upgrade, Intune/ConfigMgr detection and removal passed an offline Windows Server 2025 test with synthetic enrollment. This does not establish provider deployment, reboot recovery or a completed one-command interactive installer.