Change second screen resolution from command line

9,499

NirCmd's SetDisplay command should do what you want:

nircmd setdisplay monitor:2 1600 1200 24
nircmd setdisplay monitor:name2 1600 1200 24
Share:
9,499

Related videos on Youtube

Lemurr
Author by

Lemurr

C# programmer who doesn't really like MVC Web designer, cartoonist

Updated on September 18, 2022

Comments

  • Lemurr
    Lemurr over 1 year

    Is there any way to change resolution of the second screen on my computer, preferably from the command line?

    I've boon looking for software like this, and neither QRes, HotKey Resolution Changer and such but every single one changes resolution only of the first screen. I need just to change resolution to one a little bit lower and immedietaly restore it, just because my monitor often displays error "Out of range", which is pretty annoying doing it from monitor properties.

  • Petr Hudeček
    Petr Hudeček almost 9 years
    If these lines don't work for you, they may start working when you change the color depth from 24 to 32 or 16.
  • Alexander Taubenkorb
    Alexander Taubenkorb about 8 years
    If you need more options (like frequency) see the free the tool I developed: tools.taubenkorb.at/change-screen-resolution