This is a console app to change the windows display scaling setting via the command line. It supports multiple monitors.
Only the preset display scaling values are supported, such as 100, 125, 150, 175, and so on. Custom display scaling values cannot be used.
This app is a fork of https://github.com/imniko/SetDPI. It provides all of the functionality of the original, but also supports an additional optional argument to restart Explorer and runs on both 32 bit and 64 bit Windows.
- Download the zip file using the link above.
- Extract SetDPI.exe.
- Open a Cmd prompt and run SetDPI.exe with the appropriate arguments.
- Optionally create one or more SetDPI.exe shortcuts for the scaling values you need.
Note: Some antivirus software may falsely detect the download as a virus. This can happen any time you download a new executable and may require extra steps to whitelist the file.
It takes up to 3 arguments, a scale percent value, an optional monitor number (which you can get from windows display settings), and an option to restart Explorer.
SetDPI.exe [DPI scale value] [monitor number] [/e]
If you have only one monitor, or want only the main monitor to change, you can omit the monitor number.
If /e
is provided as the second or third argument, Explorer will be restarted after the scale is set.
To get the current scale setting, replace the scale argument with get
or value
to display the current scaling.
Set main monitor to a scale value of 125: SetDPI 125
Set monitor 2 to a scale value of 125: SetDPI 125 2
Set main monitor to a scale value of 125 and restart Explorer: SetDPI 125 /e
Display the scale of monitor 2: SetDPI get 2
displays Current Resolution: 125
Display the scale of monitor 2: SetDPI value 2
displays 125