Skip to content

Instantly share code, notes, and snippets.

@nebriv
Last active November 7, 2024 14:14
Show Gist options
  • Save nebriv/cb934a3b702346c5988f2aba5ee39f0d to your computer and use it in GitHub Desktop.
Save nebriv/cb934a3b702346c5988f2aba5ee39f0d to your computer and use it in GitHub Desktop.
Dell Display Manager 2.0 command line documentation

Dell Display Manager 2.0 Command Line

Decompiled DLL with ILSpy to identify various commands.

Most commands can be found in DDM2._0_UX.CmdBackground.cmdService_DoWork

Write commands can be prefixed with int:command to specify which monitor to send the command to.

.\DDM.exe /0:writebrightnesslevel 50

Read command output is only shown in the debug console.

Debugging Console

Used to show the output of various read commands

.\DDM.exe /console start

Commands

.\DDM.exe /console start Opens DDM Console

.\DDM.exe /readbrightnesslevel Reads the monitor brightness level

.\DDM.exe /writebrightnesslevel Sets the monitor brightness level

.\DDM.exe /readcontrastlevel Reads the monitor contrast level

.\DDM.exe /writecontrastlevel Sets the monitor contrast level

.\DDM.exe /readcapabilities Read monitor capabilities (in hex)

.\DDM.exe /readsupportedcontrols Read monitor supported controls (in hex)

.\DDM.exe /writecolorpreset Write color presets

.\DDM.exe /readcolorpreset Read color presets

.\DDM.exe /readorientation Read monitor orientation

.\DDM.exe /writeorientation Sets monitor orientation

.\DDM.exe /readmonitoractivehours Read monitor active hours

.\DDM.exe /writeactiveinput

.\DDM.exe /readactiveinput

.\DDM.exe /writepower

.\DDM.exe /writeosdlanguage

.\DDM.exe /osd

.\DDM.exe /readedid

.\DDM.exe /writeuc

.\DDM.exe /readmax

.\DDM.exe /readprivacy

.\DDM.exe /writeprivacy

.\DDM.exe /readfirmwareversion

.\DDM.exe /writevolume

.\DDM.exe /readvolume

.\DDM.exe /autocolorpreset

.\DDM.exe /swapvideo

.\DDM.exe /swapusb

.\DDM.exe /writesubinput

.\DDM.exe /writepxpmode

.\DDM.exe /writepxp

.\DDM.exe /readcontrol

.\DDM.exe /increasecontrol

.\DDM.exe /decreasecontrol

.\DDM.exe /writecontrol

.\DDM.exe /readpossible

.\DDM.exe /autosetup

.\DDM.exe /readmanufactureddate

.\DDM.exe /writemonitorpower

.\DDM.exe /readdisplaymode

.\DDM.exe /writeoptimalresolution

.\DDM.exe /readtiming

.\DDM.exe /readassetattributes

.\DDM.exe /log

.\DDM.exe /savediagnosticreport

.\DDM.exe /assetreport

.\DDM.exe /inventory

.\DDM.exe /surveyonly

.\DDM.exe /readdecodededid

.\DDM.exe /countmonitorsci

.\DDM.exe /monitornumber OR countmonitors

.\DDM.exe /usbpassthrough

.\DDM.exe /lockupdate

.\DDM.exe /noupdate

.\DDM.exe /screennotification

.\DDM.exe /lockrorate

.\DDM.exe /autostartup

.\DDM.exe /powernap

.\DDM.exe /colormanagement

.\DDM.exe /writeapplanguage

.\DDM.exe /telemetry

.\DDM.exe /writeealayout

.\DDM.exe /writeimportpermission

.\DDM.exe /displaymodel

.\DDM.exe /writeloglevel

.\DDM.exe /liveupdate") && ApplicationStartUp.Ota != null)

.\DDM.exe /rescan to refresh the connected devices -Thanks @rtxbae!

Some examples of using the utility on MacOS to enable picture by picture, thanks @sepl2604!

/Applications/DDPM/DDPM.app/Contents/MacOS/DDPM /writepxp pbp-2h-fill USB-C HDMI1 Activate 50-50 PBP

/Applications/DDPM/DDPM.app/Contents/MacOS/DDPM /writepxp off Turn off PBP

@nsathya2010
Copy link

I got the new Dell U4924DW which supports a feature called "Screen Partition". This splits the ultrawide screen into 2 virtual 27" Monitors which is great during Teams meeting to share the desktop.

Does anyone have an idea how to Switch this mode using DDM or CLI? I did not make it happen using DDM but maybe there is some way using CLI (Console)

@heinrichmichael Hey, Did you get the CLI for the same, I am kinda searching for the same. Too much physical navigation..

@rishubn
Copy link

rishubn commented Oct 31, 2024

I have two monitors connected. How to specify I want to switch the input of only one of them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment