Help › In the session › E29
Open a command line during the session
Run single commands (PowerShell, CMD, Bash) on the device without opening a window there — only if the device allows it.
Preview this guide has not yet been clicked through on a real device. Button names and steps come from the program but may differ in details.
- For
- Technician
- Applies to
- Free · Cloud · Own relay
- Controlled device
- Windows · macOS · Linux
- Control from
- Program (Windows, macOS, Linux) · Browser
What it is for
Sometimes one command is quicker than ten clicks: ipconfig, restart a service, list a folder. The remote command line in the session window sends single commands to the device and shows the output — without a window opening at the device. It is meant as an emergency measure and is off by default.
What you need
- Allowed at the device: EinstellungenSicherheit (Settings > Security) → card Zugriffssteuerung (Access control) → switch on Remote-Kommandozeile erlauben (Allow remote command line). Centrally in the console: for the device or the access under Settings → Remote command line via viewer (exec).
- The control right in the session.
- Technician: BrowserDesk on a computer or web access.
How to do it
- In the session bar, menu Verwaltung (Management) → Remote-Kommandozeile (Remote command line). The Remote-Kommandozeile panel opens at the bottom.
- Choose the shell: PowerShell or CMD for Windows devices, Bash or sh for Mac and Linux.
- Type the command into the field "Befehl…" (command) and send it with Enter.
- The output appears above it, errors in red.
- To cancel a running command: Abbrechen (Cancel; in the browser "Stop").
- Close with the X.
How you know it worked
The device's output appears below your command.
Good to know
- One command after another, each on its own — not a session as in a real terminal. Programs that wait for input are not suitable.
- Limits: at most 45 seconds per command and 256 KB of output; after that it is cancelled.
- The command runs with the rights of BrowserDesk on the device.
- Not the same as the remote console: the command line from the console, without a session, is a separate add-on (G11).
If it does not work
| You see | Meaning and fix |
|---|---|
| "Remote-Kommandozeile ist deaktiviert (Host → Sicherheit → „Remote-Kommandozeile erlauben")." (remote command line is disabled) | Switch it on at the device or in the console (see above). |
| "Kein Steuerungsrecht — Kommandozeile nicht verfügbar." (no control right) | You are only watching. Take control (E28). |
| "Es läuft bereits ein Befehl — bitte warten oder abbrechen." (a command is already running) | Wait or Abbrechen. |
| The Verwaltung menu is missing in the program | It only appears for whoever is controlling (E28). |