CLI reference

UDM includes a command-line interface for use from Command Prompt, PowerShell, Windows Terminal, the Run dialog, scripts, or shortcuts.

Important: Lite includes direct display control. PRO adds commands for profiles, recovery, display naming, and other saved features.

Getting started

Start commands with udm. Many commands can run while the app is closed; UDM performs the action and exits in the background. If UDM is already running, the command can hand off to the existing instance instead of launching a second copy.

Basic examples
udm --help
udm --version
udm --list-displays
udm --list-profiles

Read-only and discovery commands

CommandWhat it does
--helpShow the built-in command-line help
--versionPrint the installed app version
--statusShow runtime status, with display-aware output when combined with a selector
--list-displaysList displays and their key metadata
--list-settingsList visible user settings for your current tier
--list-hotkeysList the visible hotkey rows
--list-profilesList saved profiles Pro
--list-backupsList deleted profiles that can be restored Pro

Choosing which display to target

You can target displays with selectors such as:

  • primary
  • all
  • active
  • index:2
  • serial:...
  • name:"Office Monitor"
  • id:...
Targeting examples
udm --display index:2 --set-primary
udm --display primary --resolution 2560x1440
udm --display name:"Desk OLED" --hdr off

Common direct-control commands

CommandWhat it does
--enable / --disableEnable or disable the target display
--set-primaryMake the target display the primary display
--resolution <WxH>Set the resolution
--refresh <Hz>Set the refresh rate
--orientation <value>Change orientation
--hdr on|off|toggleControl HDR on supported displays
--scale <percent>Set DPI scaling
--brightness <pct> / --contrast <pct> / --dim <pct>Set brightness, contrast, or software dimming, where supported
--sdr-white <pct|+N|-N>Adjust HDR/SDR white level on supported displays
--get-brightnessReport the target display's current brightness/dimming values
--list-color-profilesList available Windows color profiles for the target display, with optional --type sdr|hdr
--color-profile <name>Switch to an existing Windows color profile, with optional --type sdr|hdr
--power on|offPower a display on or off through DDC/CI when supported

Set several properties at once

Use --set to change several properties in one command, similar to Display Properties. It is available in Lite.

Multi-property apply
udm --display primary --set resolution=2560x1440 refresh=144 hdr=off

Topology and layout helpers

CommandWhat it does
--topology extendSwitch to extended desktop mode
--topology cloneSwitch to a cloned setup
--topology internalUse the built-in display only, when available
--topology externalUse external display output only
--identifyShow the identify overlay on your displays (opens GUI).
--properties-open <display>Open the Display Properties window for a specific display
--optionsOpen or focus the Options window
--minimizeOpen UDM minimized, overriding the saved startup preference

Settings, startup, and app helpers

CommandWhat it does
--set-setting key=valueChange one or more visible app settings
--restoredefaultReset settings to defaults
--export-settings <path>Export supported settings, settings-backed hotkeys, and custom hotkeys to readable JSON
--import-settings <path>Import a settings JSON file, with dry-run and JSON output support
--startup-task onEnable Start with Windows
--startup-task offDisable Start with Windows
--upgradeOpen the UDM PRO purchase flow
--updateCheck for app updates

Hotkey and shortcut commands

CommandWhat it does
--set-hotkey <key> <hotkey>Set an application, display, failsafe, profile, or existing custom hotkey binding
--clear-hotkey <key>Clear a hotkey binding where clearing is allowed
--create-shortcut <name>Create a Windows shortcut for UDM arguments, with optional --shortcut-args and --shortcut-location
--create-custom-hotkeyCreate a custom UDM action hotkey Pro
--edit-custom-hotkey / --delete-custom-hotkeyEdit or delete an existing custom hotkey Pro
--list-custom-hotkeysList custom hotkeys and their action previews Pro

Profiles and recovery Pro

CommandWhat it does
--profile <name>Load a saved profile
--save-profile <name>Save the current layout as a profile
--import <path>Import a .udmp file
--export-profile <name> <path>Export a profile
--rename-profile <old> <new>Rename a profile
--delete-profile <name>Delete a profile
--list-backupsList deleted profiles that can be recovered
--restore-backup <index|filename>Restore a deleted profile backup
--failsafe-setCreate your first failsafe from the current layout
--failsafe-updateRefresh the existing failsafe from the current layout
--rename-displaySet or clear a custom display name

Output and scripting flags

FlagUse it for
--jsonMachine-readable output
--quietSuppress normal output and prompts
--interactiveAllow prompts, message boxes, and upgrade UI to appear
--dry-runValidate a command without applying the requested change
--forceOverride certain guardrails for risky or overwrite-style actions
--exitClose a running UDM instance after the command finishes successfully
--force-exitClose a running instance even if the command fails

Creating shortcuts with CLI commands

Built-in shortcut creator: use Create shortcut in the Options window to build Windows shortcuts for UDM commands, display actions, profiles, or .udmp files without manually setting the target and icon. Use Build arguments… when you want UDM to generate the command text for you.

Manual shortcuts still work, and the CLI can create them with --create-shortcut. See Shortcut creation and manual targets in Installation for target and icon details.

Helpful examples

Copy-friendly examples
udm --display index:2 --set-primary
udm --display primary --set resolution=2560x1440 refresh=144 hdr=off
udm --display active --power off
udm --display primary --brightness 70
udm --display name:"Desk OLED" --color-profile "Calibrated" --type hdr
udm --topology internal
udm --profile "Work Layout"
udm "C:\path\to\profile.udmp"
udm --save-profile "Movie Mode"
udm --create-shortcut "Work Layout" --shortcut-args "--profile Work Layout"
udm --create-custom-hotkey "Primary HDR Toggle" --hotkey ^!h --custom-type display --custom-action hdr --custom-target primary --custom-value toggle
udm --export-settings ".\UDM-settings.json"
udm --update --quiet --json
udm --options

Exit codes

CodeMeaning
0Success
1Usage or parse error
2Not found
3Validation or unsupported request
4Requires Pro
5Execution failed
6Conflict or blocked by current state
7Helper or system failure

Recipe mode

UDM can also run JSON recipe files with --run <file>. Recipes stop on the first failed step and can combine display commands, waits, profile actions, and selected UI helpers. UDM validates recipe sources, limits resource use, and requires --force for certain risky sources or operations.

Simple recipe example
{
  "steps": [
    ["--topology", "extend"],
    ["--wait", "1000"],
    ["--display", "primary", "--set", "resolution=2560x1440", "refresh=144"]
  ]
}

You can also pass a .udmp file path directly to UDM, which is especially useful for imported profile files and shortcuts.