Skip to content

Instantly share code, notes, and snippets.

@nebriv
Last active April 15, 2025 20:19
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

@shanekm1
Copy link

This is awesome! Thank you very much. Got a U3824DW today and currently switch between PBP and off is working, but each command takes 12 sec to complete on my Mac M1 Pro.

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

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

is there a way to control witch PC shows up on what side left/right? - i've tried putting HDMI1 as first parameter but doesn't help. Also, if you're on the right side of the screen in PBP and turn off PBP it goes to full screen of the first PC, and NOT the right side one. is there a way to control that?

@mannylouey2013
Copy link

Just wanted to chime in and thank everyone for their efforts in collaborating information. You've all added tremendous value to anyone who owns a DDM compatible display. Being able to switch between devices on my streamdeck is really useful.
Now, if only they had a feature that allowed increasing and decreasing monitor brightness by certain intervals, that would make for a perfect control!

@mictlan74
Copy link

Thanks a bunch for this, I've now successfully set up a way to use my Stream Deck to switch one of my monitors between my work Surface and my desktop machine, using a combination of this and MultiMonitorTool. The only thing I'm still trying to figure out is how to turn the KVM off and on via command-line. Has anyone come across a way to do that?

@shanekm1
Copy link

is there a way to capture output of some of these commends like /ReadActiveInput etc..to Console, not a file

@shanekm1
Copy link

is there a way to capture output of some of these commends like /ReadActiveInput etc..to Console, not a file

@tringenbach
Copy link

https://dl.dell.com/content/manual4985061-dell-display-and-peripheral-manager-version-2-0-0-administration-guide.pdf has documentation for the newest version.

On MacOS, the commands look like:

/Applications/DDPM/DDPM /get -app=DeviceData

Or

/Applications/DDPM/DDPM /get -display=ActiveInputSource

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