具有自訂縮放功能的 RDP 連線(高 DPI)

具有自訂縮放功能的 RDP 連線(高 DPI)

我有兩台電腦都運行 Windows 10 (1909)。

PC 1 有一個4k 27" 螢幕,我已將自訂縮放設定為160%。當我打開與PC 2 的RDP 連接時,它為RDP 連接設定了相同的縮放比例,也設定為160%。但自自上週五以來,它將縮放比例設為 150% 我不知道為什麼?

然後我嘗試了以下設定:

PC 1 160 % --> RDP PC 2 150 % <-- last week this was 160 %
PC 1 100 % --> RDP PC 2 100 %
PC 1 125 % --> RDP PC 2 125 %
PC 1 150 % --> RDP PC 2 150 %
PC 1 170 % --> RDP PC 2 175 % <-- last week this was 170 %
PC 1 175 % --> RDP PC 2 175 % 
PC 1 200 % --> RDP PC 2 200 %

我找不到 RDP 連接的 DPI 值的任何設置,請參閱https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/rdp-files

答案1

當我在 PC2 上將自訂縮放比例設為 160% 並將HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\IgnoreClientDesktopScaleFactor註冊表項設為1時,它會再次起作用。

https://serverfault.com/a/926838/448972

答案2

您所看到的行為是設計使然,因為 Windows 將比例因子捕捉到特定邊界。此變更於 2018 年底進行,旨在解決潛在的架構問題。最新 Windows 版本中的比例因子將調整為:

  • 125%
  • 150%
  • 175%
  • 200%
  • 225%
  • 250%
  • 300%
  • 350%
  • 400%
  • 450%
  • 500%

答案3

更好的解決方案是在記事本中編輯.rdp文件並在任意位置添加此行。這將忽略本地和遠端預設顯示縮放。

desktopscalefactor:i:150

這在 Microsoft 網站上有記錄:https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/rdp-files

您可以選擇任何標準值:100、125、150、175、200

相關內容