--- title: Web Console weight: 10 --- The web console is integrated in the RustDesk server Pro, serviced by the `21114` port. Features: - Browse devices - Add/modify users and user groups - Modify device access permissions - Browse device connection logs and the other logs - Update settings - Manage client settings sync strategies - Manage shared address books - Generate custom client build ## Log in The default port of the web console is 21114. Enter `http://:21114` in the browser to enter the console page, as shown in the following figure. The default administrator username/password is `admin`/`test1234`: ![](/docs/en/self-host/rustdesk-server-pro/console/images/console-login.png) If you need HTTPS support, please install a web server such as `Nginx` or use `IIS` for Windows. After logging in please be sure to change the password, select `Settings` in the account menu in the upper right corner to enter the password modification page, as shown in the following figure. You can also create another administrator account and delete this one. You'd better enable email login verification. ![](/docs/en/self-host/rustdesk-server-pro/console/images/console-home.png?v2) Non-administrator users can also login to browse their device and logs, change their user settings. ## Automatic Configs By Clicking on `Windows EXE` you will be able to get the configs for your own RustDesk Server Pro, this will help configure your clients. For Windows clients, you can leave out the custom server configuration and put the configuration information in the `rustdesk.exe` filename instead. As shown above, please go to the console welcome page and click on `Windows EXE`. **Client ≥ 1.1.9 required.** You can use this in conjunction with [client config](https://rustdesk.com/docs/en/self-host/client-configuration/) and [deployment scripts](https://rustdesk.com/docs/en/self-host/client-deployment/) to setup your clients. ## Creating a new user other than the default `admin` user {{% notice note %}} The `Individual` plan does not have this feature. {{% /notice %}} 1. Click on `Users` on the left hand menu. 2. Create another account with `administrator` enabled. 3. Log in with the new administrative account. 4. Delete the `admin` on `Users` page. ## Creating a new user 1. Click on `Users` on the left hand menu. 2. Create a new user. 3. Select what group they should be in (if you need to add new groups please keep reading). ## Add a new Group 1. Click on `Groups` on the left hand menu. 2. Create a new group. 3. Once created you can allow groups access each other, Click `Edit`. 4. Select the relevant groups you want access (it automatically adds them in the corresponding group). ## Setting up multiple relay servers 1. Go to `Settings` on the left hand menu. 2. Click on `Relay` on the submenu. 3. Click `+` next to `Relay Servers`. 4. Enter the Relay server DNS address or IP address in the box which now shows and press Enter. 5. If you have more than one Relay server you can keep clicking `+` and adapt the Geo settings is required (remember and copy your key to the other servers). ## Set or change the license 1. Go to `Settings` on the left hand menu. 2. Click on `License` on the submenu. 3. Click `Edit` and paste in your license code. 4. Click `OK`. ## Viewing Logs On the left hand side click on `Logs`. ## Setup Emails Gmail in this example 1. Go to `Settings` on the left hand menu. 2. Click on `SMTP` on the submenu. 3. Enter the SMTP address `smtp.gmail.com`. 4. Enter the Port 587 in `SMTP Port`. 5. Enter the Gmail account i.e. `myrustdeskserver@gmail.com` in `Mail Account`. 6. Enter your password (you might need an app password). 7. Enter your Gmail account i.e. `myrustdeskserver@gmail.com` in `From`. 8. Click `Check` to save. ## Assign Device Users/Strategies/Device Groups to Devices via Web Console The User is the RustDesk User logged in on the device or assigned to the device by clicking **Edit** next to the device, click in the **User** box and drop-down to select your user. You can also batch assign devices to a user by clicking **More → Assign Devices** in the **User List**. To add a device to a device group, you can click **Edit** next to the device in the **Device List** and change the **Group**, or go to the **Device Groups** list, click on a device group name, and adjust the devices within that group. To assign a strategy to a device, hover over the right side of the **Strategy** list and click **Edit Devices**, **Edit Users**, or **Edit Device Groups** in the menu to add the corresponding devices, user devices, or device group devices to the selected strategy. --- ## API Token You must first go to **Settings → Tokens → Create** and create a token with the required permissions: **Device, Audit Log, User, Group, Strategy, Address Book**. Once created, you can use these tokens via **command line** or **Python CLI** to perform actions with the corresponding permissions. ### Assign via Token from Command Line You can also perform assignments using the RustDesk executable with the `--assign` parameter. This allows assigning users, strategies, address books, or device groups to a device directly from the command line. **Example:** ```bash "C:\Program Files\RustDesk\rustdesk.exe" --assign --token --user_name ``` Supported Parameters | Parameter | Description | RustDesk Server Pro | RustDesk Client | | --------------------------------------- | --------------------------------------- | ------------------- | --------------- | ------------------- | | `--user_name ` | Assign a user to the device | | | | `--strategy_name ` | Assign a strategy to the device | | | | `--address_book_name ` | Assign device to an address book | | | | `--address_book_tag ` | Assign with address book tag | | | | `--address_book_alias ` | Assign with address book alias | 1.5.8 | 1.4.1 | | `--address_book_password ` | Set password for the address book entry | 1.6.6 | 1.4.3 | | `--address_book_note ` | Set note for the address book entry | 1.6.6 | 1.4.3 | | `--device_group_name ` | Assign device to a device group | | | | `--note ` | Add note to the device | 1.6.6 | 1.4.3 | | `--device_username ` | Set the device username | 1.6.6 | 1.4.3 | | `--device_name ` | Set the device name | 1.6.6 | 1.4.3 | The command line on Windows does not have output by default. To get output, please run like this, `"C:\Program Files\RustDesk\rustdesk.exe" ... | more` or `"C:\Program Files\RustDesk\rustdesk.exe" ... | Out-String`, see [here](https://github.com/rustdesk/rustdesk/discussions/6377#discussioncomment-8094952). ### Python CLI Management Tools #### Users Management (`users.py`) **Show help:** `./users.py -h` **View users:** `./users.py --url --token view [--name ] [--group_name ]` **Filters:** `--name`: username `--group_name`: user group **Example:** `./users.py --url https://example.com --token view --group_name admins` **Operations:** view can be replaced with `enable`, `disable`, or `delete`. **Example (disable user):** `./users.py --url https://example.com --token disable --name testuser` --- #### Devices Management (`devices.py`) **Show help:** `./devices.py -h` **View devices:** `./devices.py --url --token view [--id ] [--device_name ] [--user_name ] [--group_name ] [--device_group_name ] [--offline_days ]` **Filters:** `--id`: device ID `--device_name`: device name `--user_name`: assigned user `--group_name`: user group `--device_group_name`: device group `--offline_days`: days offline **Example:** `./devices.py --url https://example.com --token view --user_name mike` **Operations:** view can be replaced with `enable`, `disable`, `delete`, or `assign`. **Example (assign device):** `./devices.py --url https://example.com --token assign --device_name PC01 --assign_to user_name=mike` --- #### Address Book Management (`ab.py`) **Show help:** `./ab.py -h` **View shared address books:** `./ab.py --url --token view-ab [--ab-name ]` **Get personal address book GUID:** `./ab.py --url --token get-personal-ab` **Add a shared address book:** `./ab.py --url --token add-ab --ab-name [--note ] [--password ]` **Update or delete a shared address book:** `./ab.py --url --token update-ab --ab-guid [--ab-update-name ] [--note ]` `./ab.py --url --token delete-ab --ab-guid ` **View peers in an address book:** `./ab.py --url --token view-peer --ab-guid [--peer-id ] [--alias ]` **Add, update, or delete a peer:** `./ab.py --url --token add-peer --ab-guid --peer-id [--alias ] [--note ] [--tags tag1,tag2]` `./ab.py --url --token update-peer --ab-guid --peer-id [--alias ] [--note ] [--tags tag1,tag2]` `./ab.py --url --token delete-peer --ab-guid --peer-id ` **Tags management:** `./ab.py --url --token view-tag --ab-guid ` `./ab.py --url --token add-tag --ab-guid --tag-name [--tag-color 0xFF00FF00]` `./ab.py --url --token update-tag --ab-guid --tag-name --tag-color 0xFFFF0000` `./ab.py --url --token delete-tag --ab-guid --tag-name ` **Access rules management:** `./ab.py --url --token view-rule --ab-guid ` `./ab.py --url --token add-rule --ab-guid [--rule-type user|group|everyone] [--rule-user ] [--rule-group ] --rule-permission ro|rw|full` `./ab.py --url --token update-rule --rule-guid --rule-permission rw` `./ab.py --url --token delete-rule --rule-guid ` **Example (add read-only rule for user "mike"):** `./ab.py --url https://example.com --token add-rule --ab-guid --rule-user mike --rule-permission ro` --- #### Audits (`audits.py`) **Show help:** `./audits.py -h` **View connection audits:** `./audits.py --url --token view-conn [--remote ] [--conn-type ] [--page-size ] [--current ] [--created-at <"YYYY-MM-DD HH:MM:SS">] [--days-ago ]` **View file audits:** `./audits.py --url --token view-file [--remote ] [--page-size ] [--current ] [--created-at <"YYYY-MM-DD HH:MM:SS">] [--days-ago ]` **View alarm audits:** `./audits.py --url --token view-alarm [--device ] [--page-size ] [--current ] [--created-at <"YYYY-MM-DD HH:MM:SS">] [--days-ago ]` **View console audits:** `./audits.py --url --token view-console [--operator ] [--page-size ] [--current ] [--created-at <"YYYY-MM-DD HH:MM:SS">] [--days-ago ]` **Filters:** `--remote`: Peer ID (for connection or file audits) `--conn-type`: 0=Remote Desktop, 1=File Transfer, 2=Port Transfer, 3=View Camera, 4=Terminal `--device`: Device ID (for alarm audits) `--operator`: Operator username (for console audits) `--created-at`: Local time filter, e.g., "2025-09-16 14:15:57" `--days-ago`: Filter records newer than given days ago `--page-size` / `--current`: Pagination **Example:** `./audits.py --url https://example.com --token view-conn --remote 123456789 --days-ago 7` ## Searching for a device 1. Go to Devices. 2. In the Device Name Search Field type in the name and click `Query` or hit Enter. 3. To use a wildcard add `%` at the start, end or both of the search term.