# AllUsers setting, which shows as (default)
(Get-ItemProperty "HKCU:\Control Panel\Desktop\WindowMetrics").AppliedDPI
# User's current scaling settings for each monitor
(Get-ItemProperty "HKCU:\Control Panel\Desktop\PerMonitorSettings\*").DpiValue
# AppliedDPI shows the "Default" scaling setting on a system level like:
96 : 100%
120 : 125%
144 : 150%
192 : 200% # (my default)
# DpiValue shows how many steps up or down *from Default* the current user's scaling setting is.
# For example on my machine:
DpiValue : 2 # +2 = 250%
DpiValue : 0 # +0 = 200% (default)
DpiValue : 4294967294 # -1 = 150%
DpiValue : 4294967292 # -3 = 100%
文本缩放:存储在这两个用户注册表值中:
显示器布局:
屏幕分辨率:使用
AllScreens
上面的枚举,或其中之一: