Written For Non-Technical Installers
This guide assumes no prior experience with SQL Server, Windows service accounts, or PowerShell - every technical term is explained the first time it comes up, and every command has the exact thing to type, with a plain-English explanation of what it does and what you should see happen.
If you get stuck partway through, that's normal - installing server software touches several systems at once (a database, Windows, IIS). The If Something Goes Wrong section near the end covers the most common snags in plain language.
Part 0
Vetenari has two moving parts on the server side: a database (where all the data lives) and the application itself (which reads and writes that data). This guide sets up both. Gather these first - most of it means a short conversation with your IT team or DBA before you touch a keyboard.
Vetenari.Api-v0.5.0-windows-service.zip or ...-iis.zip. If you don't have one, you're in the wrong document - this guide starts from an already-built release..lic file issued to your organization; see Installing Your License. If you don't have this yet, get in touch before you start - you can complete the rest of this guide without it, but most of the app won't work until it's installed.If someone's asked you to "set up the DSN," they mean giving Vetenari a way to find and log into its database - that's what the whole of the next section covers. Vetenari doesn't use a classic Windows ODBC DSN specifically; it uses a connection string instead, which does the same job (see the Glossary for the difference) but is typed once during install rather than configured separately in Windows.
Part 1
Vetenari needs somewhere to store its data (a SQL Server database) and a way to prove it's allowed to use it. There are two ways to do the second part - pick one before continuing. If you're not sure which your organization uses, ask your DBA or IT team; the question to ask them is literally "should Vetenari connect with a SQL login, or with a Windows service account?"
Vetenari runs as a dedicated Windows account, and that account's own identity is what SQL Server checks - no password is ever stored in a config file. This is the standard approach for enterprise environments with a domain (Active Directory), and it's what most IT teams will expect for a tool that reads sensitive GRC data.
A username and password created directly on the database server, similar to a normal website login. Works the same way whether or not your organization has a domain, and is quicker to set up if you're not sure about the Windows Service Account path yet.
If your organization has an Active Directory domain, ask IT for a new domain service account dedicated to this application. A short email works:
"Please create a domain service account (e.g. CONTOSO\svc-vetenari) for a new application called Vetenari. It doesn't need to log in interactively or be a member of any special groups - it just needs 'Log on as a service' rights on [name of the server you're installing on], and we'll ask the DBA team to grant it access to a SQL Server database separately."
Send your DBA this script, with the account name IT gave you filled in. This creates a login for that Windows account - nobody types a password for it, SQL Server trusts the Windows identity directly.
-- Run in SQL Server Management Studio, or hand to your DBA CREATE LOGIN [CONTOSO\svc-vetenari] FROM WINDOWS; GO CREATE DATABASE Vetenari; GO USE Vetenari; GO CREATE USER [CONTOSO\svc-vetenari] FOR LOGIN [CONTOSO\svc-vetenari]; GO ALTER ROLE db_owner ADD MEMBER [CONTOSO\svc-vetenari]; GO
Replace CONTOSO\svc-vetenari everywhere with the actual account IT created for you.
Vetenari needs db_owner specifically because it creates and updates its own database tables automatically the first time it starts (and after every update) - a narrower permission would make the app fail to start at all.
Server=SQLSERVER01;Database=Vetenari;Trusted_Connection=True;TrustServerCertificate=True
Replace SQLSERVER01 with the actual database server's name or address. Keep this line handy - you'll paste it into the install command in Part 3.
Pick a password yourself first (or ask your DBA to generate one) - this script creates a dedicated login for Vetenari with that password.
-- Run in SQL Server Management Studio, or hand to your DBA CREATE LOGIN vetenari WITH PASSWORD = 'a strong password here'; GO CREATE DATABASE Vetenari; GO USE Vetenari; GO CREATE USER vetenari FOR LOGIN vetenari; GO ALTER ROLE db_owner ADD MEMBER vetenari; GO
Same reason as Path A: db_owner is needed because Vetenari manages its own database structure automatically.
Server=SQLSERVER01;Database=Vetenari;User Id=vetenari;Password=that password;TrustServerCertificate=True
Replace SQLSERVER01 and that password with your actual values. Keep this line handy for Part 3.
From the machine you're about to install Vetenari on, open PowerShell and run this - replacing the server name with your own. It just checks the network path is open; it doesn't need Vetenari installed yet.
Test-NetConnection -ComputerName SQLSERVER01 -Port 1433
Part 2
Only needed if you chose Path A above. If you're using a SQL Server Login (Path B), skip straight to Installing - there's no Windows-side account setup needed.
You should have a domain account name like CONTOSO\svc-vetenari and its password from Part 1, Step 1. If you don't have these yet, that has to happen before continuing - the install script needs both.
Windows requires an account to have this specific right before it can run as a service. The install script grants it automatically as part of installing (both the Windows Service and IIS paths handle this themselves) - you don't need to do anything here in advance. It's mentioned now only so that if the install step later reports a "logon failure," you'll recognize what it means: see If Something Goes Wrong.
If your organization doesn't have Active Directory, you can create a plain local Windows account instead (Settings → Accounts → Other users → Add account, or ask IT to do it) and refer to it as .\svc-vetenari instead of CONTOSO\svc-vetenari everywhere in this guide. Note that a local account can only use Windows Authentication against a SQL Server running on that same machine - for a database on a separate server, you'll need either a domain account or to fall back to Path B (SQL Server Login) in Part 1.
Part 3
You should now have a connection string from Part 1, and (if you chose Path A) a service account name and password from Part 2. Pick whichever of the two sections below matches the zip file you were given.
Right-click Vetenari.Api-v0.5.0-windows-service.zip and choose Extract All. Anywhere is fine - e.g. C:\Vetenari.
In the extracted folder, hold Shift and right-click an empty space, choose Open PowerShell window here (or Open in Terminal), then confirm it's elevated - if unsure, close it and instead search the Start Menu for "PowerShell", right-click it, choose Run as administrator, then type cd C:\Vetenari (or wherever you extracted to).
If you're using a SQL Server Login (Path B):
.\install-service.ps1 -ConnectionString "Server=SQLSERVER01;Database=Vetenari;User Id=vetenari;Password=...;TrustServerCertificate=True"
If you're using a Windows Service Account (Path A):
.\install-service.ps1 ` -ConnectionString "Server=SQLSERVER01;Database=Vetenari;Trusted_Connection=True;TrustServerCertificate=True" ` -ServiceAccount "CONTOSO\svc-vetenari" ` -ServiceAccountPassword "that account's password"
Paste your own connection string from Part 1 in place of the highlighted text, and (Path A only) your service account name and password.
Paste your finished command and press Enter. Here's what each line means as it appears:
If instead you see a warning about a password prompt for a Breakglass account, that's expected and important - see First Login next, don't close the window yet.
If your organization already runs other websites on this machine, IIS is probably already there. If this is a brand-new server, ask IT to install the Web Server (IIS) Windows feature, then install the .NET Hosting Bundle on top of it (a small, one-time download from Microsoft).
A typical location is C:\inetpub\wwwroot\vetenari-api. Create that folder if it doesn't exist, then extract Vetenari.Api-v0.5.0-iis.zip directly into it.
Same as the Windows Service instructions above - Shift + right-click in the folder, or open PowerShell as administrator and cd into it.
SQL Server Login (Path B):
.\install-iis.ps1 -ConnectionString "Server=SQLSERVER01;Database=Vetenari;User Id=vetenari;Password=...;TrustServerCertificate=True"
Windows Service Account (Path A):
.\install-iis.ps1 ` -ConnectionString "Server=SQLSERVER01;Database=Vetenari;Trusted_Connection=True;TrustServerCertificate=True" ` -ServiceAccount "CONTOSO\svc-vetenari" ` -ServiceAccountPassword "that account's password"
The install script deliberately leaves this to you - it doesn't know which certificate you want to use. In IIS Manager, select the site, choose Bindings, add an https binding, and select your organization's certificate.
Part 4
The very first time Vetenari starts against a brand-new database, it creates one emergency login for itself, called Breakglass, and shows you its password exactly once. This never happens again after the first successful start - treat this step as unmissable.
Right after the "healthy" message in Part 3, if this is a genuinely new database, you'll see a highlighted block containing an email address and a long, random password. The script then asks:
Copy the password into your organization's password manager before typing anything. Once you type "yes", the file holding it is deleted and there is no way to retrieve it again - not even by reinstalling. If you're not certain you've saved it, type anything other than "yes" for now; the file will be left in place until you're sure, but delete it yourself as soon as you've saved the password, since it sits on disk as plain, unprotected text until then.
Open the Vetenari desktop client (or web address, if you're using the browser-based pages), and sign in with the email and password you just saved. This account can see and do everything - that's exactly why it's not meant for daily use.
From the Users page, create a proper Admin account for yourself (or whoever will administer the system day to day), with a password you choose normally. From this point on, sign in with that account for everyday administration, and reserve Breakglass strictly for a genuine emergency (e.g. every Admin account somehow becomes locked out).
Vetenari scopes every record to a department. Create the departments your organization actually has from the Departments page, then create user accounts for your GRC team, assigning each one a department and the modules they need - see the Feature Guide's Access Control section for what each role tier can do.
Part 5
Vetenari needs a license file before most of the app is usable - a small .lic file issued to your organization once you've purchased it, tied to your organization's exact name. If you haven't received one yet, get in touch before continuing.
Using the Breakglass account (or the real Admin account you created in Part 4), open the desktop client, go to Settings, and select the License tab.
Click Install license file... and pick the .lic file. It's plain text - don't open and re-save it in a text editor first, as that can alter it enough to fail verification.
If installing the file fails with "could not be verified," the single most common cause is that the license was issued for a different organization name than the one your Vetenari instance is actually set up under (even a small difference, like a missing "Ltd", is enough) - check what your organization is named in Vetenari and compare it with what you told us when the license was issued, then get in touch if they don't match so a corrected file can be issued.
Part 6
Optional. By default, everyone signs in with an email and password set inside Vetenari itself, and that keeps working forever - you don't need this section at all unless your organization specifically wants people signing in with their existing Microsoft work account instead. The emergency Breakglass account can always sign in locally with its own password no matter what you choose here, even if Entra sign-in is later misconfigured.
This part happens entirely on Microsoft's side, in your organization's Entra tenant, and is the same process any application goes through - it isn't specific to Vetenari, so we'll point you at Microsoft's own instructions rather than duplicate them here: Quickstart: Register an application with the Microsoft identity platform. By the end of it you should have four things written down:
/signin-oidc - for example https://vetenari.yourcompany.com/signin-oidcBack in the desktop client, sign in as Breakglass or Admin, open Settings → Authentication, switch Sign-in mode to EntraId, and fill in the tenant ID, client ID, client secret, and redirect base URL (your server's own address, without the /signin-oidc part) from Step 1. Save.
Switching the sign-in mode itself applies immediately, but if you changed the tenant ID, client ID, or secret, the server needs a restart before those specific values take effect.
Entra sign-in proves who someone is; it doesn't create their Vetenari account for them. Each person signing in with Entra needs an existing Vetenari user (see Part 4, Step 4) whose email address matches their Entra account exactly - create or import those first, or their sign-in will be rejected even though their Microsoft credentials are correct.
Part 7
Most install problems trace back to one of a handful of causes. Find what you're seeing below.
| What you see | What it means | What to do |
|---|---|---|
| Test-NetConnection said "False" (Part 1) | The install machine can't reach the database server at all over the network. | This is a firewall or network configuration issue - hand it to IT. Nothing else in this guide will work until this is fixed. |
| "Login failed for user" during install | Either the SQL login/password is wrong, or (for a Windows Service Account) that account has no matching SQL Server login. | Re-check Part 1's script actually ran successfully against the right server, and that you typed the connection string exactly as your DBA gave it to you. |
| Service or app pool starts, then immediately stops | Almost always a wrong service account password, or the account missing "Log on as a service" (Windows Service) / "Log on as a batch job" (IIS) rights. | Double-check the password you typed. If it's definitely correct, ask IT to check Local Security Policy → User Rights Assignment for that right - a domain Group Policy can occasionally block it from being granted automatically. |
| Install script never says "healthy", just times out | The app started but couldn't finish setting up (usually a database permissions problem, not a network one, since you already confirmed the network path works in Part 1). | Confirm the login was actually granted db_owner in Part 1 - a login that can connect but can't create tables will get stuck exactly like this. |
| I missed the Breakglass password / deleted it by accident | There is currently no way to recover or reset it after the fact. | If you already created a real Admin account (Part 4, Step 3), you're fine - sign in with that instead. If not, the only path is restoring the database from a backup taken before installation, or deleting the Breakglass account's row from the database directly, which causes a new one to be generated on the next restart. |
| (IIS) Site shows a generic error page, no detail | IIS's detailed startup log is off by default. | Open web.config in the install folder, find stdoutLogEnabled under system.webServer/aspNetCore, set it to true, restart the site, reproduce the error, then check the log file that appears in the logs folder next to it. |
| License file won't install ("could not be verified") | Almost always an organization-name mismatch between the license and your Vetenari instance - see Part 5's own note. | Compare your organization's exact name in Vetenari against what was given when the license was issued. If they genuinely match and it still fails, the file may have been altered (e.g. re-saved by a text editor) - get in touch for a fresh copy. |
| "No Vetenari account is provisioned" when signing in with Entra ID | The Entra sign-in succeeded, but no Vetenari user has a matching email address. | Create (or fix the email on) a matching Vetenari user account - see Part 6, Step 3. Entra ID proves identity, it never creates the account itself. |
| Entra sign-in still failing after saving new tenant/client ID or secret | Those three specific values only take effect after a server restart, unlike the Local/EntraId mode switch itself. | Restart the Vetenari service (or app pool, for an IIS install) and try again. |
Reference
Plain-English definitions of every technical term used in this guide.
/health) Vetenari exposes specifically to answer "am I actually working?" - returns "Healthy" when it can reach its database, and something else when it can't. The install scripts check this automatically so you don't have to guess.