Share via

Automating Display Scale Percentages ?

Anonymous
2024-01-24T20:02:29+00:00

I have been looking for anyone or anywhere where someone could give me the answer to changing multiple monitors scale all at once with no answers so Im trying to ask specifically, can I?

I hurt my back no long ago and moved a recliner as close as I could to where my computer desk is and ive been sitting pretty far back, hard to read whats on my 2 4k 32 inch monitors. I found that going to Windows...Settings...Display...Scale and changing my scale from what is recommended as 150% scale to a 225% scale so i can more easily use my computer from further. And more recently I have been able to sit at my desk for sometimes almost 2 hours and then my back problems hurts me enough that I have to sit in the LazyBoy Recliner. So I have been having to go through that process of changing the scale from one to the other more and more and really need to find the fastest way I can just press a button or type in a command or execute a bath file or shell script or something that changes both of my monitors from a toggle of 150% and 225%. I own an Elgato Stream Deck also which I am planning on creating a button combination to execute whatever the commands i need to use to make this happen Anyone go anything that can help me to make this happen? Thanks for even taking the moment to hear me out.

Windows for home | Windows 11 | Display and graphics

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Rodrigo Queiroz 77,500 Reputation points Independent Advisor
    2024-01-24T23:18:28+00:00

    Hi,

    I'm Rodrigo and I'll help you.

    Use this command line application to change your scale setting for both monitors with a batch file.

    Download SetDPI here:

    https://github.com/imniko/SetDPI/releases/downl...

    Standard Disclaimer: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    Open Notepad to paste the command below (from @echo off) and save the file changing the extension to .bat to create the batch file. You will create 1 .bat file to each Scale setting you want to set.

    File 1 - Scale 150%:

    @echo off

    setdpi.exe 150 1

    setdpi.exe 150 2

    File 1 - Scale 225%:

    @echo off

    setdpi.exe 225 1

    setdpi.exe 225 2

    Place the SetDPI.exe and the batch files in the same folder to work. You can create a shortcut for the batch file and place it anywhere

    2 people found this answer helpful.
    0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Rodrigo Queiroz 77,500 Reputation points Independent Advisor
    2024-01-25T00:38:32+00:00

    Check your PS1 files, you sent the same command lines for the two files.

    0 comments No comments
  2. Anonymous
    2024-01-25T00:36:20+00:00

    It worked. Turned out Stream Deck wont run Batch files but i got them to work with a powershell script

    first file.ps1:

    Start-Process -FilePath "setdpi.exe" -ArgumentList "150 1"

    Start-Process -FilePath "setdpi.exe" -ArgumentList "150 2"

    and second file.ps1 :

    Start-Process -FilePath "setdpi.exe" -ArgumentList "250 1"

    Start-Process -FilePath "setdpi.exe" -ArgumentList "250 2"

    0 comments No comments
  3. Rodrigo Queiroz 77,500 Reputation points Independent Advisor
    2024-01-25T00:25:14+00:00

    I hope it works for you, let me know if you need help configuring it.

    0 comments No comments
  4. Anonymous
    2024-01-24T23:49:28+00:00

    Thank you so much for that information!!! Finally!!!!

    0 comments No comments