Command line for scaling in windows settings for deployment

Jaysen_nijland 1 Reputation point

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,175 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Castorix31 83,106 Reputation points

    Scaling values are stored in registry at
    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

    Check out Castorix31’s answer.
    Also option 4 in this link:
    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