S3 - Viewer + Analysis, Single Machine (Windows)
Overview
This guide covers installing CAST Imaging with Viewer and Analysis capability on a single Microsoft Windows machine. Users can run analysis and browse results through the Viewer interface.
What is installed:
| Component | Description |
|---|---|
imaging-services |
Front-end services: gateway, console, auth, SSO, control panel |
imaging-viewer |
Results viewer: ETL, APIs, AI service, Neo4j, server |
analysis-node |
Analysis engine (requires CAST Imaging Core ≥ 8.4 - separate install) |
When to use: Environments that require analysis and result viewing but do not need CAST Dashboards.
The database instance is not included in the Windows installer. A PostgreSQL database must be installed separately (on the same or another machine) before proceeding. See Database server install.
Requirements
Read and understand the following before starting:
CAST recommends disabling Quick Edit mode in your CMD window before running the install script. If Quick Edit is enabled, a mouse click will pause the script until a key is pressed.
Before you start
-
Install the database: Install PostgreSQL on this machine or another machine accessible on the network before starting. See Database server install for instructions.
-
Install CAST Imaging Core: CAST Imaging Core ≥ 8.4 is required on this machine (for the
analysis-nodecomponent). Download and install it before running the global CAST Imaging installer:- Download: com.castsoftware.imaging.core
- Installation instructions: Installing CAST Imaging Core
-
Extend Local Server: If your environment does not permit access to CAST Extend over the internet, you will need to install the Extend Local Server separately before completing this guide.
Step 1 - Download the installation media
Download the latest release of com.castsoftware.imaging.console from CAST Extend and unzip it anywhere on your local disk.
The folder path for the unzipped files must not contain any of the following characters: (, ), or !. The installer will fail if the path contains these characters.
The following files and folders will be created:
tools/(folder)cast-imaging-install.batcast-imaging-remove.batcast-imaging-update.batcomponents-installers.zipconfig-all.confconfig-imaging-services.confconfig-analysis-node.confconfig-imaging-viewer.confconfig-dashboards.conf
Step 2 - Configure the installation
Open config-imaging-services.conf, config-imaging-viewer.conf, and config-analysis-node.conf (at the root of the installation media) in a text editor and update the installation variables.
The same shared variable values must be identical across all *.conf files.
LICENSE_KEY and EXTEND_API_KEY (optional)
To avoid being prompted for the global license key and CAST Extend API key on first login, you can pre-configure these variables in config-imaging-services.conf:
LICENSE_KEY=<your-license-key>
EXTEND_API_KEY=<your-extend-api-key>
See Installation variables for details.
CAST_INSTALLATION_CONF (optional)
By default, the installer stores installation properties in:
%PROGRAMDATA%\CAST\CAST\.install
To use a different location, set the CAST_INSTALLATION_CONF Windows system environment variable to your preferred folder path before running the installer.

Domain mapping (optional)
To isolate imaging-viewer results per domain in dedicated Neo4j databases, you can enable the domain/tenant mapping feature. CAST strongly recommends enabling this now, before any applications are onboarded - enabling it later in an existing installation causes irreversible loss of customizations (tags, saved views, post-it notes, custom objects).
Before running the installer (on the imaging-services machine for multi-machine deployments), create a Windows system environment variable:
- Variable name:
IMAGING_DOMAIN_SYNCHRO_ENABLED - Variable value:
true
See Domain/tenant mapping feature for full details and prerequisites.
Firewall
For a single-machine deployment, open only port 8090 (TCP) inbound if you or your users need to access CAST Imaging from another machine on the network.
Step 3 - Run the installation
Open a CMD window with elevated permissions (right-click, Run as administrator) and run the following commands (one after the other) from the root of the unzipped files:
cast-imaging-install.bat package=imaging-services
cast-imaging-install.bat package=imaging-viewer
cast-imaging-install.bat package=analysis-node
Step 4 - Verify the installation
Check that the following Windows Services are running (12 total):
| Component | Service name | Port(s) |
|---|---|---|
imaging-services |
CAST Imaging Authentication | 8092 |
imaging-services |
CAST Imaging Console Service | 8091 |
imaging-services |
CAST Imaging Control Panel | 2381, 8098 |
imaging-services |
CAST Imaging Gateway Service | 8090 |
imaging-services |
CAST Imaging SSO Service | 8096, 9002 |
imaging-viewer |
CAST Imaging Viewer AI Manager | 8094 |
imaging-viewer |
CAST Imaging Viewer APIs | 8070 |
imaging-viewer |
CAST Imaging Viewer Frontend | 8093 |
imaging-viewer |
CAST Imaging Viewer ETL | 9011 |
imaging-viewer |
CAST Imaging Viewer Backend | 9010 |
imaging-viewer |
CAST Imaging Neo4j Graph Database | 6372, 7483, 7484, 7697 |
analysis-node |
CAST Imaging Analysis Node instance | 8099 |
- All services are set to Automatic start. After a reboot, some services may fail to start because a dependent service has not started quickly enough. See Services startup checker for a tool that ensures all services are running.
- All services run as
LocalSystemunless you have configured a dedicated user via theSTART_AS_USER/START_AS_PASSWORDvariables. See Installation variables and Software requirements.
Step 5 - Initial startup configuration
If you pre-configured LICENSE_KEY and EXTEND_API_KEY, this initialization screen will not be shown.
Browse to:
http://<IMAGING_SERVICES_HOSTNAME>:8090
Log in using the default credentials: admin / admin
Configure the Licensing strategy. Choose one of:
Named Application- each onboarded application requires its own dedicated license keyContributing Developers- a global license key based on the number of contributing developers

You can switch license key strategy after onboarding applications. See Manage your license keys.
Configure CAST Extend settings and Proxy settings:

Verify that all components are available:
http://<IMAGING_SERVICES_HOSTNAME>:8090/admin/services

Step 6 - Configure authentication
Out-of-the-box, CAST Imaging uses Local Authentication (admin/admin) managed by Keycloak.
CAST recommends switching to your enterprise authentication system (LDAP or SAML) before onboarding applications. Access the Keycloak UI using the kcadmin account (or the value of KEYCLOAK_LOGIN_ADMIN_USER if customized during installation). See Authentication for full instructions.