KasTec
User guide
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.

  1. Install KasTec
  2. First sign-in
  3. Let colleagues in
  4. Connect your systems
  5. People, roles and sign-in
  6. Everyday use
  7. Monitoring and alerts
  8. Reports
  9. Your licence
  10. Backups, upgrades and moving
  11. 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.

1
Run KasTec-Setup.exe as an administrator. If Windows says "Windows protected your PC", choose More info, then Run anyway.
2
Keep the suggested folder, 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.
3
Leave Run KasTec in the background ticked. KasTec then starts with Windows and keeps running when nobody is signed in.
4
At the end, KasTec opens in your browser. Later, open it from the KasTec icon in the Start menu.

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:

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:

1
On the KasTec server, open the Start menu and choose KasTec – set up network access. Windows asks for permission.
2
Choose how to get a certificate: a request for your company's own certificate authority (recommended, with no browser warnings on domain PCs), a .pfx file you already have, or KasTec's own.
3
KasTec opens the firewall port (8443 by default) and restarts. Colleagues then open 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.

TypeWhat you enterAccount
Active DirectoryA domain controller, port 636 (LDAPS) and the base DN, e.g. DC=corp,DC=example,DC=comA service account (svc-kastec@corp.example.com); write rights only for unlock and reset
vCenterThe vCenter addressA read-only role, plus VM power if wanted
iDRACEvery iDRAC address that shares the same account, one per lineAn iDRAC user with the Read Only role
SolarWindsThe SolarWinds server (API port 17774)A read-only web console account
VNX storageThe Control Station's addressThe account you use in PuTTY; KasTec only runs commands that read
FortiGateThe management addressA REST API admin with a read-only profile (the form explains how)
KubernetesThe API server from your kubeconfig, port 6443A read-only service account; the form shows the commands that make one
AWSThe 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
AzureNothing 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:

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

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.

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.

KasTec never locks you out. Near your plan's limit you'll see a warning. Over it, you have 30 days to upgrade. After the licence ends, there are 30 days' grace, then the Community edition. Only if your network is bigger than Community covers does KasTec become read-only: every page still opens, and monitoring and alerts keep running.

10. Backups, upgrades and moving

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.

Still stuck? Contact your KasTec supplier. Include a screenshot, and if you can, the newest lines of data\kastec.log.