Command line for scaling in windows settings for deployment

Jaysen_nijland 1 Reputation point
2020-08-12T06:53:01.833+00:00

i want to use a command line to adjust the scale in windows 10 trough a .bat file. and deploy these anyone has an idea? i already use a .bat file for power settings

thank you in advance

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,152 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Castorix31 83,101 Reputation points
    2020-08-12T08:47:23.883+00:00

    Scaling values are stored in registry at
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\GraphicsDrivers\ScaleFactors\%MonitorID%
    and
    HKEY_CURRENT_USER\Control Panel\Desktop\PerMonitorSettings\%MonitorID%

    You can find ps scripts on Google, like : Force 100 DPI Scale.ps1

    (by program (C++, C#, VB.NET, ...), it can be changed instantly with SystemParametersInfo and SPI_SETLOGICALDPIOVERRIDE)

    0 comments No comments

  2. Dale Kudusi 3,226 Reputation points
    2020-08-13T09:11:59.003+00:00

    Hi
    Check out Castorix31’s answer.
    Also option 4 in this link: https://www.tenforums.com/tutorials/5990-change-dpi-scaling-level-displays-windows-10-a.html#option4
    Please note that Windows doesn’t apply this new scaling setting instantly, you may need to sign out and back on to make the changes work.

    Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

    I hope this information above can help you.

    0 comments No comments