> 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/launcher/reference/command-line.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Command-line options

Command-line switches of Devolutions Launcher (Launcher.exe): start options, settings folder, workspace and session selection, and quick connect.

Devolutions Launcher starts from `Launcher.exe`, in `C:\Program Files\Devolutions\Launcher`, and accepts the same command-line switches as Remote Desktop Manager for Windows. Use them in shortcuts and scripts to start Devolutions Launcher minimized, use another settings folder, select a workspace and vault, or open sessions.

```powershell
& "C:\Program Files\Devolutions\Launcher\Launcher.exe" /DataSource:<workspace ID> /Session:<entry ID>
```

* Switches start with `/`, `-` or `--` and aren't case-sensitive.
* When Devolutions Launcher is already running, a new `Launcher.exe` command line isn't run by a second Devolutions Launcher: its switches are handed to the running one, which opens the sessions, and the new process closes. Add `/MultiInstance` to start a separate instance instead.
* An unknown switch gives "Unknown command : {0}". A value without a switch prefix gives "Undefined command : {0}". In both messages, `{0}` is the argument that wasn't recognized. The message is written in the command prompt window that started `Launcher.exe`, not in a Devolutions Launcher window, and Devolutions Launcher then exits without starting.
* A switch that takes a value uses `/Switch:value`. Put the value in quotation marks when it contains spaces: `/ConfigPath:"D:\Launcher settings"`.
* IDs are GUIDs, such as `178c2fda-dab4-4f41-98df-6e3205c0a011`.
* `Launcher.exe /?` lists the switches. Some help texts name Remote Desktop Manager, because the two applications share them.

## Start and close

<table><thead><tr><th width="260">SWITCH</th><th>WHAT IT DOES</th></tr></thead><tbody><tr><td><code>/?</code>, <code>/Help</code></td><td>Displays the help message.</td></tr><tr><td><code>/Silent</code></td><td>Starts Devolutions Launcher minimized in the system tray.</td></tr><tr><td><code>/MultiInstance</code></td><td>Starts a separate instance of Devolutions Launcher, even when one is already running. Without it, only one instance runs, and the command line is handed to the running instance.</td></tr><tr><td><code>/ConfigPath:&#x3C;folder></code></td><td>Uses another settings folder for this start, for portable or multi-instance scenarios. Environment variables are expanded and the folder is created when it doesn't exist. See <a href="https://docs.devolutions.net/launcher/reference/files-and-folders.md">Files, folders, and registry</a>.</td></tr><tr><td><code>/Language:&#x3C;culture></code></td><td>Uses another interface language for this instance only, such as <code>fr</code> or <code>de</code>. The saved language setting doesn't change.</td></tr><tr><td><code>/CloseApp</code></td><td>Closes Devolutions Launcher after the operation is completed.</td></tr><tr><td><code>/CloseOnDisconnect</code></td><td>Closes Devolutions Launcher when the last session is closed.</td></tr><tr><td><code>/Verbose</code></td><td>Shows verbose output with the detailed operation steps.</td></tr><tr><td><code>/Quiet</code></td><td>Suppresses all output except errors.</td></tr></tbody></table>

## Workspace, vault and tree view

<table><thead><tr><th width="260">SWITCH</th><th>WHAT IT DOES</th></tr></thead><tbody><tr><td><code>/DataSource:&#x3C;workspace ID></code></td><td>Selects the workspace with this ID.</td></tr><tr><td><code>/Database:&#x3C;ID></code></td><td>Selects the workspace by its database ID. Alternative to <code>/DataSource</code>.</td></tr><tr><td><code>/Vault:&#x3C;vault ID></code></td><td>Selects the vault with this ID in the workspace.</td></tr><tr><td><code>/Department:&#x3C;name></code></td><td>Filters entries by department.</td></tr><tr><td><code>/Filter:&#x3C;text></code></td><td>Applies a text filter to the tree view of entries.</td></tr><tr><td><code>/DashboardTab:&#x3C;tab></code></td><td>Selects the dashboard tab to display: <code>documentation</code>, <code>tools</code>, <code>automation</code>, <code>remotetools</code> or <code>subconnections</code>.</td></tr></tbody></table>

## Open and close sessions

<table><thead><tr><th width="260">SWITCH</th><th>WHAT IT DOES</th></tr></thead><tbody><tr><td><code>/Session:&#x3C;entry ID>[;&#x3C;entry ID>…]</code></td><td>Opens one or more entries. Separate several IDs with semicolons. Use it with <code>/DataSource</code>.</td></tr><tr><td><code>/Close</code></td><td>Closes the sessions named with <code>/Session</code>.</td></tr><tr><td><code>/OpenConnectionMode:&#x3C;mode></code></td><td>How to open the session: <code>Default</code>, <code>Embedded</code> or <code>External</code>.</td></tr><tr><td><code>/TabTitle:&#x3C;title></code>, <code>/Title:&#x3C;title></code></td><td>Sets the title of the embedded session tab.</td></tr><tr><td><code>/CustomField1:&#x3C;value></code> to <code>/CustomField5:&#x3C;value></code></td><td>Passes a value to custom field 1 to 5 of the entry.</td></tr></tbody></table>

## Quick connect

Quick connect opens a session to a host from a template, without an entry in the vault. The **Disable quick connect** group policy turns it off, from the command line too.

<table><thead><tr><th width="260">SWITCH</th><th>WHAT IT DOES</th></tr></thead><tbody><tr><td><code>/Template:&#x3C;type or template ID></code></td><td>The template used for quick connect, such as <code>RDP</code> or <code>SSH</code>, or a template ID.</td></tr><tr><td><code>/Host:&#x3C;host></code></td><td>The host name or IP address. Required with <code>/Template</code>.</td></tr><tr><td><code>/Port:&#x3C;port></code></td><td>The port number of the connection.</td></tr><tr><td><code>/Username:&#x3C;username></code></td><td>The username used to authenticate.</td></tr><tr><td><code>/Domain:&#x3C;domain></code></td><td>The domain used to authenticate.</td></tr><tr><td><code>/ConnectionFileName:&#x3C;file></code></td><td>Loads the connection settings from a file.</td></tr></tbody></table>

{% hint style="warning" %}
Don't put passwords or passphrases on a command line: other programs and logs on the computer can read command lines. Let Devolutions Launcher take the credentials from the vault or ask for them.
{% endhint %}

## Examples

Open an entry of a workspace:

```powershell
& "C:\Program Files\Devolutions\Launcher\Launcher.exe" /DataSource:178c2fda-dab4-4f41-98df-6e3205c0a011 /Session:474bcbcf-d507-435b-8c0a-a9e868781910
```

Open a quick connect RDP session to a host:

```powershell
& "C:\Program Files\Devolutions\Launcher\Launcher.exe" /DataSource:178c2fda-dab4-4f41-98df-6e3205c0a011 /Template:RDP /Host:server01.example.com
```

Start Devolutions Launcher minimized with a separate settings folder:

```powershell
& "C:\Program Files\Devolutions\Launcher\Launcher.exe" /Silent /ConfigPath:"%USERPROFILE%\LauncherTest"
```

## Messages

<table><thead><tr><th width="320">MESSAGE</th><th>CAUSE</th></tr></thead><tbody><tr><td>"Repository not found."</td><td>The vault ID doesn't match a vault available to the user.</td></tr><tr><td>"Entry not found."</td><td>The entry ID doesn't match an entry the user can see.</td></tr><tr><td>"Hostname needs to be specified with the template"</td><td><code>/Template</code> is used without <code>/Host</code>.</td></tr><tr><td>"Unknown command : {0}"</td><td>The switch doesn't exist, or is misspelled. Written in the command prompt window that started <code>Launcher.exe</code>; Devolutions Launcher then exits without starting.</td></tr><tr><td>"Undefined command : &#x3C;argument>"</td><td>A value is given without a switch prefix (<code>/</code>, <code>-</code> or <code>--</code>), for example a path with spaces not enclosed in quotation marks. Written in the command prompt window that started <code>Launcher.exe</code>; Devolutions Launcher then exits without starting.</td></tr><tr><td>"The hostname cannot be changed through the command-line or protocol handler due to system configuration."</td><td>The command line tries to change the host of an existing entry, and the workspace doesn't allow overriding the host from the command line or a web link.</td></tr></tbody></table>

More messages: [Error messages](https://docs.devolutions.net/launcher/help/troubleshooting/error-messages.md).

## Next

* [Files, folders, and registry](https://docs.devolutions.net/launcher/reference/files-and-folders.md)
* [Deploy Devolutions Launcher silently](https://docs.devolutions.net/launcher/for-administrators/organization/deploy.md)


---

# 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/launcher/reference/command-line.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.
