0X01
1 | 计算机配置\策略\管理模板\ Windows组件\远程桌面服务\远程桌面会话主机\远程会话环境\限制最大显示分辨率 |
0X02
1 | screen mode id:i:2 |
0X03
0X04
https://4sysops.com/archives/display-rdp-sessions-on-hidpi-monitors/
If the name of the copy is mstsc2.exe, the following .reg file will set the necessary key:
如果拷贝的名称是mstsc2.exe,下面的.reg文件将设置必要的密钥:
更好的解决方案:远程桌面客户端的两个副本。一个启用缩放功能,另一个不启用缩放功能。
让我们创建一个mstsc.exe副本(称为mstsc2.exe),并使用AppCompatFlags禁用mstsc2.exe的HiDPI缩放。这两个可执行文件可以并行存在。每当您要将RDP导入支持HiDPI的设备(即Windows 10系统)时,都可以使用常规的mstsc.exe。但是,如果您要连接到不支持DPI的旧式远程系统,并且想要启用扩展远程主机的分辨率,则可以通过启动mstsc2.exe来实现。在提升的(管理员)cmd外壳中,创建mstsc.exe和mstsc.exe.mui的副本:
1 | cd %systemroot%\system32 |
请注意,该
en-us
部分与安装的语言相对应。对于您来说,这可能有所不同,例如en-gb
或de-de
。现在,为mstsc2.exe的所有用户设置一个AppCompatFlag:
1 | reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /t REG_SZ /v "C:\Windows\System32\mstsc2.exe" /d "~ DPIUNAWARE" /f |
1 | Windows Registry Editor Version 5.00 |
现在,当我启动mstsc2.exe并连接到同一旧版Windows 7远程主机时,扩展问题就消失了:
0X05
https://emedapps.com/2020/07/20/remote-desktop-issues-with-high-definition-displays-on-windows-10/
- 下载“ RDPHighResolutionFix.zip”
- 提取“ RDPHighResolutionFix.zip ”
- 将RDPHighResolutionFix文件夹复制到C:\ Temp
- 使用文件资源管理器,转到C:\ Temp \ RDPHighResolutionFix
- 右键单击EnableRDPHighResolutionFix.bat,然后单击“以管理员身份运行”
- 将出现一个窗口,指出“操作成功完成”
file
RDPHighResolutionFix.b64
1 | UEsDBBQAAAAAAKNJpVAAAAAAAAAAAAAAAAAVAAAAUkRQSGlna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d0aT1KW9O6j+3q34Ex9k+AHZODMfnS805Y3B6La7F4dzdbb+z7U+/heXF/QQIfX5y7THK+PlINp5/A64y/7tlAirx3ep4YXRTcALtEqPX3ezQc/ARQSwECFAAUAAAAAACjSaVQAAAAAAAAAAAAAAAAFQAkAAAAAAAAABAAAAAAAAAAUkRQSGlnaFJlc29sdXRpb25GaXgvCgAgAAAAAAABABgA8IU+S+ci1gHwhT5L5yLWAb80vizmItYBUEsBAhQAFAAAAAgAdUmlUCvhV3rbAAAATAEAADQAJAAAAAAAAAAgAAAAMwAAAFJEUEhpZ2hSZXNvbHV0aW9uRml4L0Rpc2FibGVSRFBIaWdoUmVzb2x1dGlvbkZpeC5iYXQKACAAAAAAAAEAGACa+fkY5yLWAZr5+RjnItYBY1+jElYi1gFQSwECFAAUAAAACABrSaVQ/WDFLvcAAAB4AQAAMwAkAAAAAAAAACAAAABgAQAAUkRQSGlnaFJlc29sdXRpb25GaXgvRW5hYmxlUkRQSGlnaFJlc29sdXRpb25GaXguYmF0CgAgAAAAAAABABgAd4rkDeci1gF3iuQN5yLWAXwMPaRVItYBUEsBAhQAFAAAAAgAnUmlUEGrLoaNAQAAuwMAACUAJAAAAAAAAAAgAAAAqAIAAFJEUEhpZ2hSZXNvbHV0aW9uRml4L0luc3RydWN0aW9ucy50eHQKACAAAAAAAAEAGADfmbZG5yLWAd+ZtkbnItYB9Vzr/FAi1gFQSwECFAAUAAAACAAReqRQLUWCl/sBAABCBQAAKAAkAAAAAAAAACAAAAB4BAAAUkRQSGlnaFJlc29sdXRpb25GaXgvbXRzdHNjLmV4ZS5tYW5pZmVzdAoAIAAAAAAAAQAYAEmNWedQItYBSY1Z51Ai1gHJcCTnUCLWAVBLBQYAAAAABQAFAGMCAAC5BgAAAAA= |
1 | base64 -D RDPHighResolutionFix.b64 --output=RDPHighResolutionFix.zip |
0X06
[
0X07
If you have better suggestions, please send me an email:Jalapeno1868@outlook.com