Windows Task Worker Installer Guide
Component: Diskover Task Worker (Windows)
Deployment Method: Windows Installer (Diskover-2.6.0.exe)
Platform: Windows 10+ / Windows Server 2019+
Version: 2.6.0+
Overview
The Diskover Task Worker is the Windows component that runs the diskoverd scanner daemon on a Windows machine. It enables Windows-based scanning and task execution as part of your Diskover deployment.
This guide walks you through installing the Diskover Task Worker on Windows using the Diskover-2.6.0.exe installer. The installer bundles Python and all required packages (no internet access needed), installs the Diskover build, and registers diskoverd as a native Windows service — as of 2.6.0 there is no separate service manager (NSSM has been removed).
When to use this guide:
You are adding a Windows-based worker/scanner node to an existing Diskover environment
Your scan targets are Windows file systems (CIFS/SMB shares, local NTFS volumes)
Dependencies:
A running Diskover environment (Elasticsearch, Diskover Admin, Diskover Web) must already be deployed and accessible from the Windows machine
The Windows worker registers with Diskover Admin via the Diskover Web URL provided during installation
Prerequisites
Hardware Requirements
Component |
CPU |
Memory |
Disk |
Notes |
|---|---|---|---|---|
Windows Task Worker |
4+ cores |
8 GB+ RAM |
50 GB+ |
Scale CPU/RAM based on scan volume |
Software Requirements
Requirement |
Detail |
|---|---|
OS |
Windows 10+ or Windows Server 2019+ |
Admin privileges |
The user running the installer must have local administrator rights |
Network connectivity |
The Windows machine must be able to reach the Diskover Web UI host (for worker registration) and Elasticsearch (for indexing) |
Internet access |
Not required — Python 3.13 and all pip dependencies are bundled in the installer (offline install) |
Credentials
Credential |
Purpose |
How to Obtain |
|---|---|---|
Windows admin account |
Run the installer |
Customer infrastructure |
Diskover Web URL |
Register the worker with Diskover Admin |
Your existing Diskover deployment (e.g., |
Diskover Internal API Key |
Authenticates the worker to the Diskover Admin API (sent as the |
The |
Service account (optional) |
Run the service as a specific Windows/domain account with access to the shares you will scan |
Customer infrastructure — LocalSystem is the default |
Diskover License |
Valid license must be installed on the Diskover Admin server |
Provided by Diskover Data |
Installation — Fresh Install
Step 1: Run the Installer
Launch Diskover-2.6.0.exe as an administrator and follow the installation wizard.
Step 2: Provide the Diskover Web URL and Internal API Key
The Diskover Task Worker Configuration page asks for:
Diskover Web URL — the URL of your existing Diskover Web UI (e.g.
http://<web-host>:8000orhttps://diskover.example.com). The worker uses it to register with Diskover Admin and fetch its configuration (Elasticsearch connection details, scan settings, etc.).Diskover Internal API Key — the
DISKOVER_INTERNAL_API_KEYvalue from your Diskover server.
Important: the API key can be left blank (the installer warns and lets you continue), but without it the Task Worker cannot authenticate to the Diskover Admin API and will fail its license check on startup. Enter it here, or add it to the service environment later (see Troubleshooting).
Step 3: Choose the Service Account
The Service Account page controls which identity the diskoverd service runs under:
Run service as LocalSystem (default) — no credentials needed.
Or uncheck it and enter a specific account (
DOMAIN\usernameor.\localusername) and password — use this when the worker must scan network shares that LocalSystem cannot reach. The installer grants the account the "Log on as a service" right automatically.
You can change the account later via Services (services.msc) → diskoverd → Log On tab.
Step 4: Wait for Installation to Complete
The installer performs the following actions automatically:
Installs Python 3.13.14 (bundled — no download) for all users into the vendored path
C:\Program Files\Diskover\python, and adds it to the systemPATHInstalls pip packages offline from the bundled wheel set (no PyPI access needed), then runs the pywin32 post-install so the Python service host is registered correctly
Installs the Diskover build to
C:\Program Files\Diskover\Creates the machine-wide config and log directories under
C:\ProgramData\diskoverd\(config.yaml,logs\) and writes your Web URL intoconfig.yamlRegisters the native Windows service
diskoverd(start type Automatic; auto-restart on failure 3 times at 60-second intervals) under the account you choseSets the service environment (registry
Environmentvalue on the diskoverd service):PYTHONPATH,DISKOVERDDIR=C:\ProgramData\diskoverd, and yourDISKOVER_INTERNAL_API_KEY
Install log: the installer writes
install\diskover_install.log(pluspython_install.log) into the folder you ran the installer from — check there if anything fails. Run the installer from a writable local folder, not a read-only network share.
Post-Installation Configuration
Step 1: Start the Service
The installer registers the service but you start it the first time (Administrator PowerShell):
Start-Service diskoverd # or: sc.exe start diskoverd
Step 2: Verify Service Startup
Get-Service diskoverd # Diskover worker log (log directory is configured in Diskover Admin) Get-Content -Path "C:\ProgramData\diskoverd\logs\diskoverd_subproc_$env:COMPUTERNAME.log" -Tail 25 -Wait
If the service fails to start, check Event Viewer → Windows Logs → Application for events from the diskoverd / Python service source.
Step 3: Configure the Worker in Diskover Admin
Navigate to Diskover Admin > Configuration > DiskoverD — your Windows hostname should appear
Click the hostname and review: Log To File enabled, Log Directory
C:\ProgramData\diskoverd\logs\, Python LocationC:\Program Files\Diskover\python\python.exe, TimezoneSave
Configuration
File |
Location |
Purpose |
|---|---|---|
|
|
Worker configuration — contains the Diskover Web URL for worker registration |
The config directory is machine-wide: the service finds it through the DISKOVERDDIR environment variable set on the service, regardless of which account the service runs as. (This replaces the per-user %APPDATA%\diskoverd\ location used by 2.4.x–2.5.x installers.)
Most Diskover worker configuration (Elasticsearch connection, scan settings, etc.) is managed centrally through Diskover Admin. The worker retrieves these settings automatically via the Diskover Web URL provided during installation.
Note: If you need to change the Diskover Web URL after installation, edit
C:\ProgramData\diskoverd\config.yamland restart the service.
Service Management
The Diskover Task Worker runs as a native Windows service named diskoverd — manage it with standard Windows tooling (Administrator prompt):
Action |
Command |
|---|---|
Start |
|
Stop |
|
Restart |
|
Status |
|
Change Log On account |
|
The service is set to start automatically at boot and to restart itself on failure (3 attempts, 60 seconds apart).
Verification
Check |
How to Verify |
Expected Result |
|---|---|---|
Service running |
|
|
Worker log |
|
Worker started, connected |
Worker registration |
Diskover Admin → Configuration → DiskoverD |
Windows hostname listed |
Task execution |
Diskover Web → Task List → create and run a task assigned to this worker |
Task completes without errors |
Troubleshooting
Issue |
Cause |
Solution |
|---|---|---|
Service fails license check / admin API calls 401 |
Internal API key missing or wrong |
Re-check the |
Service fails to start (error 1053 or "PythonClass" errors) |
pywin32 service host not registered correctly |
Re-run the installer; the pywin32 post-install step registers the service host components |
Service starts but can't scan network shares |
Service runs as LocalSystem, which has no network-share credentials |
Change the service Log On account ( |
Worker cannot connect to Elasticsearch |
Diskover Admin has Elasticsearch set to |
In Diskover Admin, change the Elasticsearch connection from |
|
Windows App Execution Aliases |
Not required for the installer (it uses full paths), but for interactive use disable |
For deeper troubleshooting (manual scans, dependency reinstalls, log management), see Windows: Diskoverd Task-Worker in the Troubleshooting section.
Key File & Directory Locations
Path |
Purpose |
|---|---|
|
Main Diskover installation directory |
|
Diskoverd scanner daemon |
|
Manual scan entry point |
|
Vendored Python 3.13 (all users, on system PATH) |
|
Worker configuration file (machine-wide) |
|
Worker log files |
|
Service registration incl. |
Support
When submitting a support ticket, include:
Diskover version and Windows Task Worker installer version
Windows OS version (
winver)Service status output (
Get-Service diskoverd)The installer log (
install\diskover_install.lognext to the installer) for install-time issuesWorker logs from
C:\ProgramData\diskoverd\logs\The service Log On account configuration
Comments
0 comments
Please sign in to leave a comment.