> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/getting-started/installation/devolutions-server-instance-creation.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Devolutions Server instance creation

Create a Devolutions Server instance with the Devolutions Server Console, using the basic or advanced IIS installation wizard or the Kestrel web server.

{% hint style="info" %}
For more information about the settings of the installation wizard, consult their respective topic under [Devolutions Server settings](https://docs.devolutions.net/server/devolutions-server-console/devolutions-server-settings.md).
{% endhint %}

A Devolutions Server instance on Windows is created with the Devolutions Server Console, hosted either by the IIS web server or by the Kestrel web server. Multiple Devolutions Server instances can be hosted on the same server: with IIS, each instance resides in its own web application. On Linux, see [Install Devolutions Server for Linux](https://docs.devolutions.net/server/knowledge-base/how-to-articles/install-devolutions-server-for-linux.md); with Docker, see [Deploy Devolutions Server with Docker](https://docs.devolutions.net/server/knowledge-base/how-to-articles/devolutions-server-docker-deployment.md).

### IIS web server installation

1. Install the Devolutions Server Console on the web server. It is available from the [Download](https://devolutions.net/server/home/download) page.
2. Start the Devolutions Server Console with elevated privileges: right-click on the application and select ***Run as administrator***.

{% hint style="danger" %}
All operations performed through the Devolutions Server Console are done with the credentials used to launch the Devolutions Server Console. If you must use other credentials, you will need to launch another Windows session. The `RunAs` command does not offer the option of starting a process with elevated privileges. The ***Run as different user*** option can work only if the account is a member of the server's local administrator group.
{% endhint %}

3. This step requires having logged into the Windows Server at least once with a VaultDBOwner account (with local admin rights on the server) connected through Windows authentication. Once this is done, open the Devolutions Server Console and click on ***New*** – ***IIS web server***, then on ***Basic installation*** or ***Advanced installation***. When no instance exists, the instance list also offers to install a new instance. It is also possible to [***Migrate SQL Server workspace***](https://docs.devolutions.net/server/knowledge-base/how-to-articles/migrate-from-sql-server-to-devolutions-server.md) to create an instance from an existing Microsoft SQL Server workspace of Remote Desktop Manager.

When the IIS prerequisites are missing, the Devolutions Server Console first opens the ***Checking IIS prerequisites for installation*** window, where ***Install prerequisites*** installs them. See [Web server prerequisites](https://docs.devolutions.net/server/getting-started/installation/web-server-prerequisites.md).

#### Basic installation

The ***Basic installation*** creates an instance with default settings, on one page with three sections:

* ***Database***: when a SQL Server installation is detected on the machine, the page shows "A SQL installation has been detected. Please enter the SQL information. A database will be created automatically." Enter the ***Database engine*** (***Microsoft SQL Server***, ***PostgreSQL*** or ***SQLite***), the ***Host***, the ***Authentication type***, the ***Username*** and the ***Password***, then click ***Test connection***. When no SQL Server installation is detected, the page shows "No SQL installation has been detected. SQL Express will be automatically installed, and login information will be provided." An internet connection is then required to download SQL Server Express edition and the prerequisites: [IIS Application Request Routing (ARR)](https://www.iis.net/downloads/microsoft/application-request-routing), [IIS URL Rewrite Module](https://www.iis.net/downloads/microsoft/url-rewrite) and the [ASP.NET Core Module (ANCM)](https://dotnet.microsoft.com/en-us/download/dotnet/10.0).
* ***Certificate - A self-signed certificate will be created and used by default***: keep ***Default (Self-signed)***, or select ***Custom*** and enter the certificate ***File*** and its ***Password***. Enter the ***Access URI*** of the instance.
* ***Modules***: check ***Scheduler*** to install the Devolutions Scheduler service, and ***Gateway*** to install Devolutions Gateway.

The ***Advanced installation*** button of the page switches to the advanced installation wizard.

1. Click on ***Install***. A dialog provides the credentials that the installation creates: the ***SQL Express credentials*** (when SQL Server Express is installed), the ***Devolutions Server administrator credentials*** and the ***Encryption key password***. Save them in a file with ***Save as***.
2. Once the installation is successfully completed, the wizard displays the installation summary and automatically opens the default browser on the Devolutions Server web interface.
3. On the Devolutions Server web interface, sign in with the Devolutions Server administrator credentials provided by the installation. A prompt then requests a password change.

#### Advanced installation

The ***Advanced installation*** wizard shows the following pages. Some pages are skipped depending on the database: an existing Devolutions Server database already has its settings and administrator.

1. ***Setting database information***: select the ***Database engine*** and enter the server and database information, then click ***Next***. The user account used to create the database must have sysadmin privileges in the SQL Server instance. On SQL Server, the database is created automatically if it does not exist. For a PostgreSQL database, see [PostgreSQL](https://docs.devolutions.net/server/getting-started/installation/database-setup/database-instance/postgresql.md). For each field, see [Database](https://docs.devolutions.net/server/devolutions-server-console/devolutions-server-settings/database.md).

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>To use <em><strong>Windows authentication</strong></em> to connect to the database, change the <em><strong>Application Pool Identity</strong></em> in the IIS Manager and set the proper permissions of the service account on the database. Consult <a href="https://docs.devolutions.net/server/knowledge-base/how-to-articles/configure-domain-single-sign-on-sso.md">Configure Devolutions Server to use domain single sign-on (SSO)</a>. <a href="https://docs.devolutions.net/server/knowledge-base/knowledge-base-articles/pre-deployment-account-survey.md">Pre-deployment account survey</a> describes the accounts that can be created before deploying Devolutions Server.</p></div>
2. ***General information***: enter a ***Server name*** and a ***Server description***. Check ***Disable telemetry*** to stop sending anonymous usage data to Devolutions. Click ***Next***. This page is skipped for an existing Devolutions Server database.
3. ***Select installation file***: select the ***Installation source***: ***Download version*** (choose the version in the list: the current version, and the beta or extended maintenance version when they differ; ***Show release notes*** displays its release notes) or ***Install from ZIP file*** (a ZIP file from the [Download](https://devolutions.net/server/home/download) page). A downloaded file whose digital signature cannot be verified asks for a confirmation. Click ***Next***.
4. ***Add the missing license files***: shown when the licenses of an existing database must be migrated and some license files are missing. Add the license files, then click ***Next***.
5. ***IIS settings***: under ***General***, select the ***Website*** (or create one with ***Create a new website***: ***Site name*** and binding information), the ***Web application name*** and the [***Access URI***](https://docs.devolutions.net/server/knowledge-base/knowledge-base-articles/access-uri-format.md) used to reach the Devolutions Server web interface, which should be the full FQDN of the server (for example `https://myservername.mydomain.loc/dvls`). Under ***Installation destination***, set the ***Installation folder*** where the instance's files will be located: by default, a folder named after the web application in the folder of the website (`C:\inetpub\wwwroot\dvls` for the default website). Under ***Application pool***, set a ***Name***; ***Configure*** sets the ***Identity type*** of a new application pool. Under ***Security***, the options ***Disable HTTPS***, ***Disable connection string encryption*** and ***Enable client certificate negotiation*** are described in [IIS](https://docs.devolutions.net/server/devolutions-server-console/devolutions-server-settings/iis.md). Click ***Next***.

{% hint style="warning" %}
We do not recommend setting the installation folder to `C:\Program Files`, `C:\Program Files (x86)` or `C:\inetpub`: IIS does not have enough permissions to run web applications located under those folders, which results in unwanted behavior. The installation folder cannot be inside the Devolutions Server Console folder: "You cannot install the Server over the Server Console. Please choose a folder that doesn’t include this path '{0}'." If you set the web application folder in a location other than the default `C:\inetpub\wwwroot` folder, the IIS\_IUSRS built-in local group needs the Read and Read & Execute permissions on the entire Devolutions Server web application folder structure.
{% endhint %}

6. ***Create an administrator user***: under ***Administration credentials***, enter the ***Username***, ***Password***, ***Confirm Password*** and ***Email*** of a Devolutions Server custom administrator account. All fields are required. This page is skipped for an existing Devolutions Server database.

{% hint style="warning" %}
Keep a copy of these credentials in a safe place outside of Devolutions Server: they could prove useful should any issue with the other authentication methods arise. It is a best practice to keep the Devolutions custom login enabled (***Administration*** – ***Server settings*** – ***Authentication***).
{% endhint %}

7. ***Import encryption keys***: shown for an existing Devolutions Server database. Select the encryption keys file in ***Import file*** and enter its ***Password***.
8. ***Scheduler service***: choose the ***Service account*** of the Devolutions Scheduler service: a ***Predefined account*** (***LocalService***, ***NetworkService*** or ***LocalSystem***) or ***This account*** with its ***Password*** and ***Confirm Password***. Use the proper VaultDBScheduler account. The following features depend on the Devolutions Scheduler service: [Backup manager](https://docs.devolutions.net/server/web-interface/administration/backup/backup-manager.md), [Domain users and users groups cache](https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/general/authentication/domain.md), [Microsoft Entra ID users and user groups cache](https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/general/authentication/microsoft-authentication-with-devolutions-server.md), [Email notifications](https://docs.devolutions.net/server/web-interface/administration/configuration/notifications.md), [Cleanup logs](https://docs.devolutions.net/server/web-interface/administration/database-retention-policies.md) and [Privileged Access Management](https://docs.devolutions.net/pam/pam-with-devolutions-server).

{% hint style="info" %}
If the Devolutions Scheduler service fails to start, search the services for ***Devolutions Scheduler*** (`DevolutionsSchedulerService` on older instances), go into ***Properties*** and re-enter the username and password. Usually changing the account during the installation process does not work, in which case Devolutions Server will still be installed with the NetworkService account but will not be able to start. The VaultDBScheduler account must also have read rights on the `encryption.config` file in the `App_Data` folder of the instance (for example `C:\inetpub\wwwroot\dvls\App_Data`).
{% endhint %}

9. ***Devolutions Gateway***: check ***Install Devolutions Gateway*** to install Devolutions Gateway side by side on this machine, then set its source and listeners. This page is skipped when Devolutions Gateway is already installed. See [Install Devolutions Gateway from the Devolutions Server Console](https://docs.devolutions.net/gateway/guides/devolutions-server/install-from-console) for more details.
10. [***Recovery kit***](https://docs.devolutions.net/server/devolutions-server-console/recovery-kit-generation.md): select the ***Location*** of the recovery kit (***None***, ***Local*** or ***Azure Key Vault***), its destination, and a ***Password*** to protect the encryption keys. If ***Include sensitive data*** is checked, the passwords of the database accounts are included in the recovery kit. With ***None***, the wizard warns: "The recovery kit will not be created. The encryption keys included in it could be needed if you have to restore a backup. It is recommended to create it."

{% hint style="success" %}
Keep the recovery kit file and its password in a safe place outside of Devolutions Server: they can later be used to move or restore the database.
{% endhint %}

11. ***Summary***: review the configuration. The page shows the Remote Desktop Manager version required by this Devolutions Server version. Read Devolutions' ***Software License and Subscription Agreement*** (by clicking ***Install***, you confirm that you have read and accepted it), then click ***Install***.
12. Once the installation is complete, a summary indicates whether the Devolutions Server instance has been deployed correctly. Click ***OK*** to close the window.

During the installation, the Devolutions Server Console raises the compatibility level of a SQL Server database to the highest level that the SQL Server supports. The installation fails when the level cannot reach 140 (SQL Server 2017): "SQL Compatibility level must be equal or greater than 140".

The ***Execution mode*** of the wizard can also save the parameters as a [response file](https://docs.devolutions.net/server/devolutions-server-console/open-response-file.md) instead of running the installation.

#### Change Devolutions Server application pool's identity to VaultDBRunner

1. Open IIS Manager, right-click on the dvls application, and click on ***Advanced Settings...***.
2. Under ***Process Model***, click on the ellipsis button next to ***Identity***, choose ***Custom Account***, set your VaultDBRunner information, and click ***OK***.
3. Go to the Devolutions Server Console, then ***Edit*** – ***Database*** – ***Advanced credentials***, click on ***Apply least permissions*** under ***Web application***, and click on ***OK***.

#### Update Devolutions scheduler service account <a href="#update-devolutions-scheduler-service-account" id="update-devolutions-scheduler-service-account"></a>

1. Open ***Services*** on the server where Devolutions Server is hosted.
2. Update the account in the ***Log on*** tab of the Devolutions Scheduler service.
3. Go to the Devolutions Server Console, then ***Edit*** – ***Database*** – ***Advanced credentials***, click on ***Apply least permissions*** under ***Scheduler service***, and click on ***OK***.

#### Import a certificate or create a self-signed certificate <a href="#import-a-certificate-or-create-a-self-signed-certificate" id="import-a-certificate-or-create-a-self-signed-certificate"></a>

1. Open IIS Manager, select the server node in the tree view and double-click the ***Server Certificates*** feature in the list view.
2. Click on ***Import...*** in the ***Actions*** pane, and fill in the required information to import an existing certificate. To create a self-signed certificate, click on ***Create Self-Signed Certificate...***, give it a name and leave the certificate store to ***Personal***.

#### Create a SSL binding <a href="#create-a-ssl-binding" id="create-a-ssl-binding"></a>

1. Select the website in the tree view. Click ***Bindings...*** in the ***Actions*** pane. This opens the binding editor that creates, edits and deletes the bindings of the website.
2. Click ***Add...*** to add the new SSL binding to the site.
3. Select ***https*** in the ***Type*** drop-down list. Select the certificate you imported or created in the ***SSL Certificate*** drop-down list, then click ***OK***.
4. The site now has a new ***SSL*** binding.

#### Test the installation <a href="#test-the-installation" id="test-the-installation"></a>

To test the server installation, navigate to it (for example `https://<machine_name>/<instancename>`) with any web browser, or click on the ***Navigate to the website*** button in the Devolutions Server Console.

{% hint style="success" %}
In some situations, the web page may not load properly. Ensure that the IIS\_IUSRS local built-in group has full read access on the `encryption.config` file located in the `App_Data` subfolder of the Devolutions Server web application folder (for example `C:\inetpub\wwwroot\dvls\App_Data`). If there is still an issue, contact us at <service@devolutions.net>.
{% endhint %}

To test the connection from a client, create a workspace in Remote Desktop Manager. Consult [Configure a client workspace](https://docs.devolutions.net/server/knowledge-base/how-to-articles/configure-a-client-workspace.md) for more information.

### Kestrel web server installation <a href="#kestrel-web-server-installation" id="kestrel-web-server-installation"></a>

Installing Devolutions Server with the Kestrel web server requires fewer dependencies; in particular, IIS does not need to be installed on the machine. In the Devolutions Server Console, click on ***New*** – ***Kestrel web server*** – ***Advanced installation***.

The wizard is similar to the [IIS web server advanced installation](#advanced-installation), with two different pages and no Devolutions Gateway page:

* ***Settings*** replaces ***IIS settings***: instead of an IIS website and web application, enter the ***HTTP listener***, the URL on which the application listens (`https://localhost:5000` by default), and the ***Access URI***, the external URI used to reach the application served on that listener. Set the ***Installation folder*** and the ***Certificate*** of the HTTPS listener: ***Select certificate*** in a Windows certificate store, or ***Generate self-signed certificate***. See [IIS](https://docs.devolutions.net/server/devolutions-server-console/devolutions-server-settings/iis.md) for the other options.
* A service account page sets the account of the Windows service that runs the instance: a ***Predefined account*** or ***This account***. This account is granted read access to the sensitive files of the application, and to the private key of the selected certificate. A dedicated service account is recommended.

Known limitations:

* The application must be served on / (`https://localhost:5000/`).
* Windows authentication is not currently supported under Kestrel.

#### See also <a href="#see-also" id="see-also"></a>

* [Devolutions Academy - Installing Devolutions Server](https://academy.devolutions.net/student/page/2942307-installing-devolutions-server?curriculum_activity_id=4493546\&path_id=2942210\&sid=1f0658ca-fdf5-4f74-a93f-a6a4b8853c09\&sid_i=0)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/server/getting-started/installation/devolutions-server-instance-creation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
