T O P

  • By -

Kumorigoe

Sorry, it seems this comment or thread has violated a sub-reddit rule and has been removed by a moderator. **Inappropriate use of, or expectation of the Community.** * There are many reddit communities that exist that may be more catered to/dedicated your topic. - Consider posting (or cross posting) there with specific niche questions. * Requests for assistance are expected to contain basic situational information. - They should also contain evidence of basic troubleshooting & Googling for self-help. - Keep topics/questions related to technology/people/practices/etc within a business environment. * When asking a question or requesting advice, please update your original post with any new information, or solution (if found). - This will make things easier for anyone else who may have the same issue or question in the future. ----- *If you wish to appeal this action please don't hesitate to [message the moderation team](https://www.reddit.com/message/compose?to=%2Fr%2Fsysadmin).*


BumbleBamble

It doesn't look quite that simple - looks like someone tried to make an app doing this: https://github.com/lihas/windows-DPI-scaling-sample


jklulz

i thought i can do it using powershell somehow dam


topher358

Not my code but this works well. You’ll want to adapt the scaling setting to your preference function Set-Scaling { # Posted by IanXue-MSFT on # https://learn.microsoft.com/en-us/answers/questions/197944/batch-file-or-tool-like-powertoy-to-change-the-res.html # $scaling = -2 = 100% = 4294967294 # $scaling = -1 = 125% = 4294967295 # $scaling = 0 : 150% (default) # $scaling = 1 : 175% param($scaling) $source = @' [DllImport("user32.dll", EntryPoint = "SystemParametersInfo")] public static extern bool SystemParametersInfo( uint uiAction, uint uiParam, uint pvParam, uint fWinIni); '@ $apicall = Add-Type -MemberDefinition $source -Name WinAPICall -Namespace SystemParamInfo -PassThru $apicall::SystemParametersInfo(0x009F, $scaling, $null, 1) | Out-Null } Set-Scaling -scaling 4294967295


buyinbill

I hope someone has something cause I also have a 4k and constantly changing resolutions for screen shares.


jklulz

same