Install on a Windows host
Prerequisites
Section titled “Prerequisites”- Use x64 Windows. Host mode requires administrator privileges.
- All-in-One requires an AVX2-capable CPU; TSDB-Enterprise and IDMP-Enterprise are not subject to this check.
- Reserve about 8 GB for the
C:\TDengineproduct directory. The installer separately checks for at least 500 MB for Apex program and data directories. - For Host mode, Windows usernames and user directories should use ASCII characters by default. The computer name must always use ASCII characters.
- Check required ports and ensure Defender or third-party antivirus does not quarantine installer files, services, or scripts.
Install
Section titled “Install”- Download
TDengineSetup-x64.exefrom the download center and run it as an administrator. - Choose Next for the recommended quick installation, or choose Custom installation to configure deployment mode, profile, and endpoint.
- Select Host, then choose All-in-One, TSDB-Enterprise, or IDMP-Enterprise.
- IDMP-Enterprise requires an existing TSDB endpoint, for example
192.168.1.20:6041. Do not include thehttp://scheme. - Wait for preflight checks, Apex preparation, and deployment to finish. Record the run ID shown at the end.
TDengineSetup installs program files under C:\Program Files\TDengine\Apex and runtime data under C:\ProgramData\TDengine\Apex. Do not delete ProgramData during an upgrade.
Verify and manage components
Section titled “Verify and manage components”apex versionapex-component-status.ps1apex-component-start.ps1 -Components tsdb,idmpapex-component-stop.ps1 -Components tdgptapex-component-uninstall normally preserves product data. apex-component-purge removes component data, configuration, logs, and residual files; it is destructive. Uninstalling the Apex program with TDengineSetup preserves ProgramData by default.
Custom deployment YAML
Section titled “Custom deployment YAML”The installer accepts /deployment=<path> (also --deployment) only for a native, single-node All-in-One deployment on local transport on Windows x64. The file must include TSDB, IDMP, and TDgpt. This option cannot be combined with conflicting options such as /skip-deploy, /offline, /baseurl, or /idmp-endpoint; the installer validates the YAML at startup.
VC++ runtime handling
Section titled “VC++ runtime handling”The installer checks the actual VC++ DLL version rather than relying only on the installation record. If the runtime is missing or too old, it attempts the bundled runtime installer at most once, silently and without restarting automatically. Exit codes 3010 and 1641 mean Windows must be restarted. Even after exit code 0, the installer checks the DLL version again. Restart Windows and rerun Apex when prompted.
If automatic repair is unavailable or the installer reports a version conflict, the completion screen explains the issue and offers Microsoft’s x64 runtime download: https://aka.ms/vs/17/release/vc_redist.x64.exe. The button opens Microsoft’s download; it does not run the downloaded file. Install or repair the runtime, restart, and rerun the installer. Do not uninstall other VC++ runtime versions. A regular component installation failure is not necessarily a runtime issue; inspect the detailed output using Logs and failure diagnosis.