Skip to main content

Deploy Windows agents with Intune or Configuration Manager

Open Integrations > Agent deployment to download the Intune package or Windows ZIP directly. Matching downloads also appear in Windows x64 deployment details and the authorized-device handoff.

Download a prepared Windows x64 package, deliver a separate enrollment grant to each device, then assign a one-device pilot from your management tool. The package includes compiled enrollment and service installers; managed devices do not need Python.

Download a deployment package​

Management toolDownloadUse
Microsoft IntuneIntune Win32 package (243 MB)Upload as a Windows app (Win32).
Configuration Manager or manual pilotWindows deployment ZIP (234 MB)Extract the ZIP; the launcher stages writable folders into a private cache.

Read package instructions. Both packages contain installer 0.51.571 / sequence 866, enrollment client 0.27.8 / sequence 873 and service agent 0.27.8 / sequence 873. Each release has its own signed manifest and expiry. Download a current package when an installer reports expiry. Neither package contains a workspace token, device grant or saved credential. Apply your organization's PowerShell script-signing policy.

Verify the downloaded file

Run Get-FileHash -Algorithm SHA256 against your downloaded file and compare:

Intune: 5bc319b1666578cdd197f777221d52f42a9cae8d55d9b59739170c0cc9248520
ZIP: de5741feda9ab9adc8c5a976f0305e732a5e3045262cd0883b6a52bb39679952

The installer separately verifies the signed agent release before installation. The deployment entry point also checks its payload inventory and protected cache.

Inspect or upgrade an existing installation​

In an elevated PowerShell terminal, use the same extracted package:

.\Deploy-QuantumReady.ps1 -Action Status
.\Deploy-QuantumReady.ps1 -Action Upgrade

Status returns JSON without enrollment or lifecycle changes. It remains available when recovery is required or package releases have expired. A successful command means the status was read; inspect exists, serviceState, installation, and recoveryRequired before deciding that the service is healthy. Cloud contact and a completed first scan must still be confirmed in the workspace.

Upgrade verifies this package's signed release, preserves the existing identity and approved scope, and starts the service. It refuses missing or removed services, recovery-pending state, and downgrades. It never enrolls a new device. An equal release is reused. To restore a removed managed service, choose Install explicitly. These actions also accept -NonInteractive on powershell.exe for management tools.

Interactive installation on one machine​

For a manual pilot, download and extract the Windows ZIP. Open an elevated PowerShell terminal as your own Windows account, change into the extracted folder, and run:

powershell.exe -NoProfile -File .\Deploy-QuantumReady.ps1 -Action Guided

Choose a hosted cloud connection or a local agent. For a local agent, select the scanner types and exact targets, approve the scope, then sign in through your browser. The installer reuses the approved identity and configuration without asking you to copy a token. Choosing a hosted connection or declining the scope does not install a service.

Keep the terminal open until installation finishes. If interrupted, rerun the same command as the same Windows account; saved enrollment is protected with Windows DPAPI. Existing installations reuse their current identity and approved scope. The service runs under a restricted account: access to a directory from your own account does not prove the service can read it. Confirm the device heartbeat and run a validation scan in the workspace after installation. Resolve any specific access failure without granting administrator rights to the agent.

Guided mode needs an interactive terminal. Use the following per-device grant flow for silent deployment through Intune, Configuration Manager or scripts.

1. Authorize a pilot device​

In Integrations > Agent deployment, select your management tool and Windows x64. Create an authorization for the required fleet group and discovery scope, then choose Authorize test device. Download that device's grant and approved configuration. A shared package never replaces per-device authorization.

2. Deliver private enrollment files​

Use your management controller's protected, per-device delivery channel to place:

C:\ProgramData\SectigoQuantumReadyEnrollment\agent.json
C:\ProgramData\SectigoQuantumReadyEnrollment\device-grant.json

Create a state subdirectory in the same folder. Protect the folder and contents so only SYSTEM and administrators can read or modify them. Do not place these files in an Intune package, shared content folder or command-line argument.

The grant file must have its own protected ACL. Protecting its parent folder alone leaves a newly copied file inheriting permissions, which the credential reader rejects. After your controller delivers the files into the protected folder, run this in the same elevated installing account:

$enrollment = "$env:ProgramData\SectigoQuantumReadyEnrollment"
foreach ($name in 'device-grant.json', 'agent.json') {
$path = Join-Path $enrollment $name
icacls.exe $path /inheritance:r /grant:r '*S-1-5-18:F' '*S-1-5-32-544:F'
if ($LASTEXITCODE -ne 0) { throw "Cannot protect $name" }
if (-not (Get-Acl -LiteralPath $path).AreAccessRulesProtected) {
throw "$name still inherits permissions"
}
}

These SIDs identify SYSTEM and the local Administrators group. Start with files delivered only to those trusted identities; this command does not remove unrelated explicit access entries. The agent rejects such additional access. Preserve the downloaded JSON bytes; if your controller generates JSON, use UTF-8 without a BOM. Do not solve a credential-permission error by granting access to Users or Everyone.

The install command completes enrollment and service setup as the same installing account. Intune uses SYSTEM for both; saved enrollment state is protected with account-bound DPAPI. Preserve this state on retries. See the enrollment handoff guide for API-driven device authorization and recovery. Remove the delivered grant through your controller after successful enrollment; retain the private state.

3. Configure the management application​

For Intune, upload the .intunewin download as Windows app (Win32). Choose System install behavior and an x64 architecture requirement. Use these values in the install and uninstall command fields:

%SystemRoot%\Sysnative\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive -File .\Deploy-QuantumReady.ps1 -Action Install
%SystemRoot%\Sysnative\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive -File .\Deploy-QuantumReady.ps1 -Action Remove

The Sysnative path selects 64-bit PowerShell from Intune's 32-bit command host, as documented by Microsoft. Use the Intune detection script below and run it in 64-bit PowerShell.

For Configuration Manager, extract the ZIP into protected application content and run Deploy-QuantumReady.ps1 in 64-bit PowerShell as SYSTEM. Use the ConfigMgr detection script. For a manual pilot from an already elevated 64-bit terminal:

powershell.exe -NoProfile -NonInteractive -File .\Deploy-QuantumReady.ps1 -Action Install

Quantum Ready supplies the package and enrollment controls. Your administrator publishes the application and assigns devices in Intune or Configuration Manager; creating a Quantum Ready authorization does not create those assignments.

4. Confirm contact before expanding​

Assign one pilot device first. Confirm the restricted service is running, the workspace shows recent contact, and an approved validation scan finishes. A management-tool installation result or detection success alone does not prove cloud contact. Repeat installation, removal and restoration on the pilot before expanding the assignment.

Remove and reinstall​

-Action Remove removes the service while retaining its protected configuration and device identity. Assigning -Action Install again restores that identity using installer 0.51.211 or newer, verifies the retained files, reruns service-account checks and starts the service. Do not delete private installer records to force a new installation. A newer agent is never downgraded by this package.

Removal disables a registered scheduled updater, waits for any active update to finish, and removes the task before removing the service. The default wait is 300 seconds; set -UpdateDrainTimeoutSeconds from 0 to 1800 to change it. If the updater cannot be confirmed stopped and removed, removal preserves the service and returns an error. Revoke the agent in the workspace when retiring the device. Restoration does not reverse revocation or silently enroll a replacement agent.

For an explicit administrator-operated restore with the current compiled installer:

.\quantum-ready-service.exe restore --trusted-key .\release-key.json

Run status and follow recovery guidance if an operation was interrupted. Keep configuration, credentials and installation records intact.

Build your own package from the project checkout​

Use scripts/prepare-windows-management-package.py --help to select independently verified signed releases and assemble a new payload. On a Windows packaging workstation with Microsoft's Content Prep Tool 1.8.7:

python scripts/package-intune.py --source C:\Packages\QuantumReady --tool C:\Tools\IntuneWinAppUtil.exe --destination C:\Packages\QuantumReady-Intune

Use a new output directory outside the source folder. The command verifies the tool, payload inventory and entry point, rejects additional package files, and checks the resulting .intunewin file. Python is needed only on this packaging workstation.

Detection scripts​

These scripts require agent 0.26.3 or newer and signed release sequence 315 or newer. Both requirements must be met. A later installed release is accepted, so an older application assignment does not request a downgrade.

Use the script for the corresponding management tool. Both are UTF-8 with a byte order mark. Apply your organization's script-signing process when required by its deployment policy. No execution-policy change is needed to generate the files.

Configure detection​

For Intune, choose a custom detection script for the Win32 application and upload the Intune file. Run it in 64-bit PowerShell on 64-bit clients, in the application's System installation context. The protected installer records require SYSTEM or administrator access; discovery itself continues under its restricted service identity.

For Configuration Manager, select a custom PowerShell detection method for the application deployment type and import the ConfigMgr file. Use the 64-bit process and device/System context. Keep installation detection separate from compliance or scan-health monitoring.

ResultIntuneConfiguration Manager
Matching installationExit 0 and a fixed installed messageExit 0 and a fixed installed message
No service, or an older releaseExit 1 with no outputExit 0 with no output
Busy installer, incomplete state, wrong service identity/path, unreadable records or unsupported process architectureExit 1 with no outputExit 1 with no output

The scripts emit no stderr or raw diagnostics. For an unknown result, run the reviewed installer's status command as an administrator and inspect its recovery guidance. Do not remove installation state to force detection to succeed.

A stopped or paused service can still be installed correctly. Detection deliberately does not require a running process, a heartbeat or a successful scan. Confirm those separately in the agent fleet. A committed removal awaiting service deletion is not reported as installed.

Generate detection for another signed release​

The source bundle includes the template and generator. Supply a complete signed Windows agent archive, its manifest/signature, and your independently trusted public key. Select the exact version and sequence from that release. Use a new output folder:

python scripts/prepare-windows-deployment-detection.py --release RELEASE_DIRECTORY --version EXACT_VERSION --sequence EXACT_SEQUENCE --trusted-key TRUSTED_KEY_FILE --destination NEW_OUTPUT_DIRECTORY

The generator verifies the archive before writing either script, refuses a sequence mismatch and refuses to overwrite an existing output directory. The output contains no workspace token, device grant or credential. Deliver device enrollment secrets separately using deployment authorization.

Verification scope​

The Windows management package passed install, repeat install, both detection contracts, removal and repeat removal in an offline Windows Server 2025 VM. Installer 0.51.211 separately passed two restore/remove cycles and repeat restore, preserving the exact saved installation identity. These tests used synthetic enrollment state. Provider-managed assignments remain unverified.

The detection logic passed 33 PowerShell assertions covering version thresholds, paused/stopped services, incomplete installation, changed service identity/paths, pending removal, malformed metadata and both providers' output contracts. The generated scripts also passed native 64-bit PowerShell execution on a Windows host without the product service. The same verified template subsequently passed real Windows Server 2025 SCM acceptance before installation, after installation, after upgrade and after removal. That offline test used synthetic signed sequences 1 and 2, with the minimum set to 1, and confirmed both providers' output contracts and acceptance of the newer installed sequence. Provider-managed assignment and end-to-end Intune/Configuration Manager rollout remain to be verified.

The provider contracts follow Microsoft's Intune detection documentation and Configuration Manager custom detection documentation.

Manual extraction and package permissions​

The current launcher automatically stages a package when its extraction folder is writable by other accounts, including a normal folder under C:\ProgramData. Run the new package from an elevated 64-bit PowerShell terminal as documented above. It creates a protected cache under %ProgramData%, copies only the pinned inventory's files, and checks all file sizes and SHA-256 hashes before starting a native program. Later runs reuse and reverify that cache. The original folder's permissions are not changed, and no credentials belong in the package cache.

If an older launcher reports Package files must not be writable by untrusted accounts, download and extract the current ZIP into a new folder and run its launcher. Keep your existing private enrollment state and use the same installing Windows account. Do not grant Everyone access or disable the package checks. This update changes the launcher, not the agent or service installer binaries.