Getting started
Getting started with KasTec
From installing KasTec to your first alert, in about half an hour. Each section stands on its own, so skip to the part you need.
- Install KasTec
- First sign-in
- Let colleagues in
- Connect your systems
- People, roles and sign-in
- Everyday use
- Monitoring and alerts
- Reports
- Your licence
- Backups, upgrades and moving
- If something's wrong
1. Install KasTec
You need: a Windows server or PC (Windows Server 2016 or later, or Windows 10/11, 64-bit) that can reach your systems, with 2 processor cores, 4 GB of memory and 10 GB of free disk. A small virtual machine is ideal.
C:\KasTec. Avoid the Desktop,
Documents or any OneDrive folder: syncing gets in KasTec's way and would copy its secret files to the cloud.KasTec brings everything it needs with it, including its own copy of Python. Nothing else needs installing.
2. First sign-in
The first time, KasTec shows Welcome to KasTec. Choose the password for the admin account
(at least 8 characters). For safety, this only works in a browser on the KasTec server itself. Anywhere else,
it asks for the setup code in the file C:\KasTec\data\admin_password.
A few short steps follow. You can skip any of them and come back to it in Settings:
- Organisation: your company's name, used on reports and certificate requests.
- Licence: start the 30-day trial, or paste the licence key from your purchase email.
- Network access: whether colleagues can reach KasTec yet (see the next section).
- First connection: add your first system, or look around with demo data first.
3. Let colleagues in
At first, KasTec only answers on the server itself, at http://localhost:8000. To let colleagues use it
from their own PCs, over HTTPS:
.pfx file you already
have, or KasTec's own.https://server-name:8443.If KasTec made its own certificate, colleagues' PCs need to trust it once. Hand out
data\tls\KasTec-CA.cer with Group Policy, or double-click it on each PC.
4. Connect your systems
Open Connections (administrators only). Pick a type, fill in the address and an account, and press Test connection before Save. Passwords are stored encrypted and are never shown again. Read-only accounts are enough for everything except unlocking, password resets and VM power.
| Type | What you enter | Account |
|---|---|---|
| Active Directory | A domain controller, port 636 (LDAPS) and the base DN, e.g. DC=corp,DC=example,DC=com | A service account (svc-kastec@corp.example.com); write rights only for unlock and reset |
| vCenter | The vCenter address | A read-only role, plus VM power if wanted |
| iDRAC | Every iDRAC address that shares the same account, one per line | An iDRAC user with the Read Only role |
| SolarWinds | The SolarWinds server (API port 17774) | A read-only web console account |
| VNX storage | The Control Station's address | The account you use in PuTTY; KasTec only runs commands that read |
| FortiGate | The management address | A REST API admin with a read-only profile (the form explains how) |
| Kubernetes | The API server from your kubeconfig, port 6443 | A read-only service account; the form shows the commands that make one |
| AWS | The regions you use (KasTec reaches *.amazonaws.com, port 443) | An access key for an IAM user with Amazon's ReadOnlyAccess and SecurityAudit policies (plus AWSBillingReadOnlyAccess for the bill); the form explains how |
| Azure | Nothing to open inside your network (KasTec reaches login.microsoftonline.com and management.azure.com, port 443) | An app registration (tenant ID, application ID and a client secret) with the Reader role on your subscriptions (add Cost Management Reader to see costs); the form explains how |
Not ready yet? Tick Demo mode to add a made-up example of any system, then remove it any time.
5. People, roles and sign-in
In Users, add a KasTec account for each colleague and give them a role:
- Administrator: everything, including Connections, Users and the PowerShell page.
- Operator: day-to-day work, such as searching, unlocking, resetting passwords and VM power.
- Help desk: look people up, unlock accounts and reset passwords, nothing else.
In Settings, everyone can set up two-step sign-in with an authenticator app. Administrators can require it for everyone, or turn on Sign in with Microsoft so colleagues use their Microsoft 365 account.
Protected admin accounts (Domain Admins and the like) can't be unlocked or reset with KasTec's own account. KasTec asks an administrator for their own Active Directory sign-in, uses it for that one change, and never stores it.
Self-service password reset (Settings) lets staff unlock themselves or reset a forgotten Windows password with an authenticator app, without calling IT. Privileged accounts are never allowed.
6. Everyday use
- Today lists what needs you right now, such as a locked-out user, an alert or a new device on the network, each with a button to fix it.
- Dashboard gives the overall picture and a health score.
- Search (the box at the top) finds users, groups, computers and VMs everywhere. Press Ctrl+K to jump to any page or action.
- Click any name to open its own page: a person, a server, a VM or a host, with everything KasTec knows about it.
- Pages remember what they read for 30 seconds. Press Refresh for the very latest.
7. Monitoring and alerts
KasTec keeps a history of everything it reads. You'll find it in Metrics, ready-made Dashboards, and the trends on each page.
- Alerts come with sensible rules already, such as a datastore filling up, a host disconnected, a node down or a certificate expiring. Change them, or add your own.
- Set up your mail server once in Settings › E-mail (with a button to send a test). Then, in Alerts › Notifications, choose where alerts go: by email, and/or to a Teams or Slack webhook.
- Security warnings alert you to password spraying, someone added to an admin group, and FortiGate setting changes.
- In Metrics, type a server name or IP address in the formula box to see every reading about it.
- Exporters: if you already run Prometheus exporters (windows_exporter, node_exporter, blackbox or SNMP), add their addresses on the Exporters page. KasTec reads them and keeps their readings in Metrics, under "Other readings", for dashboards and alerts.
- Already run Prometheus or Grafana? In Metrics › Connect Prometheus, an administrator turns on
/metricsand gets a scrape key and a ready-madeprometheus.ymlentry. - Windows servers: for CPU, memory, disk and services on each server, install the small KasTec agent. The Windows servers page explains how (by hand or with Group Policy).
- Certificates warns before website and server certificates expire.
8. Reports
Reports has a monthly report for managers (a PDF that can be emailed automatically each month), and an Active Directory health check: unused admin accounts, passwords that never expire, risky Kerberos settings, old Windows versions, empty groups and more, each with what to do. Reports only read. They never change anything.
9. Your licence
Settings › Licence shows your plan, how many servers and VMs you use, and when the licence renews. To add or renew a key, paste it there.
Without a key, after the 30-day trial, KasTec carries on as the free Community edition: everything for up to 10 servers and VMs, 1 domain and 1 vCenter, without email support or add-ons.
10. Backups, upgrades and moving
- Back up the folder
C:\KasTec\data. It holds all your settings, connections (encrypted), users and history. Include it in your normal server backup. - Upgrade: run the newer KasTec-Setup.exe. It stops KasTec, updates it and starts it again, and your data is kept.
- Move to another server: install KasTec there, stop it, copy your
datafolder over the new one, then restart the server. - Uninstall: Windows Settings › Apps › KasTec. The
datafolder is kept, in case you reinstall.
11. If something's wrong
KasTec doesn't open
Wait a minute after the server starts, then use the KasTec icon again. If it still doesn't open, look at
C:\KasTec\data\kastec.log, and at C:\KasTec\installer\setup.log just after installing.
A connection shows as not answering
Open Connections and press Test. The message says what failed, such as a wrong password, a blocked port or an expired certificate.
Forgotten admin password
On the KasTec server, delete C:\KasTec\data\admin_password.hash and restart the server. Then open
KasTec on the server itself, and the welcome screen lets you choose a new password. Other users, connections and
settings are kept.
A yellow warning about a synced folder
KasTec is inside OneDrive or a similar folder. Move it to C:\KasTec, or reinstall there and copy
the data folder across.
data\kastec.log.