天天看點

Windows Remote Desktop High DPIWindows Remote Desktop High DPI.md

Windows Remote Desktop High DPI.md

0X01

計算機配置\政策\管理模闆\ Windows元件\遠端桌面服務\遠端桌面會話主機\遠端會話環境\限制最大顯示分辨率
           

0X02

screen mode id:i:2
desktopwidth:i:1920
desktopheight:i:1200
           

0X03

mRemoteNG Github

Microsoft Remote Desktop

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的副本:

cd %systemroot%\system32
copy mstsc.exe mstsc2.exe
cd %systemroot%\system32\en-us\
copy mstsc.exe.mui mstsc2.exe.mui
           
請注意,該

en-us

部分與安裝的語言相對應。對于您來說,這可能有所不同,例如

en-gb

de-de

現在,為mstsc2.exe的所有使用者設定一個AppCompatFlag:

reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /t REG_SZ /v "C:\Windows\System32\mstsc2.exe" /d "~ DPIUNAWARE" /f
           
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\\Windows\\System32\\mstsc2.exe"="~ DPIUNAWARE"
           
現在,當我啟動mstsc2.exe并連接配接到同一舊版Windows 7遠端主機時,擴充問題就消失了:

0X05

https://emedapps.com/2020/07/20/remote-desktop-issues-with-high-definition-displays-on-windows-10/

  1. 下載下傳“ RDPHighResolutionFix.zip”
  2. 提取“ RDPHighResolutionFix.zip ”
  3. 将RDPHighResolutionFix檔案夾複制到C:\ Temp
  4. 使用檔案資料總管,轉到C:\ Temp \ RDPHighResolutionFix
  5. 右鍵單擊EnableRDPHighResolutionFix.bat,然後單擊“以管理者身份運作”
  6. 将出現一個視窗,指出**“操作成功完成”**

file

RDPHighResolutionFix.b64

UEsDBBQAAAAAAKNJpVAAAAAAAAAAAAAAAAAVAAAAUkRQSGlnaFJlc29sdXRpb25GaXgvUEsDBBQAAAAIAHVJpVAr4Vd62wAAAEwBAAA0AAAAUkRQSGlnaFJlc29sdXRpb25GaXgvRGlzYWJsZVJEUEhpZ2hSZXNvbHV0aW9uRml4LmJhdHWPzWrDQAyE74Z9B71AEmhvvbXxJoHENNihuezFtbWOYH/CSk7tt68dSKHQXoSGYeaTsLlEiNaqTGVC4hDK/AgLyInrz0ntqLtAiRxdLxQDVE3tKHSwoUFlOIePCS0mPQimULuiDmSRBfY4Tjkfb9iCTdFPoiOWNKqs1FvI9UGfNOz2h8JU75vT+bXUpqAmRY5WzJlCG7/YrPuUMMgHJp7opqIW38Z5wur2H3l1f+Z+m2dhaZY44NI/7BwdyuOo9csPqhpZ0D8/qaxF95dh/FTGv9tm0rXuGeflG1BLAwQUAAAACABrSaVQ/WDFLvcAAAB4AQAAMwAAAFJEUEhpZ2hSZXNvbHV0aW9uRml4L0VuYWJsZVJEUEhpZ2hSZXNvbHV0aW9uRml4LmJhdHWQwWrDMAyG7wG/g15gLdtuOy1r0hW60JKU5WIYbqwkhsQOlrIlbz+nYxuM9SIkJH2/9D9i1TpwdS0iEbHhDiFPjnADqVXnUOxM00KO5LqRjbNQVKoztoGtmUR02T16rNGnE6O3qsuUNTUSwx5niLVGDewCoDHEfhZRnj5DnCSw279ksjhsT2WcpzIzlXfkapalsdp9kNyM3qPlV/QUZGVhND7NS4T1+zXJNUPAvyXlIU9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AAReqRQLUWCl/sBAABCBQAAKAAkAAAAAAAAACAAAAB4BAAAUkRQSGlnaFJlc29sdXRpb25GaXgvbXRzdHNjLmV4ZS5tYW5pZmVzdAoAIAAAAAAAAQAYAEmNWedQItYBSY1Z51Ai1gHJcCTnUCLWAVBLBQYAAAAABQAFAGMCAAC5BgAAAAA=
           
base64 -D RDPHighResolutionFix.b64 --output=RDPHighResolutionFix.zip
           

0X06

[外鍊圖檔轉存失敗,源站可能有防盜鍊機制,建議将圖檔儲存下來直接上傳(img-fIXkSlDS-1620290745346)(https://rmt.ladydaily.com/fetch/ZYGG/storage/20210429022115168150.svg?w=1280&fmt=jpg)]付費遠端桌面管理器

0X07

Windows Remote Desktop High DPIWindows Remote Desktop High DPI.md
Windows Remote Desktop High DPIWindows Remote Desktop High DPI.md

If you have better suggestions, please send me an email:[email protected]

繼續閱讀